![]() |
F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
|
Auto-generated base for ComSplitter component. More...
#include <Svc/ComSplitter/ComSplitterComponentAc.hpp>
Public Member Functions | |
void | init (FwEnumStoreType instance=0) |
Initialize ComSplitterComponentBase object. More... | |
Fw::InputComPort * | get_comIn_InputPort (FwIndexType portNum) |
void | set_comOut_OutputPort (FwIndexType portNum, Fw::InputComPort *port) |
Connect port to comOut[portNum]. More... | |
![]() | |
void | setIdBase (const U32) |
Set the ID base. More... | |
U32 | getIdBase () const |
Protected Types | |
enum | { NUM_COMIN_INPUT_PORTS = 1 } |
Enumerations for numbers of typed input ports. More... | |
enum | { NUM_COMOUT_OUTPUT_PORTS = 5 } |
Enumerations for numbers of typed output ports. More... | |
Protected Member Functions | |
ComSplitterComponentBase (const char *compName="") | |
Construct ComSplitterComponentBase object. More... | |
virtual | ~ComSplitterComponentBase () |
Destroy ComSplitterComponentBase object. More... | |
FwIndexType | getNum_comIn_InputPorts () const |
FwIndexType | getNum_comOut_OutputPorts () const |
bool | isConnected_comOut_OutputPort (FwIndexType portNum) |
virtual void | comIn_handler (FwIndexType portNum, Fw::ComBuffer &data, U32 context)=0 |
Handler for input port comIn. More... | |
void | comIn_handlerBase (FwIndexType portNum, Fw::ComBuffer &data, U32 context) |
Handler base-class function for input port comIn. More... | |
void | comOut_out (FwIndexType portNum, Fw::ComBuffer &data, U32 context) |
Invoke output port comOut. More... | |
![]() | |
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 |
![]() | |
ObjBase (const char *name) | |
ObjBase constructor. More... | |
virtual | ~ObjBase () |
Destructor. More... | |
void | init () |
Object initializer. More... | |
Friends | |
class | ComSplitterComponentBaseFriend |
Friend class for white-box testing. More... | |
Auto-generated base for ComSplitter component.
A component for splitting a Com buffer stream
Definition at line 22 of file ComSplitterComponentAc.hpp.
|
protected |
Enumerations for numbers of typed input ports.
Enumerator | |
---|---|
NUM_COMIN_INPUT_PORTS |
Definition at line 40 of file ComSplitterComponentAc.hpp.
|
protected |
Enumerations for numbers of typed output ports.
Enumerator | |
---|---|
NUM_COMOUT_OUTPUT_PORTS |
Definition at line 45 of file ComSplitterComponentAc.hpp.
|
protected |
Construct ComSplitterComponentBase object.
compName | The component name |
Definition at line 130 of file ComSplitterComponentAc.cpp.
|
protectedvirtual |
Destroy ComSplitterComponentBase object.
Definition at line 137 of file ComSplitterComponentAc.cpp.
|
protectedpure virtual |
Handler for input port comIn.
portNum | The port number |
data | Buffer containing packet data |
context | Call context value; meaning chosen by user |
|
protected |
Handler base-class function for input port comIn.
portNum | The port number |
data | Buffer containing packet data |
context | Call context value; meaning chosen by user |
Definition at line 184 of file ComSplitterComponentAc.cpp.
|
protected |
Invoke output port comOut.
portNum | The port number |
data | Buffer containing packet data |
context | Call context value; meaning chosen by user |
Definition at line 209 of file ComSplitterComponentAc.cpp.
Fw::InputComPort * Svc::ComSplitterComponentBase::get_comIn_InputPort | ( | FwIndexType | portNum | ) |
Get typed input port at index
portNum | The port number |
Definition at line 75 of file ComSplitterComponentAc.cpp.
|
protected |
Get the number of comIn input ports
Definition at line 147 of file ComSplitterComponentAc.cpp.
|
protected |
Get the number of comOut output ports
Definition at line 157 of file ComSplitterComponentAc.cpp.
void Svc::ComSplitterComponentBase::init | ( | FwEnumStoreType | instance = 0 | ) |
Initialize ComSplitterComponentBase object.
instance | The instance number |
Definition at line 21 of file ComSplitterComponentAc.cpp.
|
protected |
Check whether port comOut is connected
portNum | The port number |
Definition at line 167 of file ComSplitterComponentAc.cpp.
void Svc::ComSplitterComponentBase::set_comOut_OutputPort | ( | FwIndexType | portNum, |
Fw::InputComPort * | port | ||
) |
Connect port to comOut[portNum].
portNum | The port number |
port | The input port |
Definition at line 90 of file ComSplitterComponentAc.cpp.
|
friend |
Friend class for white-box testing.
Definition at line 31 of file ComSplitterComponentAc.hpp.