Belle II Software development
Proxy Class Reference

Internal class that registers a variable with Manager when constructed. More...

#include <Manager.h>

Public Member Functions

 Proxy (const std::string &name, Manager::FunctionPtr f, const std::string &description, Manager::VariableDataType v, const std::string &unit="")
 constructor.
 
 Proxy (const std::string &name, Manager::ParameterFunctionPtr f, const std::string &description, Manager::VariableDataType v, const std::string &unit="")
 constructor.
 
 Proxy (const std::string &name, Manager::MetaFunctionPtr f, const std::string &description, Manager::VariableDataType v)
 constructor.
 

Detailed Description

Internal class that registers a variable with Manager when constructed.

Definition at line 309 of file Manager.h.

Constructor & Destructor Documentation

◆ Proxy() [1/3]

Proxy ( const std::string &  name,
Manager::FunctionPtr  f,
const std::string &  description,
Manager::VariableDataType  v,
const std::string &  unit = "" 
)
inline

constructor.

Definition at line 312 of file Manager.h.

314 {
315 Manager::Instance().registerVariable(name, f, description, v, unit);
316 }
static Manager & Instance()
get singleton instance.
Definition: Manager.cc:25
void registerVariable(const std::string &name, const Manager::FunctionPtr &f, const std::string &description, const Manager::VariableDataType &v, const std::string &unit="")
Register a variable.
Definition: Manager.cc:331

◆ Proxy() [2/3]

Proxy ( const std::string &  name,
Manager::ParameterFunctionPtr  f,
const std::string &  description,
Manager::VariableDataType  v,
const std::string &  unit = "" 
)
inline

constructor.

Definition at line 318 of file Manager.h.

320 {
321 Manager::Instance().registerVariable(name, f, description, v, unit);
322 }

◆ Proxy() [3/3]

Proxy ( const std::string &  name,
Manager::MetaFunctionPtr  f,
const std::string &  description,
Manager::VariableDataType  v 
)
inline

constructor.

Definition at line 324 of file Manager.h.

325 {
326 Manager::Instance().registerVariable(name, f, description, v);
327 }

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