![]() |
F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
|
Auto-generated base for ComStub component. More...
#include <Svc/ComStub/ComStubComponentAc.hpp>
Protected Types | |
enum | { NUM_DATAIN_INPUT_PORTS = 1, NUM_DATARETURNIN_INPUT_PORTS = 1, NUM_DRVASYNCSENDRETURNIN_INPUT_PORTS = 1, NUM_DRVCONNECTED_INPUT_PORTS = 1, NUM_DRVRECEIVEIN_INPUT_PORTS = 1 } |
Enumerations for numbers of typed input ports. More... | |
enum | { NUM_COMSTATUSOUT_OUTPUT_PORTS = 1, NUM_DATAOUT_OUTPUT_PORTS = 1, NUM_DATARETURNOUT_OUTPUT_PORTS = 1, NUM_DRVASYNCSENDOUT_OUTPUT_PORTS = 1, NUM_DRVRECEIVERETURNOUT_OUTPUT_PORTS = 1, NUM_DRVSENDOUT_OUTPUT_PORTS = 1 } |
Enumerations for numbers of typed output ports. More... | |
Friends | |
class | ComStubTesterBase |
Friend class tester to support autocoded test harness. More... | |
class | ComStubTester |
Friend class tester implementation to support white-box testing. More... | |
Auto-generated base for ComStub component.
Communication adapter interface implementing communication adapter interface via a Drv.ByteStreamDriver ComStub can use both synchronous and asynchronous byte stream drivers, users should connect the appropriate based on their driver type
Definition at line 29 of file ComStubComponentAc.hpp.
|
protected |
Enumerations for numbers of typed input ports.
Enumerator | |
---|---|
NUM_DATAIN_INPUT_PORTS | |
NUM_DATARETURNIN_INPUT_PORTS | |
NUM_DRVASYNCSENDRETURNIN_INPUT_PORTS | |
NUM_DRVCONNECTED_INPUT_PORTS | |
NUM_DRVRECEIVEIN_INPUT_PORTS |
Definition at line 49 of file ComStubComponentAc.hpp.
|
protected |
Enumerations for numbers of typed output ports.
Enumerator | |
---|---|
NUM_COMSTATUSOUT_OUTPUT_PORTS | |
NUM_DATAOUT_OUTPUT_PORTS | |
NUM_DATARETURNOUT_OUTPUT_PORTS | |
NUM_DRVASYNCSENDOUT_OUTPUT_PORTS | |
NUM_DRVRECEIVERETURNOUT_OUTPUT_PORTS | |
NUM_DRVSENDOUT_OUTPUT_PORTS |
Definition at line 58 of file ComStubComponentAc.hpp.
|
protected |
Construct ComStubComponentBase object.
compName | The component name |
Definition at line 491 of file ComStubComponentAc.cpp.
|
protectedvirtual |
Destroy ComStubComponentBase object.
Definition at line 498 of file ComStubComponentAc.cpp.
|
protected |
Invoke output port comStatusOut.
portNum | The port number |
condition | Condition success/failure |
Definition at line 755 of file ComStubComponentAc.cpp.
|
protectedpure virtual |
Handler for input port dataIn.
portNum | The port number |
|
protected |
Handler base-class function for input port dataIn.
portNum | The port number |
Definition at line 654 of file ComStubComponentAc.cpp.
|
protected |
Invoke output port dataOut.
portNum | The port number |
Definition at line 775 of file ComStubComponentAc.cpp.
|
protectedpure virtual |
Handler for input port dataReturnIn.
portNum | The port number |
|
protected |
Handler base-class function for input port dataReturnIn.
portNum | The port number |
Definition at line 675 of file ComStubComponentAc.cpp.
|
protected |
Invoke output port dataReturnOut.
portNum | The port number |
Definition at line 797 of file ComStubComponentAc.cpp.
|
protected |
Invoke output port drvAsyncSendOut.
portNum | The port number |
fwBuffer | The buffer |
Definition at line 819 of file ComStubComponentAc.cpp.
|
protectedpure virtual |
Handler for input port drvAsyncSendReturnIn.
portNum | The port number |
|
protected |
Handler base-class function for input port drvAsyncSendReturnIn.
portNum | The port number |
Definition at line 696 of file ComStubComponentAc.cpp.
|
protectedpure virtual |
Handler for input port drvConnected.
portNum | The port number |
|
protected |
Handler base-class function for input port drvConnected.
portNum | The port number |
Definition at line 717 of file ComStubComponentAc.cpp.
|
protectedpure virtual |
Handler for input port drvReceiveIn.
portNum | The port number |
|
protected |
Handler base-class function for input port drvReceiveIn.
portNum | The port number |
Definition at line 730 of file ComStubComponentAc.cpp.
|
protected |
Invoke output port drvReceiveReturnOut.
portNum | The port number |
fwBuffer | The buffer |
Definition at line 839 of file ComStubComponentAc.cpp.
|
protected |
Invoke output port drvSendOut.
portNum | The port number |
sendBuffer | Data to send |
Definition at line 859 of file ComStubComponentAc.cpp.
Svc::InputComDataWithContextPort * Svc::ComStubComponentBase::get_dataIn_InputPort | ( | FwIndexType | portNum | ) |
Get typed input port at index
portNum | The port number |
Definition at line 266 of file ComStubComponentAc.cpp.
Svc::InputComDataWithContextPort * Svc::ComStubComponentBase::get_dataReturnIn_InputPort | ( | FwIndexType | portNum | ) |
Get typed input port at index
portNum | The port number |
Definition at line 277 of file ComStubComponentAc.cpp.
Drv::InputByteStreamDataPort * Svc::ComStubComponentBase::get_drvAsyncSendReturnIn_InputPort | ( | FwIndexType | portNum | ) |
Get typed input port at index
portNum | The port number |
Definition at line 288 of file ComStubComponentAc.cpp.
Drv::InputByteStreamReadyPort * Svc::ComStubComponentBase::get_drvConnected_InputPort | ( | FwIndexType | portNum | ) |
Get typed input port at index
portNum | The port number |
Definition at line 299 of file ComStubComponentAc.cpp.
Drv::InputByteStreamDataPort * Svc::ComStubComponentBase::get_drvReceiveIn_InputPort | ( | FwIndexType | portNum | ) |
Get typed input port at index
portNum | The port number |
Definition at line 310 of file ComStubComponentAc.cpp.
|
protected |
Get the number of comStatusOut output ports
Definition at line 542 of file ComStubComponentAc.cpp.
|
protected |
Get the number of dataIn input ports
Definition at line 508 of file ComStubComponentAc.cpp.
|
protected |
Get the number of dataOut output ports
Definition at line 548 of file ComStubComponentAc.cpp.
|
protected |
Get the number of dataReturnIn input ports
Definition at line 514 of file ComStubComponentAc.cpp.
|
protected |
Get the number of dataReturnOut output ports
Definition at line 554 of file ComStubComponentAc.cpp.
|
protected |
Get the number of drvAsyncSendOut output ports
Definition at line 560 of file ComStubComponentAc.cpp.
|
protected |
Get the number of drvAsyncSendReturnIn input ports
Definition at line 520 of file ComStubComponentAc.cpp.
|
protected |
Get the number of drvConnected input ports
Definition at line 526 of file ComStubComponentAc.cpp.
|
protected |
Get the number of drvReceiveIn input ports
Definition at line 532 of file ComStubComponentAc.cpp.
|
protected |
Get the number of drvReceiveReturnOut output ports
Definition at line 566 of file ComStubComponentAc.cpp.
|
protected |
Get the number of drvSendOut output ports
Definition at line 572 of file ComStubComponentAc.cpp.
void Svc::ComStubComponentBase::init | ( | FwEnumStoreType | instance = 0 | ) |
Initialize ComStubComponentBase object.
instance | The instance number |
Definition at line 21 of file ComStubComponentAc.cpp.
|
protected |
Check whether port comStatusOut is connected
portNum | The port number |
Definition at line 582 of file ComStubComponentAc.cpp.
|
protected |
Check whether port dataOut is connected
portNum | The port number |
Definition at line 593 of file ComStubComponentAc.cpp.
|
protected |
Check whether port dataReturnOut is connected
portNum | The port number |
Definition at line 604 of file ComStubComponentAc.cpp.
|
protected |
Check whether port drvAsyncSendOut is connected
portNum | The port number |
Definition at line 615 of file ComStubComponentAc.cpp.
|
protected |
Check whether port drvReceiveReturnOut is connected
portNum | The port number |
Definition at line 626 of file ComStubComponentAc.cpp.
|
protected |
Check whether port drvSendOut is connected
portNum | The port number |
Definition at line 637 of file ComStubComponentAc.cpp.
void Svc::ComStubComponentBase::set_comStatusOut_OutputPort | ( | FwIndexType | portNum, |
Fw::InputSuccessConditionPort * | port | ||
) |
Connect port to comStatusOut[portNum].
portNum | The port number |
port | The input port |
Definition at line 325 of file ComStubComponentAc.cpp.
void Svc::ComStubComponentBase::set_dataOut_OutputPort | ( | FwIndexType | portNum, |
Svc::InputComDataWithContextPort * | port | ||
) |
Connect port to dataOut[portNum].
portNum | The port number |
port | The input port |
Definition at line 339 of file ComStubComponentAc.cpp.
void Svc::ComStubComponentBase::set_dataReturnOut_OutputPort | ( | FwIndexType | portNum, |
Svc::InputComDataWithContextPort * | port | ||
) |
Connect port to dataReturnOut[portNum].
portNum | The port number |
port | The input port |
Definition at line 353 of file ComStubComponentAc.cpp.
void Svc::ComStubComponentBase::set_drvAsyncSendOut_OutputPort | ( | FwIndexType | portNum, |
Fw::InputBufferSendPort * | port | ||
) |
Connect port to drvAsyncSendOut[portNum].
portNum | The port number |
port | The input port |
Definition at line 367 of file ComStubComponentAc.cpp.
void Svc::ComStubComponentBase::set_drvReceiveReturnOut_OutputPort | ( | FwIndexType | portNum, |
Fw::InputBufferSendPort * | port | ||
) |
Connect port to drvReceiveReturnOut[portNum].
portNum | The port number |
port | The input port |
Definition at line 381 of file ComStubComponentAc.cpp.
void Svc::ComStubComponentBase::set_drvSendOut_OutputPort | ( | FwIndexType | portNum, |
Drv::InputByteStreamSendPort * | port | ||
) |
Connect port to drvSendOut[portNum].
portNum | The port number |
port | The input port |
Definition at line 395 of file ComStubComponentAc.cpp.
|
friend |
Friend class tester implementation to support white-box testing.
Definition at line 40 of file ComStubComponentAc.hpp.
|
friend |
Friend class tester to support autocoded test harness.
Definition at line 38 of file ComStubComponentAc.hpp.