|
| 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...
|
| |
| NATIVE_INT_TYPE | getNum_cmdResponseIn_InputPorts () const |
| |
| NATIVE_INT_TYPE | getNum_framedIn_InputPorts () const |
| |
| NATIVE_INT_TYPE | getNum_schedIn_InputPorts () const |
| |
| NATIVE_INT_TYPE | getNum_bufferAllocate_OutputPorts () const |
| |
| NATIVE_INT_TYPE | getNum_bufferDeallocate_OutputPorts () const |
| |
| NATIVE_INT_TYPE | getNum_bufferOut_OutputPorts () const |
| |
| NATIVE_INT_TYPE | getNum_comOut_OutputPorts () const |
| |
| NATIVE_INT_TYPE | getNum_framedDeallocate_OutputPorts () const |
| |
| NATIVE_INT_TYPE | getNum_framedPoll_OutputPorts () const |
| |
| bool | isConnected_bufferAllocate_OutputPort (NATIVE_INT_TYPE portNum) |
| |
| bool | isConnected_bufferDeallocate_OutputPort (NATIVE_INT_TYPE portNum) |
| |
| bool | isConnected_bufferOut_OutputPort (NATIVE_INT_TYPE portNum) |
| |
| bool | isConnected_comOut_OutputPort (NATIVE_INT_TYPE portNum) |
| |
| bool | isConnected_framedDeallocate_OutputPort (NATIVE_INT_TYPE portNum) |
| |
| bool | isConnected_framedPoll_OutputPort (NATIVE_INT_TYPE portNum) |
| |
| void | cmdResponseIn_handlerBase (NATIVE_INT_TYPE portNum, FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdResponse &response) |
| | Handler base-class function for input port cmdResponseIn. More...
|
| |
| void | framedIn_handlerBase (NATIVE_INT_TYPE portNum, Fw::Buffer &recvBuffer, const Drv::RecvStatus &recvStatus) |
| | Handler base-class function for input port framedIn. More...
|
| |
| void | schedIn_handlerBase (NATIVE_INT_TYPE portNum, NATIVE_UINT_TYPE context) |
| | Handler base-class function for input port schedIn. More...
|
| |
| Fw::Buffer | bufferAllocate_out (NATIVE_INT_TYPE portNum, U32 size) |
| | Invoke output port bufferAllocate. More...
|
| |
| void | bufferDeallocate_out (NATIVE_INT_TYPE portNum, Fw::Buffer &fwBuffer) |
| | Invoke output port bufferDeallocate. More...
|
| |
| void | bufferOut_out (NATIVE_INT_TYPE portNum, Fw::Buffer &fwBuffer) |
| | Invoke output port bufferOut. More...
|
| |
| void | comOut_out (NATIVE_INT_TYPE portNum, Fw::ComBuffer &data, U32 context) |
| | Invoke output port comOut. More...
|
| |
| void | framedDeallocate_out (NATIVE_INT_TYPE portNum, Fw::Buffer &fwBuffer) |
| | Invoke output port framedDeallocate. More...
|
| |
| Drv::PollStatus | framedPoll_out (NATIVE_INT_TYPE 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 37 of file Deframer.hpp.