Header of ... More...
#include <openfluid/dllexport.hpp>
#include <openfluid/ware/SimulationInspectorWare.hpp>
#include <openfluid/ware/ObserverSignature.hpp>
#include <openfluid/base/LoopMacros.hpp>
Go to the source code of this file.
Classes | |
class | openfluid::ware::PluggableObserver |
Namespaces | |
namespace | openfluid |
namespace | openfluid::ware |
Defines | |
#define | DECLARE_OBSERVER_PLUGIN |
#define | DEFINE_OBSERVER_CLASS(pluginclassname) |
Typedefs | |
typedef PluggableObserver *(* | openfluid::ware::GetPluggableObserverBodyProc )() |
typedef ObserverSignature *(* | openfluid::ware::GetPluggableObserverSignatureProc )() |
Header of ...
#define DECLARE_OBSERVER_PLUGIN |
extern "C" \ { \ DLLEXPORT std::string GetWareABIVersion(); \ DLLEXPORT openfluid::ware::PluggableObserver* GetWareBody(); \ DLLEXPORT openfluid::ware::ObserverSignature* GetWareSignature(); \ }
Macro for declaration of observer and signature hooks
#define DEFINE_OBSERVER_CLASS | ( | pluginclassname | ) |
std::string GetWareABIVersion() \
{ \
return std::string(openfluid::config::FULL_VERSION); \
} \
\
openfluid::ware::PluggableObserver* GetWareBody() \
{ \
return new pluginclassname(); \
}
Macro for definition of observer class hook
[in] | pluginclassname | The name of the class to instantiate |