Classes | Namespaces | Macros
XManagerRegister.h File Reference
#include <boost/utility.hpp>
#include <det/ManagerRegister.h>
#include <det/ManagerBuilderRegisterEntry.h>
#include <det/ManagerBuilder.h>
#include <utl/Singleton.h>
#include <utl/ErrorLogger.h>

Go to the source code of this file.

Classes

class  det::XManagerRegister< DetectorInfo >
 Singleton Template MangerRegister for arbitrary detector type (X stands for an unknown detector type, be it M, S, F, for instance). More...
 

Namespaces

 det
 

Macros

#define REGISTER_X_MANAGER(_name_, _Type_, _RegisterClassName_)
 General manager registration macro. More...
 

Macro Definition Documentation

#define REGISTER_X_MANAGER (   _name_,
  _Type_,
  _RegisterClassName_ 
)
Value:

General manager registration macro.

Extra last param, wrt the usual macros, in order to accomodate the particular class name. The particular registers based on this template should create their own macro via the proper instantiation of this one. For instance this could be the definition of a define: REGISTER_S_MANAGER(name, Type) \ REGISTER_X_MANAGER(name,Type,sdet::SManagerRegister)

The name of the class employed here is expected to be the same (without namespace qualification) as the one given via the template argument (see below).

Definition at line 26 of file XManagerRegister.h.


, generated on Tue Sep 26 2023.