#include <baciRecovery.h>
List of all members.
Detailed Description
Class which saves all BACI data needed to restore its state in cause of failure or unexpected terminatrion.
It uses RecoveryStore class from recovery module to store data. Since all data are coded to a ACE_CString, this class also provided data coding/decoding. There are only two structures to save, actually: monitors and events.
- Author:
- Matej Sekoranja, Jozef Stefan Institute, Slovenia
- See also:
- RecoverableObject
Constructor & Destructor Documentation
baci::BACIRecoveryManager::BACIRecoveryManager |
( |
|
) |
|
baci::BACIRecoveryManager::~BACIRecoveryManager |
( |
|
) |
|
ALMA C++ coding standards state copy constructors should be disabled.
Member Function Documentation
static void baci::BACIRecoveryManager::activatorName |
( |
const char * |
activatorName |
) |
[static] |
Set activator name.
- Parameters:
-
Add object to recovery data
- Parameters:
-
| object | object to be added to recovery data |
static void baci::BACIRecoveryManager::destroyInstance |
( |
|
) |
[static] |
char* baci::BACIRecoveryManager::generateObjectName |
( |
const char * |
namePrefix |
) |
|
Generates first free name starting with given prefix
Generation algorithm: namePrefix, namePrefix0, namePrefix1, etc.
- Parameters:
-
ACE_CString_Vector baci::BACIRecoveryManager::getObjectsStartingWith |
( |
const char * |
namePrefix |
) |
|
Get objects' names starting with given prefix
- Parameters:
-
const char* baci::BACIRecoveryManager::getObjectState |
( |
const char * |
name |
) |
|
Get object's stringified state
- Parameters:
-
static void baci::BACIRecoveryManager::loadRecovery |
( |
bool |
load |
) |
[static] |
Set load recovery data switch
- Parameters:
-
ALMA C++ coding standards state assignment operators should be disabled.
void baci::BACIRecoveryManager::removeRecoverableObject |
( |
RecoverableObject * |
object |
) |
|
Remove object from recovery data
- Parameters:
-
| object | object to be removed from recovery data |
void baci::BACIRecoveryManager::updateRecoverableObject |
( |
RecoverableObject * |
object |
) |
|
Update object to recovery data
- Parameters:
-
| object | object to be updated in recovery data |
Member Data Documentation
Load recovery data switch
Class which takes care of recovery data
- See also:
- RecoveryStore
The documentation for this class was generated from the following file: