F´ Flight Software - C/C++ Documentation
NASA-v1.5.0
A framework for building embedded system applications to NASA flight quality standards.
|
Go to the documentation of this file.
27 m_cycleStarted(false),
31 FW_ASSERT(numContexts ==
static_cast<NATIVE_UINT_TYPE>(this->getNum_RateGroupMemberOut_OutputPorts()),numContexts,this->getNum_RateGroupMemberOut_OutputPorts());
34 this->getNum_RateGroupMemberOut_OutputPorts());
37 for (
NATIVE_INT_TYPE entry = 0; entry < this->getNum_RateGroupMemberOut_OutputPorts(); entry++) {
51 this->log_DIAGNOSTIC_RateGroupStarted();
61 for (
NATIVE_INT_TYPE port = 0; port < this->getNum_RateGroupMemberOut_OutputPorts(); port++) {
62 if (this->isConnected_RateGroupMemberOut_OutputPort(port)) {
63 this->RateGroupMemberOut_out(port,this->
m_contexts[port]);
79 this->tlmWrite_RgMaxTime(this->
m_maxTime);
NATIVE_INT_TYPE m_overrunThrottle
throttle value for overrun events
U32 diffUSec(const TimerVal &time)
Compute difference function.
volatile bool m_cycleStarted
indicate that cycle has started. Used to detect overruns.
#define FW_NUM_ARRAY_ELEMENTS(a)
number of elements in an array
U32 m_cycleSlips
tracks number of cycle slips
U32 m_maxTime
maximum execution time in microseconds
void preamble(void)
Task preamble.
void tlmWrite_RgCycleSlips(U32 arg)
~ActiveRateGroupImpl(void)
ActiveRateGroupImpl destructor.
ActiveRateGroupImpl(const char *compName, NATIVE_UINT_TYPE contexts[], NATIVE_UINT_TYPE numContexts)
ActiveRateGroupImpl constructor.
Serializable class for carrying timer values.
void init(void)
Object initializer.
void PingOut_out(NATIVE_INT_TYPE portNum, U32 key)
unsigned int NATIVE_UINT_TYPE
native unsigned integer type declaration
NATIVE_UINT_TYPE m_contexts[NUM_RATEGROUPMEMBEROUT_OUTPUT_PORTS]
Must match number of output ports.
Auto-generated base for ActiveRateGroup component.
void PingIn_handler(NATIVE_INT_TYPE portNum, U32 key)
Input ping port handler.
void take(void)
Function to store a timer value.
PRIVATE Svc::TimerVal & cycleStart
@ ACTIVE_RATE_GROUP_OVERRUN_THROTTLE
Number of overruns allowed before overrun event is throttled.
void CycleIn_preMsgHook(NATIVE_INT_TYPE portNum, Svc::TimerVal &cycleStart)
Input cycle port pre message hook.
Declares ISF basic types.
int NATIVE_INT_TYPE
native integer type declaration
U32 m_cycles
cycles executed
void log_WARNING_HI_RateGroupCycleSlip(U32 cycle)