CIRCT  20.0.0git
Public Member Functions | Protected Attributes | List of all members
esi::services::CustomService Class Reference

A service for which there are no standard services registered. More...

#include <Services.h>

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

Public Member Functions

 CustomService (AppIDPath idPath, const ServiceImplDetails &details, const HWClientDetails &clients)
 
virtual ~CustomService ()=default
 
virtual std::string getServiceSymbol () const override
 
- 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...
 
virtual ServicePortgetPort (AppIDPath id, const BundleType *type, const std::map< std::string, ChannelPort & > &, AcceleratorConnection &) const
 Get specialized port for this service to attach to the given appid path. More...
 

Protected Attributes

std::string serviceSymbol
 
AppIDPath id
 

Additional Inherited Members

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

Detailed Description

A service for which there are no standard services registered.

Requires ports be added to the design hierarchy instead of high level interfaces like the ones in StdServices.h.

Definition at line 77 of file Services.h.

Constructor & Destructor Documentation

◆ CustomService()

CustomService::CustomService ( AppIDPath  idPath,
const ServiceImplDetails details,
const HWClientDetails clients 
)

Definition at line 168 of file Services.cpp.

References serviceSymbol.

◆ ~CustomService()

virtual esi::services::CustomService::~CustomService ( )
virtualdefault

Member Function Documentation

◆ getServiceSymbol()

virtual std::string esi::services::CustomService::getServiceSymbol ( ) const
inlineoverridevirtual

Implements esi::services::Service.

Definition at line 83 of file Services.h.

References serviceSymbol.

Member Data Documentation

◆ id

AppIDPath esi::services::CustomService::id
protected

Definition at line 89 of file Services.h.

◆ serviceSymbol

std::string esi::services::CustomService::serviceSymbol
protected

Definition at line 88 of file Services.h.

Referenced by CustomService(), and getServiceSymbol().


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