![]() |
F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
|
Auto-generated base for FprimeFramer component. More...
#include <Svc/FprimeFramer/FprimeFramerComponentAc.hpp>
Protected Types | |
enum | { NUM_COMSTATUSIN_INPUT_PORTS = 1, NUM_DATAIN_INPUT_PORTS = 1, NUM_DATARETURNIN_INPUT_PORTS = 1 } |
Enumerations for numbers of typed input ports. More... | |
enum | { NUM_TIMECALLER_OUTPUT_PORTS = 1 } |
Enumerations for numbers of special output ports. More... | |
enum | { NUM_BUFFERALLOCATE_OUTPUT_PORTS = 1, NUM_BUFFERDEALLOCATE_OUTPUT_PORTS = 1, NUM_COMSTATUSOUT_OUTPUT_PORTS = 1, NUM_DATAOUT_OUTPUT_PORTS = 1, NUM_DATARETURNOUT_OUTPUT_PORTS = 1 } |
Enumerations for numbers of typed output ports. More... | |
Friends | |
class | FprimeFramerTesterBase |
Friend class tester to support autocoded test harness. More... | |
class | FprimeFramerTester |
Friend class tester implementation to support white-box testing. More... | |
Auto-generated base for FprimeFramer component.
Framer implementation for the F Prime protocol
Definition at line 26 of file FprimeFramerComponentAc.hpp.
|
protected |
Enumerations for numbers of typed input ports.
Enumerator | |
---|---|
NUM_COMSTATUSIN_INPUT_PORTS | |
NUM_DATAIN_INPUT_PORTS | |
NUM_DATARETURNIN_INPUT_PORTS |
Definition at line 46 of file FprimeFramerComponentAc.hpp.
|
protected |
Enumerations for numbers of special output ports.
Enumerator | |
---|---|
NUM_TIMECALLER_OUTPUT_PORTS |
Definition at line 53 of file FprimeFramerComponentAc.hpp.
|
protected |
Enumerations for numbers of typed output ports.
Enumerator | |
---|---|
NUM_BUFFERALLOCATE_OUTPUT_PORTS | |
NUM_BUFFERDEALLOCATE_OUTPUT_PORTS | |
NUM_COMSTATUSOUT_OUTPUT_PORTS | |
NUM_DATAOUT_OUTPUT_PORTS | |
NUM_DATARETURNOUT_OUTPUT_PORTS |
Definition at line 58 of file FprimeFramerComponentAc.hpp.
|
protected |
Construct FprimeFramerComponentBase object.
compName | The component name |
Definition at line 433 of file FprimeFramerComponentAc.cpp.
|
protectedvirtual |
Destroy FprimeFramerComponentBase object.
Definition at line 440 of file FprimeFramerComponentAc.cpp.
|
protected |
Invoke output port bufferAllocate.
portNum | The port number |
size | The requested size |
Definition at line 657 of file FprimeFramerComponentAc.cpp.
|
protected |
Invoke output port bufferDeallocate.
portNum | The port number |
fwBuffer | The buffer |
Definition at line 677 of file FprimeFramerComponentAc.cpp.
|
protectedpure virtual |
Handler for input port comStatusIn.
portNum | The port number |
condition | Condition success/failure |
|
protected |
Handler base-class function for input port comStatusIn.
portNum | The port number |
condition | Condition success/failure |
Definition at line 592 of file FprimeFramerComponentAc.cpp.
|
protected |
Invoke output port comStatusOut.
portNum | The port number |
condition | Condition success/failure |
Definition at line 697 of file FprimeFramerComponentAc.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 611 of file FprimeFramerComponentAc.cpp.
|
protected |
Invoke output port dataOut.
portNum | The port number |
Definition at line 717 of file FprimeFramerComponentAc.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 632 of file FprimeFramerComponentAc.cpp.
|
protected |
Invoke output port dataReturnOut.
portNum | The port number |
Definition at line 739 of file FprimeFramerComponentAc.cpp.
Fw::InputSuccessConditionPort * Svc::FprimeFramerComponentBase::get_comStatusIn_InputPort | ( | FwIndexType | portNum | ) |
Get typed input port at index
portNum | The port number |
Definition at line 218 of file FprimeFramerComponentAc.cpp.
Svc::InputComDataWithContextPort * Svc::FprimeFramerComponentBase::get_dataIn_InputPort | ( | FwIndexType | portNum | ) |
Get typed input port at index
portNum | The port number |
Definition at line 229 of file FprimeFramerComponentAc.cpp.
Svc::InputComDataWithContextPort * Svc::FprimeFramerComponentBase::get_dataReturnIn_InputPort | ( | FwIndexType | portNum | ) |
Get typed input port at index
portNum | The port number |
Definition at line 240 of file FprimeFramerComponentAc.cpp.
|
protected |
Get the number of bufferAllocate output ports
Definition at line 482 of file FprimeFramerComponentAc.cpp.
|
protected |
Get the number of bufferDeallocate output ports
Definition at line 488 of file FprimeFramerComponentAc.cpp.
|
protected |
Get the number of comStatusIn input ports
Definition at line 450 of file FprimeFramerComponentAc.cpp.
|
protected |
Get the number of comStatusOut output ports
Definition at line 494 of file FprimeFramerComponentAc.cpp.
|
protected |
Get the number of dataIn input ports
Definition at line 456 of file FprimeFramerComponentAc.cpp.
|
protected |
Get the number of dataOut output ports
Definition at line 500 of file FprimeFramerComponentAc.cpp.
|
protected |
Get the number of dataReturnIn input ports
Definition at line 462 of file FprimeFramerComponentAc.cpp.
|
protected |
Get the number of dataReturnOut output ports
Definition at line 506 of file FprimeFramerComponentAc.cpp.
|
protected |
Get the number of timeCaller output ports
Definition at line 472 of file FprimeFramerComponentAc.cpp.
|
protected |
void Svc::FprimeFramerComponentBase::init | ( | FwEnumStoreType | instance = 0 | ) |
Initialize FprimeFramerComponentBase object.
instance | The instance number |
Definition at line 21 of file FprimeFramerComponentAc.cpp.
|
protected |
Check whether port bufferAllocate is connected
portNum | The port number |
Definition at line 531 of file FprimeFramerComponentAc.cpp.
|
protected |
Check whether port bufferDeallocate is connected
portNum | The port number |
Definition at line 542 of file FprimeFramerComponentAc.cpp.
|
protected |
Check whether port comStatusOut is connected
portNum | The port number |
Definition at line 553 of file FprimeFramerComponentAc.cpp.
|
protected |
Check whether port dataOut is connected
portNum | The port number |
Definition at line 564 of file FprimeFramerComponentAc.cpp.
|
protected |
Check whether port dataReturnOut is connected
portNum | The port number |
Definition at line 575 of file FprimeFramerComponentAc.cpp.
|
protected |
Check whether port timeCaller is connected
portNum | The port number |
Definition at line 516 of file FprimeFramerComponentAc.cpp.
void Svc::FprimeFramerComponentBase::set_bufferAllocate_OutputPort | ( | FwIndexType | portNum, |
Fw::InputBufferGetPort * | port | ||
) |
Connect port to bufferAllocate[portNum].
portNum | The port number |
port | The input port |
Definition at line 273 of file FprimeFramerComponentAc.cpp.
void Svc::FprimeFramerComponentBase::set_bufferDeallocate_OutputPort | ( | FwIndexType | portNum, |
Fw::InputBufferSendPort * | port | ||
) |
Connect port to bufferDeallocate[portNum].
portNum | The port number |
port | The input port |
Definition at line 287 of file FprimeFramerComponentAc.cpp.
void Svc::FprimeFramerComponentBase::set_comStatusOut_OutputPort | ( | FwIndexType | portNum, |
Fw::InputSuccessConditionPort * | port | ||
) |
Connect port to comStatusOut[portNum].
portNum | The port number |
port | The input port |
Definition at line 301 of file FprimeFramerComponentAc.cpp.
void Svc::FprimeFramerComponentBase::set_dataOut_OutputPort | ( | FwIndexType | portNum, |
Svc::InputComDataWithContextPort * | port | ||
) |
Connect port to dataOut[portNum].
portNum | The port number |
port | The input port |
Definition at line 315 of file FprimeFramerComponentAc.cpp.
void Svc::FprimeFramerComponentBase::set_dataReturnOut_OutputPort | ( | FwIndexType | portNum, |
Svc::InputComDataWithContextPort * | port | ||
) |
Connect port to dataReturnOut[portNum].
portNum | The port number |
port | The input port |
Definition at line 329 of file FprimeFramerComponentAc.cpp.
void Svc::FprimeFramerComponentBase::set_timeCaller_OutputPort | ( | FwIndexType | portNum, |
Fw::InputTimePort * | port | ||
) |
Connect port to timeCaller[portNum].
portNum | The port number |
port | The input port |
Definition at line 255 of file FprimeFramerComponentAc.cpp.
|
friend |
Friend class tester implementation to support white-box testing.
Definition at line 37 of file FprimeFramerComponentAc.hpp.
|
friend |
Friend class tester to support autocoded test harness.
Definition at line 35 of file FprimeFramerComponentAc.hpp.