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 )() |
Header of ...
#define DECLARE_SIMULATOR_PLUGIN |
extern "C" \ { \ DLLEXPORT std::string WAREABIVERSION_PROC_DECL(); \ DLLEXPORT openfluid::ware::PluggableSimulator* WAREBODY_PROC_DECL(); \ DLLEXPORT openfluid::ware::SimulatorSignature* WARESIGNATURE_PROC_DECL(); \ }
Macro for declaration of simulator and signature hooks
#define DEFINE_SIMULATOR_CLASS | ( | pluginclassname | ) |
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
[in] | pluginclassname | The name of the class to instantiate |