phaser-server  0.0.3
Public Member Functions | List of all members
UpdateDetector Class Reference

This class manages the BEM heartbeat updates. More...

Public Member Functions

 UpdateDetector (void)
 Construct an instance.
 
void Update (void)
 A update was made.
 
bool WasDetected (void)
 Was an update detected.
 

Detailed Description

This class manages the BEM heartbeat updates.

The EPICS call-back function interacts with this class to acknowledge a BEM heartbeat has occurred. The 'GetRegionEnergy' function queries it to determine if an update to the regions energy estimate is available.

Note
The first monitor call back, after class instantiation, will be ignored. This keeps it from getting an old measurement not associated with the current region scenario.

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