CIRCT  19.0.0git
Public Member Functions | List of all members
esi::services::ServicePort Class Reference

Add a custom interface to a service client at a particular point in the design hierarchy. More...

#include <Services.h>

Inheritance diagram for esi::services::ServicePort:
Inheritance graph
[legend]
Collaboration diagram for esi::services::ServicePort:
Collaboration graph
[legend]

Public Member Functions

virtual ~ServicePort ()=default
 
 BundlePort (AppID id, std::map< std::string, ChannelPort & > channels)
 Construct a port. More...
 
- Public Member Functions inherited from esi::BundlePort
 BundlePort (AppID id, std::map< std::string, ChannelPort & > channels)
 Construct a port. More...
 
virtual ~BundlePort ()=default
 
AppID getID () const
 Get the ID of the port. More...
 
WriteChannelPortgetRawWrite (const std::string &name) const
 Get access to the raw byte streams of a channel. More...
 
ReadChannelPortgetRawRead (const std::string &name) const
 
const std::map< std::string, ChannelPort & > & getChannels () const
 
template<typename T >
T * getAs () const
 Cast this Bundle port to a subclass which is actually useful. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from esi::BundlePort
static bool isWrite (BundleType::Direction bundleDir)
 Compute the direction of a channel given the bundle direction and the bundle port's direction. More...
 

Detailed Description

Add a custom interface to a service client at a particular point in the design hierarchy.

Definition at line 34 of file Services.h.

Constructor & Destructor Documentation

◆ ~ServicePort()

virtual esi::services::ServicePort::~ServicePort ( )
virtualdefault

Member Function Documentation

◆ BundlePort()

BundlePort::BundlePort

Construct a port.

Definition at line 156 of file Ports.cpp.


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