F´ Flight Software - C/C++ Documentation
devel
A framework for building embedded system applications to NASA flight quality standards.
|
#include <Svc/PassiveRateGroup/PassiveRateGroup.hpp>
Additional Inherited Members | |
Protected Types inherited from Svc::PassiveRateGroupComponentBase | |
enum | { NUM_CYCLEIN_INPUT_PORTS = 1 } |
Enumerations for numbers of typed input ports. More... | |
enum | { NUM_TIME_OUTPUT_PORTS = 1 , NUM_TLM_OUTPUT_PORTS = 1 } |
Enumerations for numbers of special output ports. More... | |
enum | { NUM_RATEGROUPMEMBEROUT_OUTPUT_PORTS = 10 } |
Enumerations for numbers of typed output ports. More... | |
enum | { CHANNELID_MAXCYCLETIME = 0x0 , CHANNELID_CYCLETIME = 0x1 , CHANNELID_CYCLECOUNT = 0x2 } |
Channel IDs. More... | |
Protected Member Functions inherited from Svc::PassiveRateGroupComponentBase | |
PassiveRateGroupComponentBase (const char *compName="") | |
Construct PassiveRateGroupComponentBase object. More... | |
virtual | ~PassiveRateGroupComponentBase () |
Destroy PassiveRateGroupComponentBase object. More... | |
FwIndexType | getNum_CycleIn_InputPorts () const |
FwIndexType | getNum_Time_OutputPorts () const |
FwIndexType | getNum_Tlm_OutputPorts () const |
FwIndexType | getNum_RateGroupMemberOut_OutputPorts () const |
bool | isConnected_Time_OutputPort (FwIndexType portNum) |
bool | isConnected_Tlm_OutputPort (FwIndexType portNum) |
bool | isConnected_RateGroupMemberOut_OutputPort (FwIndexType portNum) |
void | CycleIn_handlerBase (FwIndexType portNum, Os::RawTime &cycleStart) |
Handler base-class function for input port CycleIn. More... | |
void | RateGroupMemberOut_out (FwIndexType portNum, U32 context) |
Invoke output port RateGroupMemberOut. More... | |
void | tlmWrite_MaxCycleTime (U32 arg, Fw::Time _tlmTime=Fw::Time()) |
void | tlmWrite_CycleTime (U32 arg, Fw::Time _tlmTime=Fw::Time()) |
void | tlmWrite_CycleCount (U32 arg, Fw::Time _tlmTime=Fw::Time()) |
Fw::Time | getTime () |
Protected Member Functions inherited from Fw::PassiveComponentBase | |
PassiveComponentBase (const char *name) | |
Named constructor. More... | |
virtual | ~PassiveComponentBase () |
Destructor. More... | |
void | init (NATIVE_INT_TYPE instance) |
Initialization function. More... | |
NATIVE_INT_TYPE | getInstance () const |
Protected Member Functions inherited from Fw::ObjBase | |
ObjBase (const char *name) | |
ObjBase constructor. More... | |
virtual | ~ObjBase () |
Destructor. More... | |
void | init () |
Object initializer. More... | |
Definition at line 30 of file PassiveRateGroup.hpp.
|
explicit |
PassiveRateGroupImpl constructor.
The constructor of the class clears all the flags and copies the contents of the context array to private storage.
compName | Name of the component |
Definition at line 20 of file PassiveRateGroup.cpp.
Svc::PassiveRateGroup::~PassiveRateGroup | ( | ) |
PassiveRateGroupImpl destructor.
The destructor of the class is empty
Definition at line 24 of file PassiveRateGroup.cpp.
void Svc::PassiveRateGroup::configure | ( | NATIVE_INT_TYPE | contexts[], |
NATIVE_INT_TYPE | numContexts | ||
) |
PassiveRateGroupImpl initialization function.
PassiveRateGroup configuration function
The configuration function takes an array of context values to pass to members of the rate group.
contexts | Array of integers that contain the context values that will be sent to each member component. The index of the array corresponds to the output port number. |
numContexts | The number of elements in the context array. |
Definition at line 26 of file PassiveRateGroup.cpp.