![]() |
F´ Flight Software - C/C++ Documentation
devel
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 (NATIVE_INT_TYPE instance=0) |
| Initialize ComSplitterComponentBase object. More... | |
| Fw::InputComPort * | get_comIn_InputPort (NATIVE_INT_TYPE portNum) |
| void | set_comOut_OutputPort (NATIVE_INT_TYPE portNum, Fw::InputComPort *port) |
| Connect port to comOut[portNum]. More... | |
Public Member Functions inherited from Fw::PassiveComponentBase | |
| 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... | |
| NATIVE_INT_TYPE | getNum_comIn_InputPorts () const |
| NATIVE_INT_TYPE | getNum_comOut_OutputPorts () const |
| bool | isConnected_comOut_OutputPort (NATIVE_INT_TYPE portNum) |
| virtual void | comIn_handler (NATIVE_INT_TYPE portNum, Fw::ComBuffer &data, U32 context)=0 |
| Handler for input port comIn. More... | |
| void | comIn_handlerBase (NATIVE_INT_TYPE portNum, Fw::ComBuffer &data, U32 context) |
| Handler base-class function for input port comIn. More... | |
| void | comOut_out (NATIVE_INT_TYPE portNum, Fw::ComBuffer &data, U32 context) |
| Invoke output port comOut. 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... | |
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 146 of file ComSplitterComponentAc.cpp.
|
protectedvirtual |
Destroy ComSplitterComponentBase object.
Definition at line 153 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 200 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 225 of file ComSplitterComponentAc.cpp.
| Fw::InputComPort * Svc::ComSplitterComponentBase::get_comIn_InputPort | ( | NATIVE_INT_TYPE | portNum | ) |
Get typed input port at index
| portNum | The port number |
Definition at line 91 of file ComSplitterComponentAc.cpp.
|
protected |
Get the number of comIn input ports
Definition at line 163 of file ComSplitterComponentAc.cpp.
|
protected |
Get the number of comOut output ports
Definition at line 173 of file ComSplitterComponentAc.cpp.
| void Svc::ComSplitterComponentBase::init | ( | NATIVE_INT_TYPE | 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 183 of file ComSplitterComponentAc.cpp.
| void Svc::ComSplitterComponentBase::set_comOut_OutputPort | ( | NATIVE_INT_TYPE | portNum, |
| Fw::InputComPort * | port | ||
| ) |
Connect port to comOut[portNum].
| portNum | The port number |
| port | The input port |
Definition at line 106 of file ComSplitterComponentAc.cpp.
|
friend |
Friend class for white-box testing.
Definition at line 31 of file ComSplitterComponentAc.hpp.