CIRCT 21.0.0git
Loading...
Searching...
No Matches
Classes | Public Member Functions | Private Attributes | List of all members
esi::services::FuncService Class Reference

Service for calling functions. More...

#include <Services.h>

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

Classes

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

Public Member Functions

 FuncService (AppIDPath id, AcceleratorConnection &, ServiceImplDetails details, HWClientDetails clients)
 
virtual std::string getServiceSymbol () const override
 
virtual BundlePortgetPort (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 ServicegetChildService (Service::Type service, AppIDPath id={}, std::string implName={}, ServiceImplDetails details={}, HWClientDetails clients={})
 Create a "child" service of this service.
 
AcceleratorConnectiongetConnection () 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
AcceleratorConnectionconn
 

Detailed Description

Service for calling functions.

Definition at line 252 of file Services.h.

Constructor & Destructor Documentation

◆ FuncService()

FuncService::FuncService ( AppIDPath  id,
AcceleratorConnection conn,
ServiceImplDetails  details,
HWClientDetails  clients 
)

Definition at line 178 of file Services.cpp.

References symbol.

Member Function Documentation

◆ getPort()

BundlePort * FuncService::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 189 of file Services.cpp.

References esi::services::Service::conn, esi::AcceleratorConnection::getEngineMapFor(), and esi::BundleEngineMap::requestPorts().

◆ getServiceSymbol()

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

Implements esi::services::Service.

Definition at line 187 of file Services.cpp.

References symbol.

Member Data Documentation

◆ symbol

std::string esi::services::FuncService::symbol
private

Definition at line 290 of file Services.h.

Referenced by FuncService(), and getServiceSymbol().


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