BaciTestClassImpl − |
#include <baciTestClassImpl.h> Inherits baci::CharacteristicComponentImpl, baci::ActionImplementator, baci::CharacteristicComponentImpl, and baci::ActionImplementator. |
Public Member Functions |
BaciTestClassImpl (const ACE_CString &name, maci::ContainerServices *, bool monitoring=true) |
virtual ~BaciTestClassImpl () |
virtual baci::ActionRequest invokeAction (int function, baci::BACIComponent *component_p, const int &callbackID, const CBDescIn &descIn, baci::BACIValue *value, Completion &completion, CBDescOut &descOut) |
virtual baci::ActionRequest onAction (baci::BACIComponent *component_p, int callbackID, const CBDescIn &descIn, baci::BACIValue *value, Completion &completion, CBDescOut &descOut) |
virtual baci::ActionRequest offAction (baci::BACIComponent *component_p, int callbackID, const CBDescIn &descIn, baci::BACIValue *value, Completion &completion, CBDescOut &descOut) |
virtual baci::ActionRequest resetAction (baci::BACIComponent *component_p, int callbackID, const CBDescIn &descIn, baci::BACIValue *value, Completion &completion, CBDescOut &descOut) |
virtual void shutdown () |
virtual void on (ACS::CBvoid_ptr cb, const ACS::CBDescIn &desc) |
virtual void off (ACS::CBvoid_ptr cb, const ACS::CBDescIn &desc) |
virtual void reset (ACS::CBvoid_ptr cb, const ACS::CBDescIn &desc) |
virtual void turnOnMonitoring () |
virtual void turnOffMonitoring () |
virtual CORBA::Boolean isPropertiesMonitoringActive () |
virtual ACS::RWdouble_ptr RWdoubleWithErrorDevIOProp () |
virtual ACS::RWdouble_ptr RWdoubleWithDevIOProp () |
virtual ACS::RWdouble_ptr RWdoubleProp () |
virtual ACS::ROdouble_ptr ROdoubleProp () |
virtual ACS::RWfloat_ptr RWfloatProp () |
virtual ACS::ROfloat_ptr ROfloatProp () |
virtual ACS::RWlong_ptr RWlongProp () |
virtual ACS::ROlong_ptr ROlongProp () |
virtual ACS::ROpattern_ptr ROpatternProp () |
virtual ACS::RWpattern_ptr RWpatternProp () |
virtual ACS::ROstring_ptr ROstringProp () |
virtual ACS::RWstring_ptr RWstringProp () |
virtual ACS::RWdoubleSeq_ptr RWdoubleSeqProp () |
virtual ACS::ROdoubleSeq_ptr ROdoubleSeqProp () |
virtual ACS::RWfloatSeq_ptr RWfloatSeqProp () |
virtual ACS::ROfloatSeq_ptr ROfloatSeqProp () |
virtual ACS::RWlongSeq_ptr RWlongSeqProp () |
virtual ACS::ROlongSeq_ptr ROlongSeqProp () |
BaciTestClassImpl (const ACE_CString &name, maci::ContainerServices *, bool monitoring=true) |
virtual ~BaciTestClassImpl () |
virtual baci::ActionRequest invokeAction (int function, baci::BACIComponent *component_p, const int &callbackID, const CBDescIn &descIn, baci::BACIValue *value, Completion &completion, CBDescOut &descOut) |
virtual baci::ActionRequest onAction (baci::BACIComponent *component_p, int callbackID, const CBDescIn &descIn, baci::BACIValue *value, Completion &completion, CBDescOut &descOut) |
virtual baci::ActionRequest offAction (baci::BACIComponent *component_p, int callbackID, const CBDescIn &descIn, baci::BACIValue *value, Completion &completion, CBDescOut &descOut) |
virtual baci::ActionRequest resetAction (baci::BACIComponent *component_p, int callbackID, const CBDescIn &descIn, baci::BACIValue *value, Completion &completion, CBDescOut &descOut) |
virtual void shutdown () |
virtual void on (ACS::CBvoid_ptr cb, const ACS::CBDescIn &desc) |
virtual void off (ACS::CBvoid_ptr cb, const ACS::CBDescIn &desc) |
virtual void reset (ACS::CBvoid_ptr cb, const ACS::CBDescIn &desc) |
virtual void turnOnMonitoring () |
virtual void turnOffMonitoring () |
virtual CORBA::Boolean isPropertiesMonitoringActive () |
virtual ACS::RWdouble_ptr RWdoubleWithErrorDevIOProp () |
virtual ACS::RWdouble_ptr RWdoubleWithDevIOProp () |
virtual ACS::RWdouble_ptr RWdoubleProp () |
virtual ACS::ROdouble_ptr ROdoubleProp () |
virtual ACS::RWfloat_ptr RWfloatProp () |
virtual ACS::ROfloat_ptr ROfloatProp () |
virtual ACS::RWlong_ptr RWlongProp () |
virtual ACS::ROlong_ptr ROlongProp () |
virtual ACS::ROpattern_ptr ROpatternProp () |
virtual ACS::RWpattern_ptr RWpatternProp () |
virtual ACS::ROstring_ptr ROstringProp () |
virtual ACS::RWstring_ptr RWstringProp () |
virtual ACS::RWdoubleSeq_ptr RWdoubleSeqProp () |
virtual ACS::ROdoubleSeq_ptr ROdoubleSeqProp () |
virtual ACS::RWfloatSeq_ptr RWfloatSeqProp () |
virtual ACS::ROfloatSeq_ptr ROfloatSeqProp () |
virtual ACS::RWlongSeq_ptr RWlongSeqProp () |
virtual ACS::ROlongSeq_ptr ROlongSeqProp () |
Private Types |
typedef baci::ActionRequest(BaciTestClassImpl::* ActionFunction )(baci::BACIComponent *component_p, int callbackID, const CBDescIn &descIn, baci::BACIValue *value, Completion &completion, CBDescOut &descOut) |
typedef baci::ActionRequest(BaciTestClassImpl::* ActionFunction )(baci::BACIComponent *component_p, int callbackID, const CBDescIn &descIn, baci::BACIValue *value, Completion &completion, CBDescOut &descOut) |
Private Attributes |
bool m_shutdown |
Is manager shutting down? |
ActionFunction m_actions [3] |
Array of actions. |
baci::SmartPropertyPointer< baci::RWdouble > m_RWdoubleWithErrorDevIOProp_sp |
The smart pointers for (other) properties. |
baci::SmartPropertyPointer< baci::RWdouble > m_RWdoubleWithDevIOProp_sp |
baci::SmartPropertyPointer< baci::ROdouble > m_ROdoubleProp_sp |
baci::SmartPropertyPointer< baci::RWdouble > m_RWdoubleProp_sp |
baci::SmartPropertyPointer< baci::ROfloat > m_ROfloatProp_sp |
baci::SmartPropertyPointer< baci::RWfloat > m_RWfloatProp_sp |
baci::SmartPropertyPointer< baci::ROlong > m_ROlongProp_sp |
baci::SmartPropertyPointer< baci::RWlong > m_RWlongProp_sp |
baci::SmartPropertyPointer< baci::ROpattern > m_ROpatternProp_sp |
baci::SmartPropertyPointer< baci::RWpattern > m_RWpatternProp_sp |
baci::SmartPropertyPointer< baci::ROstring > m_ROstringProp_sp |
baci::SmartPropertyPointer< baci::RWstring > m_RWstringProp_sp |
baci::SmartPropertyPointer< baci::ROdoubleSeq > m_ROdoubleSeqProp_sp |
baci::SmartPropertyPointer< baci::RWdoubleSeq > m_RWdoubleSeqProp_sp |
baci::SmartPropertyPointer< baci::ROfloatSeq > m_ROfloatSeqProp_sp |
baci::SmartPropertyPointer< baci::RWfloatSeq > m_RWfloatSeqProp_sp |
baci::SmartPropertyPointer< baci::ROlongSeq > m_ROlongSeqProp_sp |
baci::SmartPropertyPointer< baci::RWlongSeq > m_RWlongSeqProp_sp |
This test class provides 4 methods: shutdown, on, off and reset. It also provides one property per each type supported |
typedef baci::ActionRequest(BaciTestClassImpl::* BaciTestClassImpl::ActionFunction)(baci::BACIComponent *component_p, int callbackID, const CBDescIn &descIn, baci::BACIValue *value, Completion &completion, CBDescOut &descOut) [private] Definition of ActionFunction (member function of PowerSupply class) |
typedef baci::ActionRequest(BaciTestClassImpl::* BaciTestClassImpl::ActionFunction)(baci::BACIComponent *component_p, int callbackID, const CBDescIn &descIn, baci::BACIValue *value, Completion &completion, CBDescOut &descOut) [private] Definition of ActionFunction (member function of PowerSupply class) |
BaciTestClassImpl::BaciTestClassImpl (const ACE_CString & name, maci::ContainerServices *, bool monitoring = true) |
virtual BaciTestClassImpl::~BaciTestClassImpl () [virtual] Destructor |
BaciTestClassImpl::BaciTestClassImpl (const ACE_CString & name, maci::ContainerServices *, bool monitoring = true) |
virtual BaciTestClassImpl::~BaciTestClassImpl () [virtual] Destructor |
virtual baci::ActionRequest BaciTestClassImpl::invokeAction (int function, baci::BACIComponent * component_p, const int & callbackID, const CBDescIn & descIn, baci::BACIValue * value, Completion & completion, CBDescOut & descOut) [virtual] Action dispatcher function |
Parameters: |
function action funtion to be invoked |
Returns: |
request to be performed by BACI |
• |
reqNone - do nothing (action will be kept in queue) |
||
• |
reqInvokeWorking - invoke <type>Callback::working |
||
• |
reqInvokeDone - invoke <type>Callback::done and destroy callback |
||
• |
reqDestroy - destroy callback (callback should has been called already by function) |
Implements baci::ActionImplementator. |
virtual baci::ActionRequest BaciTestClassImpl::invokeAction (int function, baci::BACIComponent * component_p, const int & callbackID, const CBDescIn & descIn, baci::BACIValue * value, Completion & completion, CBDescOut & descOut) [virtual] Action dispatcher function |
Parameters: |
function action funtion to be invoked |
Returns: |
request to be performed by BACI |
• |
reqNone - do nothing (action will be kept in queue) |
||
• |
reqInvokeWorking - invoke <type>Callback::working |
||
• |
reqInvokeDone - invoke <type>Callback::done and destroy callback |
||
• |
reqDestroy - destroy callback (callback should has been called already by function) |
Implements baci::ActionImplementator. |
virtual CORBA::Boolean BaciTestClassImpl::isPropertiesMonitoringActive () [virtual] Check the status of the monitoring thread and logs it |
virtual CORBA::Boolean BaciTestClassImpl::isPropertiesMonitoringActive () [virtual] Check the status of the monitoring thread and logs it |
virtual void BaciTestClassImpl::off (ACS::CBvoid_ptr cb, const ACS::CBDescIn & desc) [virtual] Switches off the power supply. A callback is used to inform the caller when the action is performed. |
Parameters: |
callBack callback when action has finished |
virtual void BaciTestClassImpl::off (ACS::CBvoid_ptr cb, const ACS::CBDescIn & desc) [virtual] Switches off the power supply. A callback is used to inform the caller when the action is performed. |
Parameters: |
callBack callback when action has finished |
virtual baci::ActionRequest BaciTestClassImpl::offAction (baci::BACIComponent * component_p, int callbackID, const CBDescIn & descIn, baci::BACIValue * value, Completion & completion, CBDescOut & descOut) [virtual] |
virtual baci::ActionRequest BaciTestClassImpl::offAction (baci::BACIComponent * component_p, int callbackID, const CBDescIn & descIn, baci::BACIValue * value, Completion & completion, CBDescOut & descOut) [virtual] |
virtual void BaciTestClassImpl::on (ACS::CBvoid_ptr cb, const ACS::CBDescIn & desc) [virtual] Switches on the power supply. A callback is used to inform the caller when the action is performed. |
Parameters: |
callBack callback when action has finished |
virtual void BaciTestClassImpl::on (ACS::CBvoid_ptr cb, const ACS::CBDescIn & desc) [virtual] Switches on the power supply. A callback is used to inform the caller when the action is performed. |
Parameters: |
callBack callback when action has finished |
virtual baci::ActionRequest BaciTestClassImpl::onAction (baci::BACIComponent * component_p, int callbackID, const CBDescIn & descIn, baci::BACIValue * value, Completion & completion, CBDescOut & descOut) [virtual] |
virtual baci::ActionRequest BaciTestClassImpl::onAction (baci::BACIComponent * component_p, int callbackID, const CBDescIn & descIn, baci::BACIValue * value, Completion & completion, CBDescOut & descOut) [virtual] |
virtual void BaciTestClassImpl::reset (ACS::CBvoid_ptr cb, const ACS::CBDescIn & desc) [virtual] Resets the power supply. A callback is used to inform the caller when the action is performed. |
Parameters: |
callBack callback when action has finished |
virtual void BaciTestClassImpl::reset (ACS::CBvoid_ptr cb, const ACS::CBDescIn & desc) [virtual] Resets the power supply. A callback is used to inform the caller when the action is performed. |
Parameters: |
callBack callback when action has finished |
virtual baci::ActionRequest BaciTestClassImpl::resetAction (baci::BACIComponent * component_p, int callbackID, const CBDescIn & descIn, baci::BACIValue * value, Completion & completion, CBDescOut & descOut) [virtual] |
virtual baci::ActionRequest BaciTestClassImpl::resetAction (baci::BACIComponent * component_p, int callbackID, const CBDescIn & descIn, baci::BACIValue * value, Completion & completion, CBDescOut & descOut) [virtual] |
virtual ACS::ROdouble_ptr BaciTestClassImpl::ROdoubleProp () [virtual] Property ROdoubleProp is the ROdoubleProp of the actual setting of the power supply. |
virtual ACS::ROdouble_ptr BaciTestClassImpl::ROdoubleProp () [virtual] Property ROdoubleProp is the ROdoubleProp of the actual setting of the power supply. |
virtual ACS::ROdoubleSeq_ptr BaciTestClassImpl::ROdoubleSeqProp () [virtual] Property ROdoubleSeqProp is the ROdoubleSeqProp of the actual setting of the power supply. |
virtual ACS::ROdoubleSeq_ptr BaciTestClassImpl::ROdoubleSeqProp () [virtual] Property ROdoubleSeqProp is the ROdoubleSeqProp of the actual setting of the power supply. |
virtual ACS::ROfloat_ptr BaciTestClassImpl::ROfloatProp () [virtual] Property ROfloatProp is the ROfloatProp of the actual setting of the power supply. |
virtual ACS::ROfloat_ptr BaciTestClassImpl::ROfloatProp () [virtual] Property ROfloatProp is the ROfloatProp of the actual setting of the power supply. |
virtual ACS::ROfloatSeq_ptr BaciTestClassImpl::ROfloatSeqProp () [virtual] Property ROfloatSeqProp is the ROfloatSeqProp of the actual setting of the power supply. |
virtual ACS::ROfloatSeq_ptr BaciTestClassImpl::ROfloatSeqProp () [virtual] Property ROfloatSeqProp is the ROfloatSeqProp of the actual setting of the power supply. |
virtual ACS::ROlong_ptr BaciTestClassImpl::ROlongProp () [virtual] Property ROlongProp is the ROdoubleProp of the actual ’RWlongProp’ of the power supply. |
virtual ACS::ROlong_ptr BaciTestClassImpl::ROlongProp () [virtual] Property ROlongProp is the ROdoubleProp of the actual ’RWlongProp’ of the power supply. |
virtual ACS::ROlongSeq_ptr BaciTestClassImpl::ROlongSeqProp () [virtual] Property ROlongSeqProp is the ROlongSeqProp of the actual ’RWlongSeqProp’ of the power supply. |
virtual ACS::ROlongSeq_ptr BaciTestClassImpl::ROlongSeqProp () [virtual] Property ROlongSeqProp is the ROlongSeqProp of the actual ’RWlongSeqProp’ of the power supply. |
virtual ACS::ROpattern_ptr BaciTestClassImpl::ROpatternProp () [virtual] Property ROpatternProp contains the actual ROpatternProp of the power supply. |
virtual ACS::ROpattern_ptr BaciTestClassImpl::ROpatternProp () [virtual] Property ROpatternProp contains the actual ROpatternProp of the power supply. |
virtual ACS::ROstring_ptr BaciTestClassImpl::ROstringProp () [virtual] Property ROstringProps contains a test ROstringProp string |
virtual ACS::ROstring_ptr BaciTestClassImpl::ROstringProp () [virtual] Property ROstringProps contains a test ROstringProp string |
virtual ACS::RWdouble_ptr BaciTestClassImpl::RWdoubleProp () [virtual] Property RWdoubleProps contains the actual RWdoubleProp of the power supply. |
virtual ACS::RWdouble_ptr BaciTestClassImpl::RWdoubleProp () [virtual] Property RWdoubleProps contains the actual RWdoubleProp of the power supply. |
virtual ACS::RWdoubleSeq_ptr BaciTestClassImpl::RWdoubleSeqProp () [virtual] Property RWdoubleSeqProps contains the actual RWdoubleSeqProp of the power supply. |
virtual ACS::RWdoubleSeq_ptr BaciTestClassImpl::RWdoubleSeqProp () [virtual] Property RWdoubleSeqProps contains the actual RWdoubleSeqProp of the power supply. |
virtual ACS::RWdouble_ptr BaciTestClassImpl::RWdoubleWithDevIOProp () [virtual] Property RWdoubleProps contains the actual RWdoubleWithDevIOProp of the power supply. |
virtual ACS::RWdouble_ptr BaciTestClassImpl::RWdoubleWithDevIOProp () [virtual] Property RWdoubleProps contains the actual RWdoubleWithDevIOProp of the power supply. |
virtual ACS::RWdouble_ptr BaciTestClassImpl::RWdoubleWithErrorDevIOProp () [virtual] Property RWdoubleProps contains the actual RWdoubleWithErrorDevIOProp of the power supply. |
virtual ACS::RWdouble_ptr BaciTestClassImpl::RWdoubleWithErrorDevIOProp () [virtual] Property RWdoubleProps contains the actual RWdoubleWithErrorDevIOProp of the power supply. |
virtual ACS::RWfloat_ptr BaciTestClassImpl::RWfloatProp () [virtual] Property RWfloatProps contains the actual RWfloatProp of the power supply. |
virtual ACS::RWfloat_ptr BaciTestClassImpl::RWfloatProp () [virtual] Property RWfloatProps contains the actual RWfloatProp of the power supply. |
virtual ACS::RWfloatSeq_ptr BaciTestClassImpl::RWfloatSeqProp () [virtual] Property RWfloatSeqProps contains the actual RWfloatSeqProp of the power supply. |
virtual ACS::RWfloatSeq_ptr BaciTestClassImpl::RWfloatSeqProp () [virtual] Property RWfloatSeqProps contains the actual RWfloatSeqProp of the power supply. |
virtual ACS::RWlong_ptr BaciTestClassImpl::RWlongProp () [virtual] Property RWlongProp contains the actual ’RWlongProp’ of the power supply. |
virtual ACS::RWlong_ptr BaciTestClassImpl::RWlongProp () [virtual] Property RWlongProp contains the actual ’RWlongProp’ of the power supply. |
virtual ACS::RWlongSeq_ptr BaciTestClassImpl::RWlongSeqProp () [virtual] Property RWlongSeqProp contains the actual ’RWlongSeqProp’ of the power supply. |
virtual ACS::RWlongSeq_ptr BaciTestClassImpl::RWlongSeqProp () [virtual] Property RWlongSeqProp contains the actual ’RWlongSeqProp’ of the power supply. |
virtual ACS::RWpattern_ptr BaciTestClassImpl::RWpatternProp () [virtual] Property RWpatternProp contains the actual RWpatternProp of the power supply. |
virtual ACS::RWpattern_ptr BaciTestClassImpl::RWpatternProp () [virtual] Property RWpatternProp contains the actual RWpatternProp of the power supply. |
virtual ACS::RWstring_ptr BaciTestClassImpl::RWstringProp () [virtual] Property RWstringProps contains a test RWstringProp string |
virtual ACS::RWstring_ptr BaciTestClassImpl::RWstringProp () [virtual] Property RWstringProps contains a test RWstringProp string |
virtual void BaciTestClassImpl::shutdown () [virtual] Servant shutdown request function |
virtual void BaciTestClassImpl::shutdown () [virtual] Servant shutdown request function |
virtual void BaciTestClassImpl::turnOffMonitoring () [inline, virtual] Method to turn monitoring off from a remote client |
References ACSErr::ErrorTraceHelper::log(), and baci::CharacteristicComponentImpl::stopPropertiesMonitoring(). |
virtual void BaciTestClassImpl::turnOffMonitoring () [inline, virtual] Method to turn monitoring off from a remote client |
References ACSErr::ErrorTraceHelper::log(), and baci::CharacteristicComponentImpl::stopPropertiesMonitoring(). |
virtual void BaciTestClassImpl::turnOnMonitoring () [inline, virtual] Method to turn monitoring on from a remote client |
References ACSErr::ErrorTraceHelper::log(), and baci::CharacteristicComponentImpl::startPropertiesMonitoring(). |
virtual void BaciTestClassImpl::turnOnMonitoring () [inline, virtual] Method to turn monitoring on from a remote client |
References ACSErr::ErrorTraceHelper::log(), and baci::CharacteristicComponentImpl::startPropertiesMonitoring(). |
ActionFunction BaciTestClassImpl::m_actions [private] |
Array of actions. |
baci::SmartPropertyPointer< baci::ROdouble > BaciTestClassImpl::m_ROdoubleProp_sp [private] |
baci::SmartPropertyPointer< baci::ROdoubleSeq > BaciTestClassImpl::m_ROdoubleSeqProp_sp [private] |
baci::SmartPropertyPointer< baci::ROfloat > BaciTestClassImpl::m_ROfloatProp_sp [private] |
baci::SmartPropertyPointer< baci::ROfloatSeq > BaciTestClassImpl::m_ROfloatSeqProp_sp [private] |
baci::SmartPropertyPointer< baci::ROlong > BaciTestClassImpl::m_ROlongProp_sp [private] |
baci::SmartPropertyPointer< baci::ROlongSeq > BaciTestClassImpl::m_ROlongSeqProp_sp [private] |
baci::SmartPropertyPointer< baci::ROpattern > BaciTestClassImpl::m_ROpatternProp_sp [private] |
baci::SmartPropertyPointer< baci::ROstring > BaciTestClassImpl::m_ROstringProp_sp [private] |
baci::SmartPropertyPointer< baci::RWdouble > BaciTestClassImpl::m_RWdoubleProp_sp [private] |
baci::SmartPropertyPointer< baci::RWdoubleSeq > BaciTestClassImpl::m_RWdoubleSeqProp_sp [private] |
baci::SmartPropertyPointer< baci::RWdouble > BaciTestClassImpl::m_RWdoubleWithDevIOProp_sp [private] |
baci::SmartPropertyPointer< baci::RWdouble > BaciTestClassImpl::m_RWdoubleWithErrorDevIOProp_sp [private] |
The smart pointers for (other) properties. |
baci::SmartPropertyPointer< baci::RWfloat > BaciTestClassImpl::m_RWfloatProp_sp [private] |
baci::SmartPropertyPointer< baci::RWfloatSeq > BaciTestClassImpl::m_RWfloatSeqProp_sp [private] |
baci::SmartPropertyPointer< baci::RWlong > BaciTestClassImpl::m_RWlongProp_sp [private] |
baci::SmartPropertyPointer< baci::RWlongSeq > BaciTestClassImpl::m_RWlongSeqProp_sp [private] |
baci::SmartPropertyPointer< baci::RWpattern > BaciTestClassImpl::m_RWpatternProp_sp [private] |
baci::SmartPropertyPointer< baci::RWstring > BaciTestClassImpl::m_RWstringProp_sp [private] |
bool BaciTestClassImpl::m_shutdown [private] |
Is manager shutting down? |
Generated automatically by Doxygen for ACS-2015.2 C++ API from the source code. |