CIRCT 23.0.0git
Loading...
Searching...
No Matches
Public Member Functions | Private Member Functions | Private Attributes | List of all members
esi::TypedWritePort< T, CheckValue > Class Template Reference

#include <TypedPorts.h>

Collaboration diagram for esi::TypedWritePort< T, CheckValue >:
Collaboration graph
[legend]

Public Member Functions

 TypedWritePort (WriteChannelPort &port)
 
 TypedWritePort (WriteChannelPort *port)
 
void connect (const ChannelPort::ConnectOptions &opts={})
 
void write (const T &data)
 
bool tryWrite (const T &data)
 
bool flush ()
 
void disconnect ()
 
bool isConnected () const
 
WriteChannelPortraw ()
 
const WriteChannelPortraw () const
 

Private Member Functions

void checkValueRange (const T &data)
 

Private Attributes

WriteChannelPortinner
 
WireInfo wireInfo_
 

Detailed Description

template<typename T, bool CheckValue = false>
class esi::TypedWritePort< T, CheckValue >

Definition at line 224 of file TypedPorts.h.

Constructor & Destructor Documentation

◆ TypedWritePort() [1/2]

template<typename T , bool CheckValue = false>
esi::TypedWritePort< T, CheckValue >::TypedWritePort ( WriteChannelPort port)
inlineexplicit

Definition at line 226 of file TypedPorts.h.

◆ TypedWritePort() [2/2]

template<typename T , bool CheckValue = false>
esi::TypedWritePort< T, CheckValue >::TypedWritePort ( WriteChannelPort port)
inline

Definition at line 228 of file TypedPorts.h.

Member Function Documentation

◆ checkValueRange()

template<typename T , bool CheckValue = false>
void esi::TypedWritePort< T, CheckValue >::checkValueRange ( const T &  data)
inlineprivate

◆ connect()

template<typename T , bool CheckValue = false>
void esi::TypedWritePort< T, CheckValue >::connect ( const ChannelPort::ConnectOptions opts = {})
inline

Definition at line 230 of file TypedPorts.h.

Referenced by runLoopbackI8().

◆ disconnect()

template<typename T , bool CheckValue = false>
void esi::TypedWritePort< T, CheckValue >::disconnect ( )
inline

◆ flush()

template<typename T , bool CheckValue = false>
bool esi::TypedWritePort< T, CheckValue >::flush ( )
inline

◆ isConnected()

template<typename T , bool CheckValue = false>
bool esi::TypedWritePort< T, CheckValue >::isConnected ( ) const
inline

◆ raw() [1/2]

template<typename T , bool CheckValue = false>
WriteChannelPort & esi::TypedWritePort< T, CheckValue >::raw ( )
inline

Definition at line 254 of file TypedPorts.h.

References esi::TypedWritePort< T, CheckValue >::inner.

◆ raw() [2/2]

template<typename T , bool CheckValue = false>
const WriteChannelPort & esi::TypedWritePort< T, CheckValue >::raw ( ) const
inline

Definition at line 255 of file TypedPorts.h.

References esi::TypedWritePort< T, CheckValue >::inner.

◆ tryWrite()

template<typename T , bool CheckValue = false>
bool esi::TypedWritePort< T, CheckValue >::tryWrite ( const T &  data)
inline

◆ write()

template<typename T , bool CheckValue = false>
void esi::TypedWritePort< T, CheckValue >::write ( const T &  data)
inline

Member Data Documentation

◆ inner

template<typename T , bool CheckValue = false>
WriteChannelPort* esi::TypedWritePort< T, CheckValue >::inner
private

◆ wireInfo_

template<typename T , bool CheckValue = false>
WireInfo esi::TypedWritePort< T, CheckValue >::wireInfo_
private

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