Blockstructured Adaptive Mesh Refinement in object-oriented C++
00001 #ifndef NMWR_GB_MUTATOR_BASE_H 00002 #define NMWR_GB_MUTATOR_BASE_H 00003 00009 #include "streams_CompConf.h" 00010 #include "string_CompConf.h" 00011 00018 class Mutator { 00019 public: 00020 virtual void read (istream& in) = 0; 00021 virtual void print(ostream& out) const = 0; 00022 virtual void print(ostream& out, const string& name) const = 0; 00023 virtual string description() const; 00024 virtual ~Mutator() {} 00025 }; 00026 00027 class ControlDevice; 00028 00036 class controlable { 00037 public: 00038 virtual void register_at(ControlDevice&,const string& /*prefix*/) {} 00039 virtual void register_at(ControlDevice&) {} 00040 // virtual void unregister_at(ControlDevice&) = 0; 00041 00042 virtual void notify() {} // may be used to signal a change 00043 virtual ~controlable() {} 00044 }; 00045 00046 00047 #endif
Quickstart Users Guide Programmers Reference Installation Examples Download
AMROC Main Home Contactlast update: 06/01/04