Bridge++  Version 1.5.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
director.h
Go to the documentation of this file.
1 
15 #ifndef DIRECTOR_INCLUDED
16 #define DIRECTOR_INCLUDED
17 
18 #include "bridge_defs.h"
20 #include "Parameters/parameters.h"
21 
22 #include "Field/field_G.h"
23 
24 #include "IO/bridgeIO.h"
25 
27 
37 class Director
38 {
39  protected:
41 
42  public:
44  : m_vl(CommonParameters::Vlevel()) {}
45  virtual ~Director() {}
46 
47  private:
48  // non-copyable
49  Director(const Director&);
50  Director& operator=(const Director&);
51 
52  public:
53  // To be called when link variable is updated.
54  virtual void notify_linkv() = 0;
55 
56  virtual void set_parameters(const Parameters& params) = 0;
57 
59 
60  virtual void set_config(Field *U) = 0;
61  virtual void set_config(unique_ptr<Field_G>& U) = 0;
62 };
63 #endif
Container of Field-type object.
Definition: field.h:45
virtual void notify_linkv()=0
Class for parameters.
Definition: parameters.h:46
Director()
Definition: director.h:43
void set_parameter_verboselevel(const Bridge::VerboseLevel vl)
Definition: director.h:58
Manager of commonly used data object in HMC.
Definition: director.h:37
Bridge::VerboseLevel m_vl
Definition: director.h:40
Common parameter class: provides parameters as singleton.
virtual void set_parameters(const Parameters &params)=0
Director & operator=(const Director &)
Bridge::VerboseLevel vl
VerboseLevel
Definition: bridgeIO.h:42
virtual void set_config(Field *U)=0
virtual ~Director()
Definition: director.h:45