All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Namespaces | Macros | Typedefs
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

 openfluid
 
 openfluid::ware
 

Macros

#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 fabre.nosp@m.jc@s.nosp@m.upagr.nosp@m.o.in.nosp@m.ra.fr

Macro Definition Documentation

#define DECLARE_SIMULATOR_PLUGIN
Value:
extern "C" \
{ \
}
Abstract class for simulator plugin.
Definition: PluggableSimulator.hpp:113
#define WAREABIVERSION_PROC_DECL
Definition: PluggableWare.hpp:72
#define WAREBODY_PROC_DECL
Definition: PluggableWare.hpp:60
Definition: SimulatorSignature.hpp:435
#define WARESIGNATURE_PROC_DECL
Definition: PluggableWare.hpp:66
#define DLLEXPORT
Definition: dllexport.hpp:51

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(); \
}
#define WAREABIVERSION_PROC_DECL
Definition: PluggableWare.hpp:72
#define WAREBODY_PROC_DECL
Definition: PluggableWare.hpp:60

Macro for definition of simulator hook

Parameters
[in]pluginclassnameThe name of the class to instantiate