Classes | Namespaces | Defines | Typedefs
ware/PluggableObserver.hpp File Reference

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 )()

Detailed Description

Header of ...

Author:
Jean-Christophe FABRE <fabrejc@supagro.inra.fr>

Define Documentation

Value:

Macro for declaration of observer and signature hooks

#define DEFINE_OBSERVER_CLASS (   pluginclassname)
Value:
std::string WAREABIVERSION_PROC_DECL() \
  { \
    return std::string(openfluid::config::FULL_VERSION); \
  } \
  \
  openfluid::ware::PluggableObserver* WAREBODY_PROC_DECL() \
  { \
    return new pluginclassname(); \
  }

Macro for definition of observer class hook

Parameters:
[in]pluginclassnameThe name of the class to instantiate
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines