![]() |
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_DRVCONNECTED_INPUT_PORTS = 1, NUM_DRVRECEIVEIN_INPUT_PORTS = 1, NUM_DRVSENDRETURNIN_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_DRVRECEIVERETURNOUT_OUTPUT_PORTS = 1, NUM_DRVSENDOUT_OUTPUT_PORTS = 1 } |
Enumerations for numbers of typed output ports. More... | |
Protected Member Functions | |
ComStubComponentBase (const char *compName="") | |
Construct ComStubComponentBase object. More... | |
virtual | ~ComStubComponentBase () |
Destroy ComStubComponentBase object. More... | |
FwIndexType | getNum_dataIn_InputPorts () const |
FwIndexType | getNum_dataReturnIn_InputPorts () const |
FwIndexType | getNum_drvConnected_InputPorts () const |
FwIndexType | getNum_drvReceiveIn_InputPorts () const |
FwIndexType | getNum_drvSendReturnIn_InputPorts () const |
FwIndexType | getNum_comStatusOut_OutputPorts () const |
FwIndexType | getNum_dataOut_OutputPorts () const |
FwIndexType | getNum_dataReturnOut_OutputPorts () const |
FwIndexType | getNum_drvReceiveReturnOut_OutputPorts () const |
FwIndexType | getNum_drvSendOut_OutputPorts () const |
bool | isConnected_comStatusOut_OutputPort (FwIndexType portNum) |
bool | isConnected_dataOut_OutputPort (FwIndexType portNum) |
bool | isConnected_dataReturnOut_OutputPort (FwIndexType portNum) |
bool | isConnected_drvReceiveReturnOut_OutputPort (FwIndexType portNum) |
bool | isConnected_drvSendOut_OutputPort (FwIndexType portNum) |
virtual void | dataIn_handler (FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)=0 |
Handler for input port dataIn. More... | |
virtual void | dataReturnIn_handler (FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context)=0 |
Handler for input port dataReturnIn. More... | |
virtual void | drvConnected_handler (FwIndexType portNum)=0 |
Handler for input port drvConnected. More... | |
virtual void | drvReceiveIn_handler (FwIndexType portNum, Fw::Buffer &buffer, const Drv::ByteStreamStatus &status)=0 |
Handler for input port drvReceiveIn. More... | |
virtual void | drvSendReturnIn_handler (FwIndexType portNum, Fw::Buffer &buffer, const Drv::ByteStreamStatus &status)=0 |
Handler for input port drvSendReturnIn. More... | |
void | dataIn_handlerBase (FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context) |
Handler base-class function for input port dataIn. More... | |
void | dataReturnIn_handlerBase (FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context) |
Handler base-class function for input port dataReturnIn. More... | |
void | drvConnected_handlerBase (FwIndexType portNum) |
Handler base-class function for input port drvConnected. More... | |
void | drvReceiveIn_handlerBase (FwIndexType portNum, Fw::Buffer &buffer, const Drv::ByteStreamStatus &status) |
Handler base-class function for input port drvReceiveIn. More... | |
void | drvSendReturnIn_handlerBase (FwIndexType portNum, Fw::Buffer &buffer, const Drv::ByteStreamStatus &status) |
Handler base-class function for input port drvSendReturnIn. More... | |
void | comStatusOut_out (FwIndexType portNum, Fw::Success &condition) |
Invoke output port comStatusOut. More... | |
void | dataOut_out (FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context) |
Invoke output port dataOut. More... | |
void | dataReturnOut_out (FwIndexType portNum, Fw::Buffer &data, const ComCfg::FrameContext &context) |
Invoke output port dataReturnOut. More... | |
void | drvReceiveReturnOut_out (FwIndexType portNum, Fw::Buffer &fwBuffer) |
Invoke output port drvReceiveReturnOut. More... | |
void | drvSendOut_out (FwIndexType portNum, Fw::Buffer &fwBuffer) |
Invoke output port drvSendOut. More... | |
![]() | |
PassiveComponentBase (const char *name) | |
Named constructor. More... | |
virtual | ~PassiveComponentBase () |
Destructor. More... | |
void | init (FwEnumStoreType instance) |
Initialization function. More... | |
FwEnumStoreType | getInstance () const |
![]() | |
ObjBase (const char *name) | |
ObjBase constructor. More... | |
virtual | ~ObjBase () |
Destructor. More... | |
void | init () |
Object initializer. 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.ByteStreamDriverModel.
Definition at line 26 of file ComStubComponentAc.hpp.
|
protected |
Enumerations for numbers of typed input ports.
Enumerator | |
---|---|
NUM_DATAIN_INPUT_PORTS | |
NUM_DATARETURNIN_INPUT_PORTS | |
NUM_DRVCONNECTED_INPUT_PORTS | |
NUM_DRVRECEIVEIN_INPUT_PORTS | |
NUM_DRVSENDRETURNIN_INPUT_PORTS |
Definition at line 46 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_DRVRECEIVERETURNOUT_OUTPUT_PORTS | |
NUM_DRVSENDOUT_OUTPUT_PORTS |
Definition at line 55 of file ComStubComponentAc.hpp.
|
protected |
Construct ComStubComponentBase object.
compName | The component name |
Definition at line 458 of file ComStubComponentAc.cpp.
|
protectedvirtual |
Destroy ComStubComponentBase object.
Definition at line 465 of file ComStubComponentAc.cpp.
|
protected |
Invoke output port comStatusOut.
portNum | The port number |
condition | Condition success/failure |
Definition at line 705 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 604 of file ComStubComponentAc.cpp.
|
protected |
Invoke output port dataOut.
portNum | The port number |
Definition at line 725 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 625 of file ComStubComponentAc.cpp.
|
protected |
Invoke output port dataReturnOut.
portNum | The port number |
Definition at line 747 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 646 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 659 of file ComStubComponentAc.cpp.
|
protected |
Invoke output port drvReceiveReturnOut.
portNum | The port number |
fwBuffer | The buffer |
Definition at line 769 of file ComStubComponentAc.cpp.
|
protected |
Invoke output port drvSendOut.
portNum | The port number |
fwBuffer | The buffer |
Definition at line 789 of file ComStubComponentAc.cpp.
|
protectedpure virtual |
Handler for input port drvSendReturnIn.
portNum | The port number |
|
protected |
Handler base-class function for input port drvSendReturnIn.
portNum | The port number |
Definition at line 680 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 247 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 258 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 269 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 280 of file ComStubComponentAc.cpp.
Drv::InputByteStreamDataPort * Svc::ComStubComponentBase::get_drvSendReturnIn_InputPort | ( | FwIndexType | portNum | ) |
Get typed input port at index
portNum | The port number |
Definition at line 291 of file ComStubComponentAc.cpp.
|
protected |
Get the number of comStatusOut output ports
Definition at line 509 of file ComStubComponentAc.cpp.
|
protected |
Get the number of dataIn input ports
Definition at line 475 of file ComStubComponentAc.cpp.
|
protected |
Get the number of dataOut output ports
Definition at line 515 of file ComStubComponentAc.cpp.
|
protected |
Get the number of dataReturnIn input ports
Definition at line 481 of file ComStubComponentAc.cpp.
|
protected |
Get the number of dataReturnOut output ports
Definition at line 521 of file ComStubComponentAc.cpp.
|
protected |
Get the number of drvConnected input ports
Definition at line 487 of file ComStubComponentAc.cpp.
|
protected |
Get the number of drvReceiveIn input ports
Definition at line 493 of file ComStubComponentAc.cpp.
|
protected |
Get the number of drvReceiveReturnOut output ports
Definition at line 527 of file ComStubComponentAc.cpp.
|
protected |
Get the number of drvSendOut output ports
Definition at line 533 of file ComStubComponentAc.cpp.
|
protected |
Get the number of drvSendReturnIn input ports
Definition at line 499 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 543 of file ComStubComponentAc.cpp.
|
protected |
Check whether port dataOut is connected
portNum | The port number |
Definition at line 554 of file ComStubComponentAc.cpp.
|
protected |
Check whether port dataReturnOut is connected
portNum | The port number |
Definition at line 565 of file ComStubComponentAc.cpp.
|
protected |
Check whether port drvReceiveReturnOut is connected
portNum | The port number |
Definition at line 576 of file ComStubComponentAc.cpp.
|
protected |
Check whether port drvSendOut is connected
portNum | The port number |
Definition at line 587 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 306 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 320 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 334 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 348 of file ComStubComponentAc.cpp.
void Svc::ComStubComponentBase::set_drvSendOut_OutputPort | ( | FwIndexType | portNum, |
Fw::InputBufferSendPort * | port | ||
) |
Connect port to drvSendOut[portNum].
portNum | The port number |
port | The input port |
Definition at line 362 of file ComStubComponentAc.cpp.
|
friend |
Friend class tester implementation to support white-box testing.
Definition at line 37 of file ComStubComponentAc.hpp.
|
friend |
Friend class tester to support autocoded test harness.
Definition at line 35 of file ComStubComponentAc.hpp.