Apollo  6.0
Open source self driving car software
Public Member Functions | Protected Attributes | List of all members
apollo::cyber::ServiceBase Class Referenceabstract

Base class for Service. More...

#include <service_base.h>

Inheritance diagram for apollo::cyber::ServiceBase:
Inheritance graph
Collaboration diagram for apollo::cyber::ServiceBase:
Collaboration graph

Public Member Functions

 ServiceBase (const std::string &service_name)
 Construct a new Service Base object. More...
 
virtual ~ServiceBase ()
 
virtual void destroy ()=0
 
const std::string & service_name () const
 Get the service name. More...
 

Protected Attributes

std::string service_name_
 

Detailed Description

Base class for Service.

Constructor & Destructor Documentation

◆ ServiceBase()

apollo::cyber::ServiceBase::ServiceBase ( const std::string &  service_name)
inlineexplicit

Construct a new Service Base object.

Parameters
service_namename of this Service

◆ ~ServiceBase()

virtual apollo::cyber::ServiceBase::~ServiceBase ( )
inlinevirtual

Member Function Documentation

◆ destroy()

virtual void apollo::cyber::ServiceBase::destroy ( )
pure virtual

◆ service_name()

const std::string& apollo::cyber::ServiceBase::service_name ( ) const
inline

Get the service name.

Member Data Documentation

◆ service_name_

std::string apollo::cyber::ServiceBase::service_name_
protected

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