Yate
RemoteBackupSubsystem Class Reference
Inheritance diagram for RemoteBackupSubsystem:
GenObject

Public Member Functions

 RemoteBackupSubsystem (unsigned char ssn, int pointcode, bool wfg=false)
 
bool equals (unsigned char ssn, int pointcode)
 
void permisionGranted ()
 
bool waitingForGrant ()
 
- Public Member Functions inherited from GenObject
 GenObject ()
 
virtual ~GenObject ()
 
virtual bool alive () const
 
virtual void destruct ()
 
virtual const StringtoString () const
 
virtual const StringtraceId () const
 
virtual void * getObject (const String &name) const
 
NamedCountergetObjCounter () const
 
NamedCountersetObjCounter (NamedCounter *counter)
 

Additional Inherited Members

- Static Public Member Functions inherited from GenObject
static void * getObject (const String &name, const GenObject *obj)
 
static bool getObjCounting ()
 
static void setObjCounting (bool enable)
 
static NamedCountergetObjCounter (const String &name, bool create=true)
 
static ObjListgetObjCounters ()
 

Constructor & Destructor Documentation

◆ RemoteBackupSubsystem()

RemoteBackupSubsystem ( unsigned char ssn,
int pointcode,
bool wfg = false )
inline

Constructor

Parameters
ssnRemote subsystem number
pointcodeRemote pointcode
wfgTrue if we are expecting SOG from this remote subsystem

Member Function Documentation

◆ equals()

bool equals ( unsigned char ssn,
int pointcode )
inline

Helper method used to verify if a remore subsystem match this one

Parameters
ssnRemote subsystem number
pointcodeRemote pointcode
Returns
True if pointcode and ssn match

◆ permisionGranted()

void permisionGranted ( )
inline

Helper method to reset wait for grant flag

◆ waitingForGrant()

bool waitingForGrant ( )
inline

Check if we are steel waiting to receive SOG

Returns
True if SOG message has arrived from the remote subsystem

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