CIRCT  19.0.0git
Public Member Functions | Private Attributes | List of all members
esi::ChannelType Class Reference

Channels are the basic communication primitives. More...

#include <Types.h>

Inheritance diagram for esi::ChannelType:
Inheritance graph
[legend]
Collaboration diagram for esi::ChannelType:
Collaboration graph
[legend]

Public Member Functions

 ChannelType (const ID &id, const Type *inner)
 
const TypegetInner () const
 
std::ptrdiff_t getBitWidth () const override
 
- Public Member Functions inherited from esi::Type
 Type (const ID &id)
 
virtual ~Type ()=default
 
ID getID () const
 

Private Attributes

const Typeinner
 

Additional Inherited Members

- Public Types inherited from esi::Type
using ID = std::string
 
- Protected Attributes inherited from esi::Type
ID id
 

Detailed Description

Channels are the basic communication primitives.

They are unidirectional and carry one values of one type.

Definition at line 63 of file Types.h.

Constructor & Destructor Documentation

◆ ChannelType()

esi::ChannelType::ChannelType ( const ID id,
const Type inner 
)
inline

Definition at line 65 of file Types.h.

Member Function Documentation

◆ getBitWidth()

std::ptrdiff_t esi::ChannelType::getBitWidth ( ) const
inlineoverridevirtual

Reimplemented from esi::Type.

Definition at line 67 of file Types.h.

References esi::Type::getBitWidth(), and inner.

◆ getInner()

const Type* esi::ChannelType::getInner ( ) const
inline

Definition at line 66 of file Types.h.

References inner.

Referenced by PYBIND11_MODULE().

Member Data Documentation

◆ inner

const Type* esi::ChannelType::inner
private

Definition at line 70 of file Types.h.

Referenced by getBitWidth(), and getInner().


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