GlobalObjects
Loading...
Searching...
No Matches
glo::WatchSpecification Class Reference

To be able to watch objects, the 'watching mode', the 'watching depth' and the 'notification object' must be passed as parameters. This is possible with this structure. More...

#include <GloWatchSpecification.h>

Public Member Functions

 WatchSpecification ()
 
 WatchSpecification (const WatchSpecification &rT)
 
 WatchSpecification (TdWatchNotifyMode ulWatchMode, EnDeepMode eDeepMode, CallBack *pNotifyCallBack)
 
 WatchSpecification (TdWatchNotifyMode ulWatchMode, EnDeepMode eDeepMode, NUM_PTR ipNotifyCallBack)
 
virtual ~WatchSpecification ()
 
WatchSpecificationoperator= (const WatchSpecification &rT)
 
void setNotifyCallBack (NUM_PTR ipNotifyCallBack)
 Setter.
 
void setNotifyCallBack (CallBack *pNotifyCallBack)
 Setter.
 
void setWatchMode (TdWatchNotifyMode ulWatchMode)
 Setter.
 
void setWatchDeepMode (EnDeepMode eDeepMode)
 Setter.
 
CallBackgetNotifyCallBack () const
 Getter.
 
NUM_PTR getNotifyCallBackAsINTPTR () const
 Getter.
 
TdWatchNotifyMode getWatchMode () const
 Getter.
 
EnDeepMode getWatchDeepMode () const
 Getter.
 
bool operator== (const WatchSpecification &rT) const
 Comparison operator.
 
bool operator!= (const WatchSpecification &rT) const
 Comparison operator.
 

Protected Attributes

EnDeepMode m_eWatchDeepMode
 
NUM_PTR m_ipNotifyCallBack
 
TdWatchNotifyMode m_ulWatchMode
 

Detailed Description

To be able to watch objects, the 'watching mode', the 'watching depth' and the 'notification object' must be passed as parameters. This is possible with this structure.

See also
TdWatchNotifyMode, EnDeepMode.
Author
Helmut Jakoby

Constructor & Destructor Documentation

◆ WatchSpecification() [1/4]

glo::WatchSpecification::WatchSpecification ( )

Stanmdard constructor to initialize the members.

◆ WatchSpecification() [2/4]

glo::WatchSpecification::WatchSpecification ( TdWatchNotifyMode ulWatchMode,
EnDeepMode eDeepMode,
CallBack * pNotifyCallBack )

Constructor with parameter passing sets the object ID.

Parameters
[in]ulWatchModeThe watching mode.
[in]eDeepModeThe watching depth.
[in]pNotifyCallBackThe object (derived from CallBack) which is notified about changes by the overwritten method CallBack::notify(NotifyNote * pNote).

◆ WatchSpecification() [3/4]

glo::WatchSpecification::WatchSpecification ( TdWatchNotifyMode ulWatchMode,
EnDeepMode eDeepMode,
NUM_PTR ipNotifyCallBack )

Constructor with parameter passing sets the object ID.

Parameters
[in]ulWatchModeThe watching mode.
[in]eDeepModeThe watching depth.
[in]ipNotifyCallBackThe object (derived from CallBack) which is notified about changes by the overwritten method CallBack::notify(NotifyNote * pNote), cast to NUM_PTR.

◆ WatchSpecification() [4/4]

glo::WatchSpecification::WatchSpecification ( const WatchSpecification & rT)

Copy constructor.

Parameters
[in]rTThe data is copied from this object.

◆ ~WatchSpecification()

virtual glo::WatchSpecification::~WatchSpecification ( )
virtual

Destructor

Member Function Documentation

◆ getNotifyCallBack()

CallBack * glo::WatchSpecification::getNotifyCallBack ( ) const

Getter.

◆ getNotifyCallBackAsINTPTR()

NUM_PTR glo::WatchSpecification::getNotifyCallBackAsINTPTR ( ) const

Getter.

◆ getWatchDeepMode()

EnDeepMode glo::WatchSpecification::getWatchDeepMode ( ) const

Getter.

◆ getWatchMode()

TdWatchNotifyMode glo::WatchSpecification::getWatchMode ( ) const

Getter.

◆ operator!=()

bool glo::WatchSpecification::operator!= ( const WatchSpecification & rT) const

Comparison operator.

Parameters
[in]rTThe object to be compared with this one.

◆ operator=()

WatchSpecification & glo::WatchSpecification::operator= ( const WatchSpecification & rT)

Assignment operator.

Parameters
[in]rTThe data is transferred from this object.

◆ operator==()

bool glo::WatchSpecification::operator== ( const WatchSpecification & rT) const

Comparison operator.

Parameters
[in]rTThe object to be compared with this one.

◆ setNotifyCallBack() [1/2]

void glo::WatchSpecification::setNotifyCallBack ( CallBack * pNotifyCallBack)

Setter.

◆ setNotifyCallBack() [2/2]

void glo::WatchSpecification::setNotifyCallBack ( NUM_PTR ipNotifyCallBack)

Setter.

◆ setWatchDeepMode()

void glo::WatchSpecification::setWatchDeepMode ( EnDeepMode eDeepMode)

Setter.

◆ setWatchMode()

void glo::WatchSpecification::setWatchMode ( TdWatchNotifyMode ulWatchMode)

Setter.

Member Data Documentation

◆ m_eWatchDeepMode

EnDeepMode glo::WatchSpecification::m_eWatchDeepMode
protected

The watching depth.

◆ m_ipNotifyCallBack

NUM_PTR glo::WatchSpecification::m_ipNotifyCallBack
protected

The object (derived from CallBack) which is notified about changes by the overwritten method CallBack::notify(NotifyNote * pNote), cast to NUM_PTR.

◆ m_ulWatchMode

TdWatchNotifyMode glo::WatchSpecification::m_ulWatchMode
protected

The watching mode.


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