40 #ifndef __OPENFLUID_WARE_PLUGGABLEOBSERVER_HPP__ 41 #define __OPENFLUID_WARE_PLUGGABLEOBSERVER_HPP__ 58 #define DECLARE_OBSERVER_PLUGIN 69 #define DEFINE_OBSERVER_CLASS(pluginclassname) \ 72 OPENFLUID_PLUGIN std::string WAREABIVERSION_PROC_DECL() \ 74 return std::string(openfluid::config::VERSION_FULL); \ 77 OPENFLUID_PLUGIN openfluid::ware::PluggableObserver* WAREBODY_PROC_DECL() \ 79 return new pluginclassname(); \ 103 void initializeWare(
const WareID_t& SimID);
113 virtual void onPrepared()=0;
119 virtual void onInitializedRun()=0;
124 virtual void onStepCompleted()=0;
129 virtual void onFinalizedRun()=0;
Definition: SimulationInspectorWare.hpp:55
Definition: ObserverSignature.hpp:53
std::string WareID_t
Definition: TypeDefs.hpp:49
Definition: ApplicationException.hpp:47
#define OPENFLUID_API
Definition: dllexport.hpp:86
Definition: PluggableObserver.hpp:91
std::map< WareParamKey_t, WareParamValue_t > WareParams_t
Definition: TypeDefs.hpp:128