CIRCT
19.0.0git
|
A function call which gets attached to a service port. More...
#include <Services.h>
Public Member Functions | |
void | connect () |
std::future< MessageData > | call (const MessageData &arg) |
![]() | |
virtual | ~ServicePort ()=default |
BundlePort (AppID id, std::map< std::string, ChannelPort & > channels) | |
Construct a port. More... | |
![]() | |
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... | |
Static Public Member Functions | |
static Function * | get (AppID id, WriteChannelPort &arg, ReadChannelPort &result) |
![]() | |
static bool | isWrite (BundleType::Direction bundleDir) |
Compute the direction of a channel given the bundle direction and the bundle port's direction. More... | |
Private Member Functions | |
Function (AppID id, const std::map< std::string, ChannelPort & > &channels) | |
Private Attributes | |
std::mutex | callMutex |
WriteChannelPort & | arg |
ReadChannelPort & | result |
Friends | |
class | FuncService |
A function call which gets attached to a service port.
Definition at line 166 of file Services.h.
|
private |
Definition at line 105 of file Services.cpp.
References assert(), and esi::BundlePort::channels.
std::future< MessageData > FuncService::Function::call | ( | const MessageData & | arg | ) |
Definition at line 125 of file Services.cpp.
Referenced by esiaccel.types.FunctionPort::__call__().
void FuncService::Function::connect | ( | ) |
Definition at line 119 of file Services.cpp.
Referenced by PYBIND11_MODULE().
|
static |
Definition at line 113 of file Services.cpp.
|
friend |
Definition at line 167 of file Services.h.
|
private |
Definition at line 179 of file Services.h.
|
private |
Definition at line 178 of file Services.h.
|
private |
Definition at line 180 of file Services.h.