NAP
Public Member Functions | Protected Member Functions | List of all members
SerialService Class Reference

#include <serialservice.h>

Public Member Functions

 SerialService (ServiceConfiguration *configuration)
 
virtual ~SerialService () override
 
- Public Member Functions inherited from Service
UNPREFIXED_MODULE_NAME_INPUTCASE Service (ServiceConfiguration *configuration)
 
virtual void getDependentServices (std::vector< rtti::TypeInfo > &dependencies) override
 
virtual void update (double deltaTime) override
 
 Service (ServiceConfiguration *configuration)
 
virtual ~Service ()
 
CoregetCore ()
 
const CoregetCore () const
 
std::string getTypeName () const
 
const ModulegetModule () const
 
 Service (Service &)=delete
 
Serviceoperator= (const Service &)=delete
 
 Service (Service &&)=delete
 
Serviceoperator= (Service &&)=delete
 

Protected Member Functions

virtual bool init (utility::ErrorState &error) override
 
virtual void shutdown () override
 
- Protected Member Functions inherited from Service
virtual void registerObjectCreators (rtti::Factory &factory)
 
virtual void getDependentServices (std::vector< rtti::TypeInfo > &dependencies)
 
virtual void created ()
 
virtual void preUpdate (double deltaTime)
 
virtual void update (double deltaTime)
 
virtual void postUpdate (double deltaTime)
 
virtual void preShutdown ()
 
virtual void preResourcesLoaded ()
 
virtual void postResourcesLoaded ()
 
template<typename SERVICE_CONFIG >
SERVICE_CONFIG * getConfiguration ()
 
template<typename SERVICE_CONFIG >
const SERVICE_CONFIG * getConfiguration () const
 
std::string getIniFilePath () const
 
std::string getIniFilePath (const std::string &appendix) const
 

Description

Manages the serial library.

Inheritance diagram for SerialService:
[legend]
Collaboration diagram for SerialService:
[legend]

Constructor & Destructor Documentation

◆ SerialService()

SerialService ( ServiceConfiguration configuration)

Default constructor

◆ ~SerialService()

virtual ~SerialService ( )
overridevirtual

Explicitly frees the serial API

Member Function Documentation

◆ init()

virtual bool init ( utility::ErrorState error)
overrideprotectedvirtual

Initialize serial related functionality

Reimplemented from Service.

◆ shutdown()

virtual void shutdown ( )
overrideprotectedvirtual

Shuts down all serial related functionality

Reimplemented from Service.