CIRCT 24.0.0git
Loading...
Searching...
No Matches
SerialCoordOutputBatch::TypeDeserializer Class Reference
Inheritance diagram for SerialCoordOutputBatch::TypeDeserializer:
Collaboration diagram for SerialCoordOutputBatch::TypeDeserializer:

Public Types

using Base = QueuedDecodeTypeDeserializer<SerialCoordOutputBatch>
using OutputCallback = Base::OutputCallback
using DecodedOutputs = Base::DecodedOutputs
Public Types inherited from esi::QueuedDecodeTypeDeserializer< SerialCoordOutputBatch >
using OutputCallback
using DecodedOutputs

Public Member Functions

 TypeDeserializer (OutputCallback output)
Public Member Functions inherited from esi::QueuedDecodeTypeDeserializer< SerialCoordOutputBatch >
 QueuedDecodeTypeDeserializer (OutputCallback output)
virtual ~QueuedDecodeTypeDeserializer ()=default
bool push (std::unique_ptr< SegmentedMessageData > &msg)
 Push one raw message into the deserializer.
bool poke ()
 Retry delivery of any typed outputs which were previously blocked by the client callback.

Private Member Functions

DecodedOutputs decode (std::unique_ptr< SegmentedMessageData > &msg) override
 Decode one raw message into zero or more typed outputs.

Private Attributes

std::vector< Coord > accumulated
std::vector< uint8_t > partialFrameBytes
size_t remainingCoords = 0

Detailed Description

Definition at line 2326 of file esitester.cpp.

Member Typedef Documentation

◆ Base

◆ DecodedOutputs

◆ OutputCallback

Constructor & Destructor Documentation

◆ TypeDeserializer()

SerialCoordOutputBatch::TypeDeserializer::TypeDeserializer ( OutputCallback output)
inlineexplicit

Member Function Documentation

◆ decode()

DecodedOutputs SerialCoordOutputBatch::TypeDeserializer::decode ( std::unique_ptr< SegmentedMessageData > & msg)
inlineoverrideprivatevirtual

Member Data Documentation

◆ accumulated

std::vector<Coord> SerialCoordOutputBatch::TypeDeserializer::accumulated
private

Definition at line 2386 of file esitester.cpp.

Referenced by decode().

◆ partialFrameBytes

std::vector<uint8_t> SerialCoordOutputBatch::TypeDeserializer::partialFrameBytes
private

Definition at line 2387 of file esitester.cpp.

Referenced by decode().

◆ remainingCoords

size_t SerialCoordOutputBatch::TypeDeserializer::remainingCoords = 0
private

Definition at line 2388 of file esitester.cpp.

Referenced by decode().


The documentation for this class was generated from the following file: