Yate
Public Member Functions
RemoteBackupSubsystem Class Reference
Inheritance diagram for RemoteBackupSubsystem:
GenObject

List of all members.

Public Member Functions

 RemoteBackupSubsystem (unsigned char ssn, int pointcode, bool wfg=false)
bool equals (unsigned char ssn, int pointcode)
void permisionGranted ()
bool waitingForGrant ()

Constructor & Destructor Documentation

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

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
void permisionGranted ( ) [inline]

Helper method to reset wait for grant flag

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: