|
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...
|
|
| DeframerComponentBase (const char *compName="") |
| Construct DeframerComponentBase object. More...
|
|
virtual | ~DeframerComponentBase () |
| Destroy DeframerComponentBase object. More...
|
|
FwIndexType | getNum_cmdResponseIn_InputPorts () const |
|
FwIndexType | getNum_framedIn_InputPorts () const |
|
FwIndexType | getNum_schedIn_InputPorts () const |
|
FwIndexType | getNum_bufferAllocate_OutputPorts () const |
|
FwIndexType | getNum_bufferDeallocate_OutputPorts () const |
|
FwIndexType | getNum_bufferOut_OutputPorts () const |
|
FwIndexType | getNum_comOut_OutputPorts () const |
|
FwIndexType | getNum_framedDeallocate_OutputPorts () const |
|
FwIndexType | getNum_framedPoll_OutputPorts () const |
|
bool | isConnected_bufferAllocate_OutputPort (FwIndexType portNum) |
|
bool | isConnected_bufferDeallocate_OutputPort (FwIndexType portNum) |
|
bool | isConnected_bufferOut_OutputPort (FwIndexType portNum) |
|
bool | isConnected_comOut_OutputPort (FwIndexType portNum) |
|
bool | isConnected_framedDeallocate_OutputPort (FwIndexType portNum) |
|
bool | isConnected_framedPoll_OutputPort (FwIndexType portNum) |
|
void | cmdResponseIn_handlerBase (FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdResponse &response) |
| Handler base-class function for input port cmdResponseIn. More...
|
|
void | framedIn_handlerBase (FwIndexType portNum, Fw::Buffer &recvBuffer, const Drv::RecvStatus &recvStatus) |
| Handler base-class function for input port framedIn. More...
|
|
void | schedIn_handlerBase (FwIndexType portNum, U32 context) |
| Handler base-class function for input port schedIn. More...
|
|
Fw::Buffer | bufferAllocate_out (FwIndexType portNum, U32 size) |
| Invoke output port bufferAllocate. More...
|
|
void | bufferDeallocate_out (FwIndexType portNum, Fw::Buffer &fwBuffer) |
| Invoke output port bufferDeallocate. More...
|
|
void | bufferOut_out (FwIndexType portNum, Fw::Buffer &fwBuffer) |
| Invoke output port bufferOut. More...
|
|
void | comOut_out (FwIndexType portNum, Fw::ComBuffer &data, U32 context) |
| Invoke output port comOut. More...
|
|
void | framedDeallocate_out (FwIndexType portNum, Fw::Buffer &fwBuffer) |
| Invoke output port framedDeallocate. More...
|
|
Drv::PollStatus | framedPoll_out (FwIndexType portNum, Fw::Buffer &pollBuffer) |
| Invoke output port framedPoll. More...
|
|
virtual void | lock () |
| Lock the guarded mutex. More...
|
|
virtual void | unLock () |
| Unlock the guarded mutex. More...
|
|
| PassiveComponentBase (const char *name) |
| Named constructor. More...
|
|
virtual | ~PassiveComponentBase () |
| Destructor. More...
|
|
void | init (NATIVE_INT_TYPE instance) |
| Initialization function. More...
|
|
NATIVE_INT_TYPE | getInstance () const |
|
| ObjBase (const char *name) |
| ObjBase constructor. More...
|
|
virtual | ~ObjBase () |
| Destructor. More...
|
|
void | init () |
| Object initializer. More...
|
|
Generic deframing component using DeframingProtocol implementation for actual deframing.
Deframing component used to take byte streams and expand them into Com/File buffers. This is done using a deframing protocol specified in a DeframingProtocol instance. The instance must be supplied using the setup
method.
Using this component, projects can implement and supply a fresh DeframingProtocol implementation without changing the reference topology.
Implementation uses a circular buffer to store incoming data, which is drained one framed packet at a time into buffers dispatched to the rest of the system.
Definition at line 38 of file Deframer.hpp.