|
Public Member Functions |
| BACIComponent (ACS::ThreadManager *thrMgr, const ACE_CString &name, CharacteristicModelImpl *characteristicModel, const ACS::TimeInterval &actionThreadResponseTime=defaultRTResponseTime_m, const ACS::TimeInterval &actionThreadSleepTime=minRTSleepTime_m, const ACS::TimeInterval &monitorThreadResponseTime=defaultMTResponseTime_m, const ACS::TimeInterval &monitorThreadSleepTime=minMTSleepTime_m) |
| ~BACIComponent () |
const char * | getName () const |
int | registerCallback (const BACIValue::Type type, Callback_ptr callback_p, const CBDescIn descIn) |
int | registerAction (const BACIValue::Type type, Callback_ptr callback_p, const CBDescIn descIn, ActionImplementator *actionImplementator_, int actionFunction_) |
int | registerAction (const BACIValue::Type type, Callback_ptr callback_p, const CBDescIn descIn, ActionImplementator *actionImplementator_, int actionFunction, const BACIValue &value) |
BACIThreadManager * | getThreadManager () const |
ACS::TimeInterval | getMTResponseTime () const |
void | setMTResponseTime (const ACS::TimeInterval &_monitorThreadResponseTime) |
ACS::TimeInterval | getMTSleepTime () const |
void | setMTSleepTime (const ACS::TimeInterval &_monitorThreadSleepTime) |
ACS::TimeInterval | getRTResponseTime () const |
void | setRTResponseTime (const ACS::TimeInterval &_actionThreadResponseTime) |
ACS::TimeInterval | getRTSleepTime () const |
void | setRTSleepTime (const ACS::TimeInterval &_actionThreadSleepTime) |
bool | dispatchCallback (int callbackID, const BACIValue &value, CBDescOut &descOut, const Completion &completion, const BACIMonitor *archiver=0) |
bool | finishCallback (int callbackID, const BACIValue &value, CBDescOut &descOut, const Completion &completion) |
bool | isInDestructionState () const |
int | getActionCount () const |
void | pushAction (BACIAction *action) |
BACIAction * | popAction () |
void | removeCallbackAndAction (int callbackID) |
BACICallback * | getCallback (int callbackID) |
void | removeCallback (int callbackID) |
int | getPropertyCount () const |
BACIProperty * | getPropertyAt (int pos) const |
void | stopAllThreads () |
bool | startAllThreads () |
void | startMonitoringThread () |
void | startActionThread () |
void | stopMonitoringThread () |
void | stopActionThread () |
bool | isMonitoringActive () |
bool | isActionThreadActive () |
CharacteristicModelImpl * | getCharacteristicModel () const |
Protected Member Functions |
BACIThread * | getActionThread () const |
BACIThread * | getMonitorThread () const |
int | getThreadCount () const |
void | removeAction (int callbackID) |
void | addProperty (BACIProperty *property) |
void | removeProperty (BACIProperty *property) |
Static Protected Attributes |
const ACS::TimeInterval | defaultRTResponseTime_m |
const ACS::TimeInterval | minRTSleepTime_m |
const ACS::TimeInterval | defaultMTResponseTime_m |
const ACS::TimeInterval | minMTSleepTime_m |
Private Member Functions |
void | operator= (const BACIComponent &) |
| BACIComponent (const BACIComponent &) |
Private Attributes |
ACE_CString | name_m |
CharacteristicModelImpl * | characteristicModel_mp |
BACICallbackTable | callbackTable_m |
BACIActionQueue | actionQueue_m |
BACIPropertyVector | propertyVector_m |
ACS::TimeInterval | actionThreadResponseTime_m |
ACS::TimeInterval | actionThreadSleepTime_m |
ACS::TimeInterval | monitorThreadResponseTime_m |
ACS::TimeInterval | monitorThreadSleepTime_m |
BACIThread * | actionThread_mp |
BACIThread * | monitorThread_mp |
BACIThreadManager * | threadManager_mp |
bool | inDestructionState_m |
BACIMutex | actionQueueMutex_m |
BACIMutex | propertyVectorMutex_m |
BACIMutex | callbackTableMutex_m |