Bayeux  3.4.1
Core Foundation library for SuperNEMO
Classes | Namespaces | Macros
base_service.h File Reference
#include <iostream>
#include <map>
#include <stdexcept>
#include <typeinfo>
#include <vector>
#include <boost/function/function_base.hpp>
#include <datatools/enriched_base.h>
#include <datatools/i_tree_dump.h>
#include <datatools/service_tools.h>
#include <datatools/factory_macros.h>
#include <datatools/exception.h>
#include "datatools/factory-inl.h"
#include <datatools/logger.h>
#include <datatools/reflection_interface.h>
#include <datatools/service_tools-inl.h>

Go to the source code of this file.

Classes

class  datatools::base_service
 The base service class. More...
 

Namespaces

 datatools
 The Bayeux/datatools library top-level namespace.
 

Macros

#define DATATOOLS_SERVICE_REGISTRATION_INTERFACE(SERVICE_CLASS_NAME)
 
#define DATATOOLS_SERVICE_REGISTRATION_IMPLEMENT(SERVICE_CLASS_NAME, SERVICE_ID)
 

Macro Definition Documentation

◆ DATATOOLS_SERVICE_REGISTRATION_IMPLEMENT

#define DATATOOLS_SERVICE_REGISTRATION_IMPLEMENT (   SERVICE_CLASS_NAME,
  SERVICE_ID 
)
Value:
std::string SERVICE_CLASS_NAME::service_class_id() const {return SERVICE_ID;}
The base service class.
Definition: base_service.h:68
#define DATATOOLS_FACTORY_SYSTEM_AUTO_REGISTRATION_IMPLEMENTATION(BaseType, DerivedType, DerivedTypeId)
Implementation macro of the automated registration for derived classes.
Definition: factory_macros.h:95

◆ DATATOOLS_SERVICE_REGISTRATION_INTERFACE

#define DATATOOLS_SERVICE_REGISTRATION_INTERFACE (   SERVICE_CLASS_NAME)
Value:
private: \
DATATOOLS_FACTORY_SYSTEM_AUTO_REGISTRATION_INTERFACE(::datatools::base_service, SERVICE_CLASS_NAME) \
public: \
virtual std::string service_class_id() const; \
The base service class.
Definition: base_service.h:68