40#ifndef __OPENFLUID_WARE_PLUGGABLEOBSERVER_HPP__
41#define __OPENFLUID_WARE_PLUGGABLEOBSERVER_HPP__
58#define DEFINE_OBSERVER_CLASS(pluginclassname) \
61 OPENFLUID_PLUGIN const std::string* WAREABIVERSION_PROC_DECL() \
63 return new std::string(openfluid::config::VERSION_FULL); \
66 OPENFLUID_PLUGIN openfluid::ware::PluggableObserver* WAREBODY_PROC_DECL() \
68 return new pluginclassname(); \
89 using SimulationInspectorWare::initializeWare;
Definition ObserverSignature.hpp:54
Definition PluggableObserver.hpp:81
virtual void onFinalizedRun()=0
virtual ~PluggableObserver()
void initializeWare(const WareID_t &SimID)
virtual void onInitializedRun()=0
virtual void initParams(const openfluid::ware::WareParams_t &Params)=0
virtual void onPrepared()=0
virtual void onStepCompleted()=0
Definition SimulationInspectorWare.hpp:56
#define OPENFLUID_API
Definition dllexport.hpp:86
std::string WareID_t
Definition TypeDefs.hpp:49
std::map< WareParamKey_t, WareParamValue_t > WareParams_t
Definition TypeDefs.hpp:146
Definition ApplicationException.hpp:47