#include <baciBACICallback.h>
Collaboration diagram for baci::BACICallback:
Public Member Functions | |
BACICallback (const int &id_, Callback_ptr callback_, const BACIValue::Type type_, const CBDescIn &descIn_, BACIComponent *component_p) | |
~BACICallback () | |
BACICallback & | operator= (const BACICallback &cb) |
bool | operator== (const BACICallback &cb) const |
int | getID () const |
void | succeeded () |
void | failed () |
bool | isOK () |
void | setRemoveOnFailure (bool removeOnFailure_) |
bool | doRemoveOnFailure () const |
Callback_ptr | getCallback () const |
BACIValue::Type | getType () const |
CBDescIn | getDescIn () const |
BACIComponent * | getComponent () const |
Private Member Functions | |
BACICallback (const BACICallback &) | |
Private Attributes | |
int | id_m |
Callback_ptr | callback_mp |
BACIValue::Type | type_m |
CBDescIn | descIn_m |
BACIComponent * | component_mp |
int | failureCount_m |
bool | removeOnFailure_m |
Static Private Attributes | |
const int | failureLimitCount_m |
|
Contructor
|
|
Destructor |
|
ALMA C++ coding standards state copy constructors should be disabled. |
|
Set if callback can be removed if invokation failure limit is exceeded
|
|
Report failed invokation Increases failure counter and destroys callback if failure limit has been exceeded |
|
Get callback reference
|
|
Get Component (owner of the callback)
|
|
Get callback descriptor
|
|
Get callback ID
|
|
Get callback type
|
|
Get callback status (if invokations are successful)
|
|
Assignment operator |
|
Compare (equals) operator |
|
Get callback remove on failure state
|
|
Report successful invokation Resets failure counter to zero |
|
Callback reference |
|
Callback owner |
|
Callback descriptor (passed by client) |
|
Invokation failure counter |
|
Invokation failure limit |
|
Callback ID |
|
State if callback can be removed if invokation failure counter si exceeded |
|
Callback type |