![]() |
F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
|
Auto-generated base for StreamCrossover component. More...
#include <Drv/StreamCrossover/StreamCrossoverComponentAc.hpp>
Public Member Functions | |
| void | init (FwEnumStoreType instance=0) |
| Initialize StreamCrossoverComponentBase object. More... | |
| Drv::InputByteStreamRecvPort * | get_streamIn_InputPort (FwIndexType portNum) |
| void | set_logOut_OutputPort (FwIndexType portNum, Fw::InputLogPort *port) |
| Connect port to logOut[portNum]. More... | |
| void | set_timeCaller_OutputPort (FwIndexType portNum, Fw::InputTimePort *port) |
| Connect port to timeCaller[portNum]. More... | |
| void | set_errorDeallocate_OutputPort (FwIndexType portNum, Fw::InputBufferSendPort *port) |
| Connect port to errorDeallocate[portNum]. More... | |
| void | set_streamOut_OutputPort (FwIndexType portNum, Drv::InputByteStreamSendPort *port) |
| Connect port to streamOut[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_STREAMIN_INPUT_PORTS = 1 } |
| Enumerations for numbers of typed input ports. More... | |
| enum | { NUM_LOGOUT_OUTPUT_PORTS = 1, NUM_LOGTEXTOUT_OUTPUT_PORTS = 1, NUM_TIMECALLER_OUTPUT_PORTS = 1 } |
| Enumerations for numbers of special output ports. More... | |
| enum | { NUM_ERRORDEALLOCATE_OUTPUT_PORTS = 1, NUM_STREAMOUT_OUTPUT_PORTS = 1 } |
| Enumerations for numbers of typed output ports. More... | |
| enum | { EVENTID_STREAMOUTERROR = 0x0 } |
| Event IDs. More... | |
Friends | |
| class | StreamCrossoverComponentBaseFriend |
| Friend class for white-box testing. More... | |
Auto-generated base for StreamCrossover component.
Definition at line 29 of file StreamCrossoverComponentAc.hpp.
|
protected |
Enumerations for numbers of typed input ports.
| Enumerator | |
|---|---|
| NUM_STREAMIN_INPUT_PORTS | |
Definition at line 47 of file StreamCrossoverComponentAc.hpp.
|
protected |
Enumerations for numbers of special output ports.
| Enumerator | |
|---|---|
| NUM_LOGOUT_OUTPUT_PORTS | |
| NUM_LOGTEXTOUT_OUTPUT_PORTS | |
| NUM_TIMECALLER_OUTPUT_PORTS | |
Definition at line 52 of file StreamCrossoverComponentAc.hpp.
|
protected |
Enumerations for numbers of typed output ports.
| Enumerator | |
|---|---|
| NUM_ERRORDEALLOCATE_OUTPUT_PORTS | |
| NUM_STREAMOUT_OUTPUT_PORTS | |
Definition at line 59 of file StreamCrossoverComponentAc.hpp.
|
protected |
Event IDs.
| Enumerator | |
|---|---|
| EVENTID_STREAMOUTERROR | Indicates buffer failed to send to streamOut. |
Definition at line 65 of file StreamCrossoverComponentAc.hpp.
|
protected |
Construct StreamCrossoverComponentBase object.
| compName | The component name |
Definition at line 326 of file StreamCrossoverComponentAc.cpp.
|
protectedvirtual |
Destroy StreamCrossoverComponentBase object.
Definition at line 333 of file StreamCrossoverComponentAc.cpp.
|
protected |
Invoke output port errorDeallocate.
| portNum | The port number |
| fwBuffer | The buffer |
Definition at line 489 of file StreamCrossoverComponentAc.cpp.
| Drv::InputByteStreamRecvPort * Drv::StreamCrossoverComponentBase::get_streamIn_InputPort | ( | FwIndexType | portNum | ) |
Get typed input port at index
| portNum | The port number |
Definition at line 153 of file StreamCrossoverComponentAc.cpp.
|
protected |
Get the number of errorDeallocate output ports
Definition at line 379 of file StreamCrossoverComponentAc.cpp.
|
protected |
Get the number of logOut output ports
Definition at line 353 of file StreamCrossoverComponentAc.cpp.
|
protected |
Get the number of streamIn input ports
Definition at line 343 of file StreamCrossoverComponentAc.cpp.
|
protected |
Get the number of streamOut output ports
Definition at line 385 of file StreamCrossoverComponentAc.cpp.
|
protected |
Get the number of timeCaller output ports
Definition at line 369 of file StreamCrossoverComponentAc.cpp.
|
protected |
Get the time
\return The current time
Definition at line 612 of file StreamCrossoverComponentAc.cpp.
| void Drv::StreamCrossoverComponentBase::init | ( | FwEnumStoreType | instance = 0 | ) |
Initialize StreamCrossoverComponentBase object.
| instance | The instance number |
Definition at line 21 of file StreamCrossoverComponentAc.cpp.
|
protected |
Check whether port errorDeallocate is connected
| portNum | The port number |
Definition at line 436 of file StreamCrossoverComponentAc.cpp.
|
protected |
Check whether port logOut is connected
| portNum | The port number |
Definition at line 395 of file StreamCrossoverComponentAc.cpp.
|
protected |
Check whether port streamOut is connected
| portNum | The port number |
Definition at line 447 of file StreamCrossoverComponentAc.cpp.
|
protected |
Check whether port timeCaller is connected
| portNum | The port number |
Definition at line 421 of file StreamCrossoverComponentAc.cpp.
|
protected |
Log event StreamOutError
Indicates buffer failed to send to streamOut.
Definition at line 523 of file StreamCrossoverComponentAc.cpp.
| void Drv::StreamCrossoverComponentBase::set_errorDeallocate_OutputPort | ( | FwIndexType | portNum, |
| Fw::InputBufferSendPort * | port | ||
| ) |
Connect port to errorDeallocate[portNum].
| portNum | The port number |
| port | The input port |
Definition at line 218 of file StreamCrossoverComponentAc.cpp.
| void Drv::StreamCrossoverComponentBase::set_logOut_OutputPort | ( | FwIndexType | portNum, |
| Fw::InputLogPort * | port | ||
| ) |
Connect port to logOut[portNum].
| portNum | The port number |
| port | The input port |
Definition at line 168 of file StreamCrossoverComponentAc.cpp.
| void Drv::StreamCrossoverComponentBase::set_streamOut_OutputPort | ( | FwIndexType | portNum, |
| Drv::InputByteStreamSendPort * | port | ||
| ) |
Connect port to streamOut[portNum].
| portNum | The port number |
| port | The input port |
Definition at line 232 of file StreamCrossoverComponentAc.cpp.
| void Drv::StreamCrossoverComponentBase::set_timeCaller_OutputPort | ( | FwIndexType | portNum, |
| Fw::InputTimePort * | port | ||
| ) |
Connect port to timeCaller[portNum].
| portNum | The port number |
| port | The input port |
Definition at line 200 of file StreamCrossoverComponentAc.cpp.
|
protectedpure virtual |
Handler for input port streamIn.
| portNum | The port number |
|
protected |
Handler base-class function for input port streamIn.
| portNum | The port number |
Definition at line 464 of file StreamCrossoverComponentAc.cpp.
|
protected |
Invoke output port streamOut.
| portNum | The port number |
| sendBuffer | Data to send |
Definition at line 504 of file StreamCrossoverComponentAc.cpp.
|
friend |
Friend class for white-box testing.
Definition at line 38 of file StreamCrossoverComponentAc.hpp.