CIRCT
20.0.0git
|
Add a custom interface to a service client at a particular point in the design hierarchy. More...
#include <Services.h>
Public Member Functions | |
virtual | ~ServicePort ()=default |
virtual std::optional< std::string > | toString () const |
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... | |
WriteChannelPort & | getRawWrite (const std::string &name) const |
Get access to the raw byte streams of a channel. More... | |
ReadChannelPort & | getRawRead (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... | |
bool | poll () |
Calls poll on all channels in the bundle and returns true if any of them returned true. 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... | |
Add a custom interface to a service client at a particular point in the design hierarchy.
Definition at line 35 of file Services.h.
|
virtualdefault |
|
inlinevirtual |
Reimplemented in esi::services::CallService::Callback, esi::services::FuncService::Function, and esi::services::MMIO::MMIORegion.
Definition at line 40 of file Services.h.