![]() |
F´ Flight Software - C/C++ Documentation
devel
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 (NATIVE_INT_TYPE instance=0) |
Initialize StreamCrossoverComponentBase object. More... | |
Drv::InputByteStreamRecvPort * | get_streamIn_InputPort (NATIVE_INT_TYPE portNum) |
void | set_logOut_OutputPort (NATIVE_INT_TYPE portNum, Fw::InputLogPort *port) |
Connect port to logOut[portNum]. More... | |
void | set_timeCaller_OutputPort (NATIVE_INT_TYPE portNum, Fw::InputTimePort *port) |
Connect port to timeCaller[portNum]. More... | |
void | set_errorDeallocate_OutputPort (NATIVE_INT_TYPE portNum, Fw::InputBufferSendPort *port) |
Connect port to errorDeallocate[portNum]. More... | |
void | set_streamOut_OutputPort (NATIVE_INT_TYPE portNum, Drv::InputByteStreamSendPort *port) |
Connect port to streamOut[portNum]. More... | |
![]() | |
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 374 of file StreamCrossoverComponentAc.cpp.
|
protectedvirtual |
Destroy StreamCrossoverComponentBase object.
Definition at line 381 of file StreamCrossoverComponentAc.cpp.
|
protected |
Invoke output port errorDeallocate.
portNum | The port number |
fwBuffer | The buffer |
Definition at line 537 of file StreamCrossoverComponentAc.cpp.
Drv::InputByteStreamRecvPort * Drv::StreamCrossoverComponentBase::get_streamIn_InputPort | ( | NATIVE_INT_TYPE | portNum | ) |
Get typed input port at index
portNum | The port number |
Definition at line 201 of file StreamCrossoverComponentAc.cpp.
|
protected |
Get the number of errorDeallocate output ports
Definition at line 427 of file StreamCrossoverComponentAc.cpp.
|
protected |
Get the number of logOut output ports
Definition at line 401 of file StreamCrossoverComponentAc.cpp.
|
protected |
Get the number of streamIn input ports
Definition at line 391 of file StreamCrossoverComponentAc.cpp.
|
protected |
Get the number of streamOut output ports
Definition at line 433 of file StreamCrossoverComponentAc.cpp.
|
protected |
Get the number of timeCaller output ports
Definition at line 417 of file StreamCrossoverComponentAc.cpp.
|
protected |
Get the time
\return The current time
Definition at line 666 of file StreamCrossoverComponentAc.cpp.
void Drv::StreamCrossoverComponentBase::init | ( | NATIVE_INT_TYPE | 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 484 of file StreamCrossoverComponentAc.cpp.
|
protected |
Check whether port logOut is connected
portNum | The port number |
Definition at line 443 of file StreamCrossoverComponentAc.cpp.
|
protected |
Check whether port streamOut is connected
portNum | The port number |
Definition at line 495 of file StreamCrossoverComponentAc.cpp.
|
protected |
Check whether port timeCaller is connected
portNum | The port number |
Definition at line 469 of file StreamCrossoverComponentAc.cpp.
|
protected |
Log event StreamOutError
Indicates buffer failed to send to streamOut.
Definition at line 571 of file StreamCrossoverComponentAc.cpp.
void Drv::StreamCrossoverComponentBase::set_errorDeallocate_OutputPort | ( | NATIVE_INT_TYPE | portNum, |
Fw::InputBufferSendPort * | port | ||
) |
Connect port to errorDeallocate[portNum].
portNum | The port number |
port | The input port |
Definition at line 266 of file StreamCrossoverComponentAc.cpp.
void Drv::StreamCrossoverComponentBase::set_logOut_OutputPort | ( | NATIVE_INT_TYPE | portNum, |
Fw::InputLogPort * | port | ||
) |
Connect port to logOut[portNum].
portNum | The port number |
port | The input port |
Definition at line 216 of file StreamCrossoverComponentAc.cpp.
void Drv::StreamCrossoverComponentBase::set_streamOut_OutputPort | ( | NATIVE_INT_TYPE | portNum, |
Drv::InputByteStreamSendPort * | port | ||
) |
Connect port to streamOut[portNum].
portNum | The port number |
port | The input port |
Definition at line 280 of file StreamCrossoverComponentAc.cpp.
void Drv::StreamCrossoverComponentBase::set_timeCaller_OutputPort | ( | NATIVE_INT_TYPE | portNum, |
Fw::InputTimePort * | port | ||
) |
Connect port to timeCaller[portNum].
portNum | The port number |
port | The input port |
Definition at line 248 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 512 of file StreamCrossoverComponentAc.cpp.
|
protected |
Invoke output port streamOut.
portNum | The port number |
sendBuffer | Data to send |
Definition at line 552 of file StreamCrossoverComponentAc.cpp.
|
friend |
Friend class for white-box testing.
Definition at line 38 of file StreamCrossoverComponentAc.hpp.