![]() |
F´ Flight Software - C/C++ Documentation
devel
A framework for building embedded system applications to NASA flight quality standards.
|
Auto-generated base for Deframer component. More...
#include <Svc/Deframer/DeframerComponentAc.hpp>
Protected Types | |
enum | { NUM_CMDRESPONSEIN_INPUT_PORTS = 1 , NUM_FRAMEDIN_INPUT_PORTS = 1 , NUM_SCHEDIN_INPUT_PORTS = 1 } |
Enumerations for numbers of typed input ports. More... | |
enum | { NUM_BUFFERALLOCATE_OUTPUT_PORTS = 1 , NUM_BUFFERDEALLOCATE_OUTPUT_PORTS = 1 , NUM_BUFFEROUT_OUTPUT_PORTS = 1 , NUM_COMOUT_OUTPUT_PORTS = 1 , NUM_FRAMEDDEALLOCATE_OUTPUT_PORTS = 1 , NUM_FRAMEDPOLL_OUTPUT_PORTS = 1 } |
Enumerations for numbers of typed output ports. More... | |
Friends | |
class | DeframerComponentBaseFriend |
Friend class for white-box testing. More... | |
Auto-generated base for Deframer component.
A component for deframing input received from the ground via a byte stream driver, which may be active or passive
Definition at line 30 of file DeframerComponentAc.hpp.
|
protected |
Enumerations for numbers of typed input ports.
Enumerator | |
---|---|
NUM_CMDRESPONSEIN_INPUT_PORTS | |
NUM_FRAMEDIN_INPUT_PORTS | |
NUM_SCHEDIN_INPUT_PORTS |
Definition at line 48 of file DeframerComponentAc.hpp.
|
protected |
Enumerations for numbers of typed output ports.
Enumerator | |
---|---|
NUM_BUFFERALLOCATE_OUTPUT_PORTS | |
NUM_BUFFERDEALLOCATE_OUTPUT_PORTS | |
NUM_BUFFEROUT_OUTPUT_PORTS | |
NUM_COMOUT_OUTPUT_PORTS | |
NUM_FRAMEDDEALLOCATE_OUTPUT_PORTS | |
NUM_FRAMEDPOLL_OUTPUT_PORTS |
Definition at line 55 of file DeframerComponentAc.hpp.
|
protected |
Construct DeframerComponentBase object.
compName | The component name |
Definition at line 479 of file DeframerComponentAc.cpp.
|
protectedvirtual |
Destroy DeframerComponentBase object.
Definition at line 486 of file DeframerComponentAc.cpp.
|
protected |
Invoke output port bufferAllocate.
portNum | The port number |
size | The requested size |
Definition at line 709 of file DeframerComponentAc.cpp.
|
protected |
Invoke output port bufferDeallocate.
portNum | The port number |
fwBuffer | The buffer |
Definition at line 724 of file DeframerComponentAc.cpp.
|
protected |
Invoke output port bufferOut.
portNum | The port number |
fwBuffer | The buffer |
Definition at line 739 of file DeframerComponentAc.cpp.
|
protectedpure virtual |
Handler for input port cmdResponseIn.
portNum | The port number |
opCode | Command Op Code |
cmdSeq | Command Sequence |
response | The command response argument |
|
protected |
Handler base-class function for input port cmdResponseIn.
portNum | The port number |
opCode | Command Op Code |
cmdSeq | Command Sequence |
response | The command response argument |
Definition at line 630 of file DeframerComponentAc.cpp.
|
protected |
Invoke output port comOut.
portNum | The port number |
data | Buffer containing packet data |
context | Call context value; meaning chosen by user |
Definition at line 754 of file DeframerComponentAc.cpp.
|
protected |
Invoke output port framedDeallocate.
portNum | The port number |
fwBuffer | The buffer |
Definition at line 771 of file DeframerComponentAc.cpp.
|
protectedpure virtual |
Handler for input port framedIn.
portNum | The port number |
|
protected |
Handler base-class function for input port framedIn.
portNum | The port number |
Definition at line 653 of file DeframerComponentAc.cpp.
|
protected |
Invoke output port framedPoll.
portNum | The port number |
Definition at line 786 of file DeframerComponentAc.cpp.
Fw::InputCmdResponsePort * Svc::DeframerComponentBase::get_cmdResponseIn_InputPort | ( | NATIVE_INT_TYPE | portNum | ) |
Get typed input port at index
portNum | The port number |
Definition at line 290 of file DeframerComponentAc.cpp.
Drv::InputByteStreamRecvPort * Svc::DeframerComponentBase::get_framedIn_InputPort | ( | NATIVE_INT_TYPE | portNum | ) |
Get typed input port at index
portNum | The port number |
Definition at line 301 of file DeframerComponentAc.cpp.
Svc::InputSchedPort * Svc::DeframerComponentBase::get_schedIn_InputPort | ( | NATIVE_INT_TYPE | portNum | ) |
Get typed input port at index
portNum | The port number |
Definition at line 312 of file DeframerComponentAc.cpp.
|
protected |
Get the number of bufferAllocate output ports
Definition at line 518 of file DeframerComponentAc.cpp.
|
protected |
Get the number of bufferDeallocate output ports
Definition at line 524 of file DeframerComponentAc.cpp.
|
protected |
Get the number of bufferOut output ports
Definition at line 530 of file DeframerComponentAc.cpp.
|
protected |
Get the number of cmdResponseIn input ports
Definition at line 496 of file DeframerComponentAc.cpp.
|
protected |
Get the number of comOut output ports
Definition at line 536 of file DeframerComponentAc.cpp.
|
protected |
Get the number of framedDeallocate output ports
Definition at line 542 of file DeframerComponentAc.cpp.
|
protected |
Get the number of framedIn input ports
Definition at line 502 of file DeframerComponentAc.cpp.
|
protected |
Get the number of framedPoll output ports
Definition at line 548 of file DeframerComponentAc.cpp.
|
protected |
Get the number of schedIn input ports
Definition at line 508 of file DeframerComponentAc.cpp.
void Svc::DeframerComponentBase::init | ( | NATIVE_INT_TYPE | instance = 0 | ) |
Initialize DeframerComponentBase object.
instance | The instance number |
Definition at line 21 of file DeframerComponentAc.cpp.
|
protected |
Check whether port bufferAllocate is connected
portNum | The port number |
Definition at line 558 of file DeframerComponentAc.cpp.
|
protected |
Check whether port bufferDeallocate is connected
portNum | The port number |
Definition at line 569 of file DeframerComponentAc.cpp.
|
protected |
Check whether port bufferOut is connected
portNum | The port number |
Definition at line 580 of file DeframerComponentAc.cpp.
|
protected |
Check whether port comOut is connected
portNum | The port number |
Definition at line 591 of file DeframerComponentAc.cpp.
|
protected |
Check whether port framedDeallocate is connected
portNum | The port number |
Definition at line 602 of file DeframerComponentAc.cpp.
|
protected |
Check whether port framedPoll is connected
portNum | The port number |
Definition at line 613 of file DeframerComponentAc.cpp.
|
protectedvirtual |
Lock the guarded mutex.
Definition at line 808 of file DeframerComponentAc.cpp.
|
protectedpure virtual |
Handler for input port schedIn.
portNum | The port number |
context | The call order |
|
protected |
Handler base-class function for input port schedIn.
portNum | The port number |
context | The call order |
Definition at line 680 of file DeframerComponentAc.cpp.
void Svc::DeframerComponentBase::set_bufferAllocate_OutputPort | ( | NATIVE_INT_TYPE | portNum, |
Fw::InputBufferGetPort * | port | ||
) |
Connect port to bufferAllocate[portNum].
portNum | The port number |
port | The input port |
Definition at line 327 of file DeframerComponentAc.cpp.
void Svc::DeframerComponentBase::set_bufferDeallocate_OutputPort | ( | NATIVE_INT_TYPE | portNum, |
Fw::InputBufferSendPort * | port | ||
) |
Connect port to bufferDeallocate[portNum].
portNum | The port number |
port | The input port |
Definition at line 341 of file DeframerComponentAc.cpp.
void Svc::DeframerComponentBase::set_bufferOut_OutputPort | ( | NATIVE_INT_TYPE | portNum, |
Fw::InputBufferSendPort * | port | ||
) |
Connect port to bufferOut[portNum].
portNum | The port number |
port | The input port |
Definition at line 355 of file DeframerComponentAc.cpp.
void Svc::DeframerComponentBase::set_comOut_OutputPort | ( | NATIVE_INT_TYPE | portNum, |
Fw::InputComPort * | port | ||
) |
Connect port to comOut[portNum].
portNum | The port number |
port | The input port |
Definition at line 369 of file DeframerComponentAc.cpp.
void Svc::DeframerComponentBase::set_framedDeallocate_OutputPort | ( | NATIVE_INT_TYPE | portNum, |
Fw::InputBufferSendPort * | port | ||
) |
Connect port to framedDeallocate[portNum].
portNum | The port number |
port | The input port |
Definition at line 383 of file DeframerComponentAc.cpp.
void Svc::DeframerComponentBase::set_framedPoll_OutputPort | ( | NATIVE_INT_TYPE | portNum, |
Drv::InputByteStreamPollPort * | port | ||
) |
Connect port to framedPoll[portNum].
portNum | The port number |
port | The input port |
Definition at line 397 of file DeframerComponentAc.cpp.
|
protectedvirtual |
Unlock the guarded mutex.
Definition at line 814 of file DeframerComponentAc.cpp.
|
friend |
Friend class for white-box testing.
Definition at line 39 of file DeframerComponentAc.hpp.