GlobalObjects
Loading...
Searching...
No Matches
glo::WatchNotifyManager::CommunicatorIndexReadWriteNotifyModes Class Reference

Monitoring or notification mode for read index, write index and reindex actions of the database More...

Inheritance diagram for glo::WatchNotifyManager::CommunicatorIndexReadWriteNotifyModes:

Public Member Functions

 CommunicatorIndexReadWriteNotifyModes (const CommunicatorCallBackIndex &rCommunicatorCallBackIndex)
 
virtual ~CommunicatorIndexReadWriteNotifyModes ()
 
virtual bool hasWatches () const
 
void setWatch (TdWatchNotifyMode tdWatchNotifyMode)
 
int unsetWatch (TdWatchNotifyMode tdWatchNotifyMode, bool bSimulate=false)
 
- Public Member Functions inherited from glo::WatchNotifyManager::CommunicatorNotifyModes
 CommunicatorNotifyModes (const CommunicatorCallBackIndex &rCommunicatorCallBackIndex)
 
virtual ~CommunicatorNotifyModes ()
 
NUM_PTR getCallBackIndex ()
 
CommunicatorgetCommunicator ()
 
WatchNotifyManager::CommunicatorCallBackIndexgetCommunicatorCallBackIndex ()
 

Protected Member Functions

 CommunicatorIndexReadWriteNotifyModes ()
 
- Protected Member Functions inherited from glo::WatchNotifyManager::CommunicatorNotifyModes
 CommunicatorNotifyModes ()
 

Private Attributes

int m_iWNM_INDEX_READ
 
int m_iWNM_INDEX_REINDEX
 
int m_iWNM_INDEX_WRITE
 

Detailed Description

Monitoring or notification mode for read index, write index and reindex actions of the database

Author
Helmut Jakoby

Constructor & Destructor Documentation

◆ CommunicatorIndexReadWriteNotifyModes() [1/2]

glo::WatchNotifyManager::CommunicatorIndexReadWriteNotifyModes::CommunicatorIndexReadWriteNotifyModes ( )
protected

The standard constructor is not available.

◆ CommunicatorIndexReadWriteNotifyModes() [2/2]

glo::WatchNotifyManager::CommunicatorIndexReadWriteNotifyModes::CommunicatorIndexReadWriteNotifyModes ( const CommunicatorCallBackIndex & rCommunicatorCallBackIndex)

Constructor with parameter passing.

Parameters
[in]rCommunicatorCallBackIndexThe client communicator CallBackIndex.

◆ ~CommunicatorIndexReadWriteNotifyModes()

virtual glo::WatchNotifyManager::CommunicatorIndexReadWriteNotifyModes::~CommunicatorIndexReadWriteNotifyModes ( )
virtual

Destructor.

Member Function Documentation

◆ hasWatches()

virtual bool glo::WatchNotifyManager::CommunicatorIndexReadWriteNotifyModes::hasWatches ( ) const
virtual

Checks whether monitoring is set.

Returns
Returns true if any supervision is set.

Implements glo::WatchNotifyManager::CommunicatorNotifyModes.

◆ setWatch()

void glo::WatchNotifyManager::CommunicatorIndexReadWriteNotifyModes::setWatch ( TdWatchNotifyMode tdWatchNotifyMode)

Registers a monitoring for a read index or write index or reindex action.

Parameters
[in]tdWatchNotifyModeThe monitoring mode to be registered.

◆ unsetWatch()

int glo::WatchNotifyManager::CommunicatorIndexReadWriteNotifyModes::unsetWatch ( TdWatchNotifyMode tdWatchNotifyMode,
bool bSimulate = false )

Deregisters a monitoring for a read index or write index or reindex action.

Parameters
[in]tdWatchNotifyModeThe monitoring mode to be unregistered.
[in]bSimulateIf true, only simulation is performed, no value is set, but a result or error is returned.
Returns
A return value > 0 indicates that the monitoring mode was switched off; however, there are still as many monitoring modes as specified in the return value.
A return == 0 indicates that the monitoring mode has been switched off and there are no further monitoring modes!
A return value < 0 indicates an error.

Member Data Documentation

◆ m_iWNM_INDEX_READ

int glo::WatchNotifyManager::CommunicatorIndexReadWriteNotifyModes::m_iWNM_INDEX_READ
private

Monitoring counter for "read index".

◆ m_iWNM_INDEX_REINDEX

int glo::WatchNotifyManager::CommunicatorIndexReadWriteNotifyModes::m_iWNM_INDEX_REINDEX
private

Monitoring counter for "reindex".

◆ m_iWNM_INDEX_WRITE

int glo::WatchNotifyManager::CommunicatorIndexReadWriteNotifyModes::m_iWNM_INDEX_WRITE
private

Monitoring counter for "write index".


The documentation for this class was generated from the following file: