CIRCT 24.0.0git
Loading...
Searching...
No Matches
SerialCoordBurst Struct Reference
Inheritance diagram for SerialCoordBurst:
Collaboration diagram for SerialCoordBurst:

Public Member Functions

 SerialCoordBurst ()
void yTranslation (uint32_t yTrans)
void xTranslation (uint32_t xTrans)
void appendCoord (uint32_t x, uint32_t y)
size_t numSegments () const override
 Number of segments in the message.
Segment segment (size_t idx) const override
 Get a segment by index. Throws if the segment has been take()n.
Public Member Functions inherited from esi::SegmentedMessageData
virtual ~SegmentedMessageData ()=default
virtual std::unique_ptr< services::HostMemRegion > take (size_t segIdx)
 Optionally called by a backend once it has transmitted segment segIdx, to obtain ownership of the HostMem region backing it (e.g.
size_t totalSize () const
 Total size across all segments.
bool empty () const
 True if totalSize() == 0.
virtual MessageData toMessageData () const
 Flatten all segments into a standard MessageData.

Private Attributes

SerialCoordHeader header
std::vector< SerialCoordData > coords

Detailed Description

Definition at line 2274 of file esitester.cpp.

Constructor & Destructor Documentation

◆ SerialCoordBurst()

SerialCoordBurst::SerialCoordBurst ( )
inline

Definition at line 2280 of file esitester.cpp.

References header.

Member Function Documentation

◆ appendCoord()

void SerialCoordBurst::appendCoord ( uint32_t x,
uint32_t y )
inline

Definition at line 2287 of file esitester.cpp.

References coords, and header.

◆ numSegments()

size_t SerialCoordBurst::numSegments ( ) const
inlineoverridevirtual

Number of segments in the message.

Implements esi::SegmentedMessageData.

Definition at line 2292 of file esitester.cpp.

◆ segment()

Segment SerialCoordBurst::segment ( size_t idx) const
inlineoverridevirtual

Get a segment by index. Throws if the segment has been take()n.

Implements esi::SegmentedMessageData.

Definition at line 2293 of file esitester.cpp.

References coords, and header.

◆ xTranslation()

void SerialCoordBurst::xTranslation ( uint32_t xTrans)
inline

Definition at line 2286 of file esitester.cpp.

References header.

◆ yTranslation()

void SerialCoordBurst::yTranslation ( uint32_t yTrans)
inline

Definition at line 2285 of file esitester.cpp.

References header.

Member Data Documentation

◆ coords

std::vector<SerialCoordData> SerialCoordBurst::coords
private

Definition at line 2277 of file esitester.cpp.

Referenced by appendCoord(), and segment().

◆ header

SerialCoordHeader SerialCoordBurst::header
private

Definition at line 2276 of file esitester.cpp.

Referenced by appendCoord(), segment(), SerialCoordBurst(), xTranslation(), and yTranslation().


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