CIRCT  20.0.0git
Classes | Public Member Functions | Private Attributes | List of all members
esi::services::CallService Class Reference

Service for servicing function calls from the accelerator. More...

#include <Services.h>

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

Classes

class  Callback
 A function call which gets attached to a service port. More...
 

Public Member Functions

 CallService (AcceleratorConnection *acc, AppIDPath id, std::string implName, ServiceImplDetails details, HWClientDetails clients)
 
virtual std::string getServiceSymbol () const override
 
virtual ServicePortgetPort (AppIDPath id, const BundleType *type, const std::map< std::string, ChannelPort & > &, AcceleratorConnection &) const override
 Get specialized port for this service to attach to the given appid path. More...
 
- Public Member Functions inherited from esi::services::Service
virtual ~Service ()=default
 
virtual ServicegetChildService (AcceleratorConnection *conn, Service::Type service, AppIDPath id={}, std::string implName={}, ServiceImplDetails details={}, HWClientDetails clients={})
 Create a "child" service of this service. More...
 

Private Attributes

std::string symbol
 

Additional Inherited Members

- Public Types inherited from esi::services::Service
using Type = const std::type_info &
 

Detailed Description

Service for servicing function calls from the accelerator.

Definition at line 277 of file Services.h.

Constructor & Destructor Documentation

◆ CallService()

CallService::CallService ( AcceleratorConnection acc,
AppIDPath  id,
std::string  implName,
ServiceImplDetails  details,
HWClientDetails  clients 
)

Member Function Documentation

◆ getPort()

ServicePort * CallService::getPort ( AppIDPath  id,
const BundleType type,
const std::map< std::string, ChannelPort & > &  ,
AcceleratorConnection  
) const
overridevirtual

Get specialized port for this service to attach to the given appid path.

Null returns mean nothing to attach.

Reimplemented from esi::services::Service.

Definition at line 233 of file Services.cpp.

◆ getServiceSymbol()

std::string CallService::getServiceSymbol ( ) const
overridevirtual

Implements esi::services::Service.

Definition at line 230 of file Services.cpp.

References esi::services::FuncService::symbol.

Member Data Documentation

◆ symbol

std::string esi::services::CallService::symbol
private

Definition at line 319 of file Services.h.


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