CIRCT 22.0.0git
Loading...
Searching...
No Matches
Classes | Public Member Functions | Public Attributes | List of all members
esi::ChannelPort::TranslationInfo Struct Reference

Instructions for translating windowed types. More...

#include <Ports.h>

Collaboration diagram for esi::ChannelPort::TranslationInfo:
Collaboration graph
[legend]

Classes

struct  CopyOp
 A copy operation for translating between frame data and the translation. More...
 
struct  FrameInfo
 Information about each frame in the windowed type. More...
 
struct  ListFieldInfo
 Information about a list field within a frame (for parallel encoding). More...
 

Public Member Functions

 TranslationInfo (const WindowType *windowType)
 
void precomputeFrameInfo ()
 Precompute and optimize the copy operations for translating frames.
 

Public Attributes

const WindowTypewindowType
 The window type being translated.
 
std::vector< FrameInfoframes
 Precomputed information about each frame.
 
size_t intoTypeBytes = 0
 Size of the 'into' type in bytes (for fixed-size types).
 
bool hasListField = false
 True if the window contains a list field (variable-size message).
 

Detailed Description

Instructions for translating windowed types.

Precomputes and optimizes a list of copy operations.

Definition at line 137 of file Ports.h.

Constructor & Destructor Documentation

◆ TranslationInfo()

esi::ChannelPort::TranslationInfo::TranslationInfo ( const WindowType windowType)
inline

Definition at line 138 of file Ports.h.

Member Function Documentation

◆ precomputeFrameInfo()

void ChannelPort::TranslationInfo::precomputeFrameInfo ( )

Member Data Documentation

◆ frames

std::vector<FrameInfo> esi::ChannelPort::TranslationInfo::frames

Precomputed information about each frame.

Definition at line 187 of file Ports.h.

Referenced by precomputeFrameInfo().

◆ hasListField

bool esi::ChannelPort::TranslationInfo::hasListField = false

True if the window contains a list field (variable-size message).

Definition at line 192 of file Ports.h.

Referenced by precomputeFrameInfo().

◆ intoTypeBytes

size_t esi::ChannelPort::TranslationInfo::intoTypeBytes = 0

Size of the 'into' type in bytes (for fixed-size types).

For types with lists, this is the size of the fixed header portion.

Definition at line 190 of file Ports.h.

Referenced by precomputeFrameInfo().

◆ windowType

const WindowType* esi::ChannelPort::TranslationInfo::windowType

The window type being translated.

Definition at line 144 of file Ports.h.

Referenced by precomputeFrameInfo().


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