AceSmartSoft API Documentation
|
#include <smartAdministrativeMonitor.hh>
Public Member Functions | |
SmartAdministrativeMonitor (SmartACE::SmartComponent *comp=NULL) | |
default constructor More... | |
virtual | ~SmartAdministrativeMonitor () |
default destructor More... | |
void | prepare (int cid=0) |
prepare the B/U interaction More... | |
void | signal (int cid=0, int status=(int) Smart::SMART_OK) |
used in callback fktions More... | |
int | getStatusA0 () |
getter method for status More... | |
Smart::StatusCode | wait () |
blocking wait on condition wariable to unblock More... | |
![]() | |
SmartMonitor () | |
default constructor More... | |
virtual | ~SmartMonitor () |
default destructor More... | |
void | blocking (const bool) |
block/unblock More... | |
void | enableTimedMode (const ACE_Time_Value &timeout) |
enable timed mode More... | |
void | disableTimedMode () |
disable timed mode More... | |
int | acquire () |
aquire internal recursive mutex More... | |
int | release () |
release internal recursive mutex More... | |
virtual void | broadcast () |
signal to all threads to unblock from wait call More... | |
virtual void | reset () |
reset internal state to "not signalled" More... | |
Additional Inherited Members | |
![]() | |
void | clear_nested_level () |
void | restore_nested_level () |
![]() | |
bool | signalled |
bool | statusBlocking |
bool | statusTimed |
ACE_Time_Value | timeout_time |
SmartConditionRecursiveMutex | cond |
Administrative Monitor is used to implement Monitoring of B/U interaction from service requestor to sevice provider e.g. in connect() or disconnect() procedures. (for more Details see PhD Thesis of Prof. Dr. Christian Schlegel, chapter 5.6.6.10)
SmartACE::SmartAdministrativeMonitor::SmartAdministrativeMonitor | ( | SmartACE::SmartComponent * | comp = NULL | ) |
default constructor
|
virtual |
default destructor
int SmartACE::SmartAdministrativeMonitor::getStatusA0 | ( | ) |
getter method for status
void SmartACE::SmartAdministrativeMonitor::prepare | ( | int | cid = 0 | ) |
prepare the B/U interaction
void SmartACE::SmartAdministrativeMonitor::signal | ( | int | cid = 0 , |
int | status = (int) Smart::SMART_OK |
||
) |
used in callback fktions
|
virtual |
blocking wait on condition wariable to unblock
Reimplemented from SmartACE::SmartMonitor.