F´ Flight Software - C/C++ Documentation
devel
A framework for building embedded system applications to NASA flight quality standards.
|
Implementation class for RateGroupDriver. More...
#include <Svc/RateGroupDriver/RateGroupDriver.hpp>
Classes | |
class | Divider |
Struct describing a divider. More... | |
class | DividerSet |
Struct containing an array of dividers. More... | |
Public Member Functions | |
RateGroupDriver (const char *compName) | |
RateGroupDriver constructor. More... | |
void | configure (const DividerSet ÷rsSet) |
RateGroupDriver configuration function. More... | |
~RateGroupDriver () | |
RateGroupDriverImpl destructor. More... | |
Public Member Functions inherited from Svc::RateGroupDriverComponentBase | |
void | init (FwEnumStoreType instance=0) |
Initialize RateGroupDriverComponentBase object. More... | |
Svc::InputCyclePort * | get_CycleIn_InputPort (FwIndexType portNum) |
void | set_CycleOut_OutputPort (FwIndexType portNum, Svc::InputCyclePort *port) |
Connect port to CycleOut[portNum]. More... | |
Public Member Functions inherited from Fw::PassiveComponentBase | |
void | setIdBase (const U32) |
Set the ID base. More... | |
U32 | getIdBase () const |
Static Public Attributes | |
static const NATIVE_UINT_TYPE | DIVIDER_SIZE = NUM_CYCLEOUT_OUTPUT_PORTS |
Size of the divider table, provided as a constants to users passing the table in. More... | |
Additional Inherited Members | |
Protected Types inherited from Svc::RateGroupDriverComponentBase | |
enum | { NUM_CYCLEIN_INPUT_PORTS = 1 } |
Enumerations for numbers of typed input ports. More... | |
enum | { NUM_CYCLEOUT_OUTPUT_PORTS = 3 } |
Enumerations for numbers of typed output ports. More... | |
Protected Member Functions inherited from Svc::RateGroupDriverComponentBase | |
RateGroupDriverComponentBase (const char *compName="") | |
Construct RateGroupDriverComponentBase object. More... | |
virtual | ~RateGroupDriverComponentBase () |
Destroy RateGroupDriverComponentBase object. More... | |
FwIndexType | getNum_CycleIn_InputPorts () const |
FwIndexType | getNum_CycleOut_OutputPorts () const |
bool | isConnected_CycleOut_OutputPort (FwIndexType portNum) |
void | CycleIn_handlerBase (FwIndexType portNum, Os::RawTime &cycleStart) |
Handler base-class function for input port CycleIn. More... | |
void | CycleOut_out (FwIndexType portNum, Os::RawTime &cycleStart) |
Invoke output port CycleOut. More... | |
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... | |
Implementation class for RateGroupDriver.
Takes the input from CycleIn and divides it. Output rate is CycleIn rate/divider[port]
Definition at line 33 of file RateGroupDriver.hpp.
Svc::RateGroupDriver::RateGroupDriver | ( | const char * | compName | ) |
RateGroupDriver constructor.
The constructor takes the divider array and stores it for use when the CycleIn port is called.
compName | component name |
Definition at line 9 of file RateGroupDriver.cpp.
Svc::RateGroupDriver::~RateGroupDriver | ( | ) |
RateGroupDriverImpl destructor.
Definition at line 40 of file RateGroupDriver.cpp.
void Svc::RateGroupDriver::configure | ( | const DividerSet & | dividersSet | ) |
RateGroupDriver configuration function.
dividersSet | set of dividers used to divide down input tick |
Definition at line 15 of file RateGroupDriver.cpp.
|
static |
Size of the divider table, provided as a constants to users passing the table in.
Definition at line 37 of file RateGroupDriver.hpp.