![]() |
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. | |
Drv::InputByteStreamRecvPort * | get_streamIn_InputPort (FwIndexType portNum) |
void | set_logOut_OutputPort (FwIndexType portNum, Fw::InputLogPort *port) |
Connect port to logOut[portNum]. | |
void | set_timeCaller_OutputPort (FwIndexType portNum, Fw::InputTimePort *port) |
Connect port to timeCaller[portNum]. | |
void | set_errorDeallocate_OutputPort (FwIndexType portNum, Fw::InputBufferSendPort *port) |
Connect port to errorDeallocate[portNum]. | |
void | set_streamOut_OutputPort (FwIndexType portNum, Drv::InputByteStreamSendPort *port) |
Connect port to streamOut[portNum]. | |
![]() | |
void | setIdBase (const U32) |
Set the ID base. | |
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. | |
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 325 of file StreamCrossoverComponentAc.cpp.
|
protectedvirtual |
Destroy StreamCrossoverComponentBase object.
Definition at line 332 of file StreamCrossoverComponentAc.cpp.
|
protected |
Invoke output port errorDeallocate.
portNum | The port number |
fwBuffer | The buffer |
Definition at line 488 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 152 of file StreamCrossoverComponentAc.cpp.
|
protected |
Get the number of errorDeallocate output ports
Definition at line 378 of file StreamCrossoverComponentAc.cpp.
|
protected |
Get the number of logOut output ports
Definition at line 352 of file StreamCrossoverComponentAc.cpp.
|
protected |
Get the number of streamIn input ports
Definition at line 342 of file StreamCrossoverComponentAc.cpp.
|
protected |
Get the number of streamOut output ports
Definition at line 384 of file StreamCrossoverComponentAc.cpp.
|
protected |
Get the number of timeCaller output ports
Definition at line 368 of file StreamCrossoverComponentAc.cpp.
|
protected |
Get the time
\return The current time
Definition at line 611 of file StreamCrossoverComponentAc.cpp.
void Drv::StreamCrossoverComponentBase::init | ( | FwEnumStoreType | instance = 0 | ) |
Initialize StreamCrossoverComponentBase object.
instance | The instance number |
Definition at line 20 of file StreamCrossoverComponentAc.cpp.
|
protected |
Check whether port errorDeallocate is connected
portNum | The port number |
Definition at line 435 of file StreamCrossoverComponentAc.cpp.
|
protected |
Check whether port logOut is connected
portNum | The port number |
Definition at line 394 of file StreamCrossoverComponentAc.cpp.
|
protected |
Check whether port streamOut is connected
portNum | The port number |
Definition at line 446 of file StreamCrossoverComponentAc.cpp.
|
protected |
Check whether port timeCaller is connected
portNum | The port number |
Definition at line 420 of file StreamCrossoverComponentAc.cpp.
|
protected |
Log event StreamOutError
Indicates buffer failed to send to streamOut.
Definition at line 522 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 217 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 167 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 231 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 199 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 463 of file StreamCrossoverComponentAc.cpp.
|
protected |
Invoke output port streamOut.
portNum | The port number |
sendBuffer | Data to send |
Definition at line 503 of file StreamCrossoverComponentAc.cpp.
|
friend |
Friend class for white-box testing.
Definition at line 38 of file StreamCrossoverComponentAc.hpp.