CIRCT 24.0.0git
Loading...
Searching...
No Matches
esi::services::CallService Class Reference

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

#include <Services.h>

Inheritance diagram for esi::services::CallService:
Collaboration diagram for esi::services::CallService:

Classes

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

Public Member Functions

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

Private Attributes

std::string symbol

Additional Inherited Members

Public Types inherited from esi::services::Service
using Type = const std::type_info &
Protected Attributes inherited from esi::services::Service
AcceleratorConnection & conn

Detailed Description

Service for servicing function calls from the accelerator.

Definition at line 427 of file Services.h.

Constructor & Destructor Documentation

◆ CallService()

CallService::CallService ( AcceleratorConnection & acc,
AppIDPath id,
ServiceImplDetails details )

Definition at line 338 of file Services.cpp.

References esi::services::Service::Service(), and symbol.

Member Function Documentation

◆ getPort()

BundlePort * CallService::getPort ( AppIDPath id,
const BundleType * type ) 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 348 of file Services.cpp.

References esi::services::Service::conn.

◆ getServiceSymbol()

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

Implements esi::services::Service.

Definition at line 346 of file Services.cpp.

References symbol.

Member Data Documentation

◆ symbol

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

Definition at line 481 of file Services.h.

Referenced by CallService(), and getServiceSymbol().


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