F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
PingEntries Namespace Reference

required ping constants More...

Namespaces

 ComLoggerTee_comLog
 
 DataProducts_dpBufferAccumulator
 
 DataProducts_dpCat
 
 
 FileHandling_fileManager
 
 
 FileHandling_prmDb
 
 Ref_blockDrv
 
 Ref_cmdSeq
 
 Ref_pingRcvr
 
 Ref_rateGroup1Comp
 
 Ref_rateGroup2Comp
 
 Ref_rateGroup3Comp
 

Classes

struct  CdhCore_cmdDisp
 
struct  CdhCore_events
 
struct  CdhCore_tlmSend
 

Detailed Description

required ping constants

The topology autocoder requires a WARN and FATAL constant definition for each component that supports the health-ping interface. These are expressed as enum constants placed in a namespace named for the component instance. These are all placed in the PingEntries namespace.

Each constant specifies how many missed pings are allowed before a WARNING_HI/FATAL event is triggered. In the following example, the health component will emit a WARNING_HI event if the component instance cmdDisp does not respond for 3 pings and will FATAL if responses are not received after a total of 5 pings.

{c++}
namespace PingEntries {
namespace cmdDisp {
enum { WARN = 3, FATAL = 5 };
}
}