14 const std::unordered_set<std::string>& tags)
15 :
Module(owner, name, description, tags) {
16 if(owner ==
nullptr) {
17 throw ChimeraTK::logic_error(
"VariableGroups: owner cannot be nullptr!");
30 const std::unordered_set<std::string>& tags)
31 :
Module(owner, name, description, tags) {
47 model.informMove(*
this);
virtual void unregisterModule(Module *module)
Unregister another module as a sub-module.
bool isValid() const
Check if the model is valid.
std::string getFullyQualifiedPath() const
Return the fully qualified path.
void remove(VariableGroup &module)
VariableGroupProxy add(VariableGroup &module)
Base class for ApplicationModule and DeviceModule, to have a common interface for these module types.
Module & operator=(Module &&other) noexcept
Move assignment operator.
ChimeraTK::Model::VariableGroupProxy _model
std::string getVirtualQualifiedName() const override
VariableGroup & operator=(VariableGroup &&other) noexcept
Move assignment.
ChimeraTK::Model::VariableGroupProxy getModel()
Return the application model proxy representing this module.
void unregisterModule(Module *module) override
Unregister another module as a sub-module.
VariableGroup()=default
Default constructor: Allows late initialisation of VariableGroups (e.g.
InvalidityTracer application module.