CIRCT 23.0.0git
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
SerialCoordBurst Struct Reference
Inheritance diagram for SerialCoordBurst:
Inheritance graph
[legend]
Collaboration diagram for SerialCoordBurst:
Collaboration graph
[legend]

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.
 
- Public Member Functions inherited from esi::SegmentedMessageData
virtual ~SegmentedMessageData ()=default
 
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< SerialCoordDatacoords
 

Detailed Description

Definition at line 1884 of file esitester.cpp.

Constructor & Destructor Documentation

◆ SerialCoordBurst()

SerialCoordBurst::SerialCoordBurst ( )
inline

Member Function Documentation

◆ appendCoord()

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

Definition at line 1897 of file esitester.cpp.

References coords, SerialCoordHeader::coordsCount, and header.

◆ numSegments()

size_t SerialCoordBurst::numSegments ( ) const
inlineoverridevirtual

Number of segments in the message.

Implements esi::SegmentedMessageData.

Definition at line 1902 of file esitester.cpp.

◆ segment()

Segment SerialCoordBurst::segment ( size_t  idx) const
inlineoverridevirtual

Get a segment by index.

Implements esi::SegmentedMessageData.

Definition at line 1903 of file esitester.cpp.

References coords, header, and esi::Segment::size.

◆ xTranslation()

void SerialCoordBurst::xTranslation ( uint32_t  xTrans)
inline

Definition at line 1896 of file esitester.cpp.

References header, and SerialCoordHeader::xTranslation.

◆ yTranslation()

void SerialCoordBurst::yTranslation ( uint32_t  yTrans)
inline

Definition at line 1895 of file esitester.cpp.

References header, and SerialCoordHeader::yTranslation.

Member Data Documentation

◆ coords

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

Definition at line 1887 of file esitester.cpp.

Referenced by appendCoord(), and segment().

◆ header

SerialCoordHeader SerialCoordBurst::header
private

Definition at line 1886 of file esitester.cpp.

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


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