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

Header of ... More...

#include <string>
#include <openfluid/dllexport.hpp>
#include <openfluid/ware/SimulatorSignature.hpp>
#include <openfluid/core/TypeDefs.hpp>
#include <openfluid/base/SchedulingRequest.hpp>
#include <openfluid/base/LoopMacros.hpp>
#include <openfluid/core/DateTime.hpp>
#include <openfluid/core/Unit.hpp>
#include <openfluid/core/CoreRepository.hpp>
#include <openfluid/core/Event.hpp>
#include <openfluid/core/EventsColl.hpp>
#include <openfluid/ware/SimulationContributorWare.hpp>

Go to the source code of this file.

Classes

class  openfluid::ware::PluggableSimulator
 Abstract class for simulator plugin. More...

Namespaces

namespace  openfluid
namespace  openfluid::ware

Defines

#define DECLARE_SIMULATOR_PLUGIN
#define DEFINE_SIMULATOR_CLASS(pluginclassname)

Typedefs

typedef PluggableSimulator *(* openfluid::ware::GetPluggableSimulatorBodyProc )()
typedef SimulatorSignature *(* openfluid::ware::GetPluggableSimulatorSignatureProc )()

Detailed Description

Header of ...

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

Define Documentation

Value:

Macro for declaration of simulator and signature hooks

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

Macro for definition of simulator hook

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