GranOO  3.0
A robust and versatile workbench to build 3D dynamic simulations based on the Discrete Element Method
Classes | Namespaces | Macros
PlugIn.hpp File Reference
#include <vector>
#include <map>
#include <functional>
#include <chrono>
#include "GranOO3/Core/PlugInManager.hpp"
#include "GranOO3/Core/ObjectFactory.hpp"
#include "GranOO3/Core/Macro.hpp"

Go to the source code of this file.

Classes

class  GranOO3::Core::PlugIn
 
class  GranOO3::Core::PlugInInterface< T >
 

Namespaces

 GranOO3
 
 GranOO3::Math
 This namespace group the entire Math library.
 
 GranOO3::Core
 This namespace group the entire Core library.
 

Macros

#define DECLARE_STD_GRANOO_PLUGIN(T)
 
#define DECLARE_STD_GRANOO_PLUGIN_ID(CLASSID)
 
#define DECLARE_CUSTOM_GRANOO_PLUGIN(T)
 
#define DECLARE_CUSTOM_GRANOO_PLUGIN_ID(CLASSID)
 
#define REGISTER_GRANOO_PLUGIN(T)    const bool T::register_granoo_plugin_ = Core::PlugInInterface<T>::record(__FILE__);
 
#define REGISTER_GRANOO_PLUGIN_DESC(T, desc)    const bool T::register_granoo_plugin_ = Core::PlugInInterface<T>::record(__FILE__, desc);
 
#define REGISTER_GRANOO_PLUGIN_T(T)    template<> const bool T::register_granoo_plugin_ = Core::PlugInInterface<T>::record(__FILE__);
 
#define REGISTER_GRANOO_PLUGIN_DESC_T(T, desc)    template<> const bool T::register_granoo_plugin_ = Core::PlugInInterface<T>::record(__FILE__, desc);
 

Macro Definition Documentation

◆ DECLARE_CUSTOM_GRANOO_PLUGIN

#define DECLARE_CUSTOM_GRANOO_PLUGIN (   T)
Value:
public: \
static const bool register_granoo_plugin_; \
static const std::string class_ID() {return std::string(#T);}

◆ DECLARE_CUSTOM_GRANOO_PLUGIN_ID

#define DECLARE_CUSTOM_GRANOO_PLUGIN_ID (   CLASSID)
Value:
public: \
static const bool register_granoo_plugin_; \
static const std::string class_ID() {return std::string(CLASSID);}

◆ DECLARE_STD_GRANOO_PLUGIN

#define DECLARE_STD_GRANOO_PLUGIN (   T)
Value:
public: \
static const bool register_granoo_plugin_; \
static const std::string class_ID() {return std::string(#T);}

◆ DECLARE_STD_GRANOO_PLUGIN_ID

#define DECLARE_STD_GRANOO_PLUGIN_ID (   CLASSID)
Value:
public: \
static const bool register_granoo_plugin_; \
static const std::string class_ID() {return std::string(CLASSID);}

◆ REGISTER_GRANOO_PLUGIN

#define REGISTER_GRANOO_PLUGIN (   T)     const bool T::register_granoo_plugin_ = Core::PlugInInterface<T>::record(__FILE__);

◆ REGISTER_GRANOO_PLUGIN_DESC

#define REGISTER_GRANOO_PLUGIN_DESC (   T,
  desc 
)     const bool T::register_granoo_plugin_ = Core::PlugInInterface<T>::record(__FILE__, desc);

◆ REGISTER_GRANOO_PLUGIN_DESC_T

#define REGISTER_GRANOO_PLUGIN_DESC_T (   T,
  desc 
)     template<> const bool T::register_granoo_plugin_ = Core::PlugInInterface<T>::record(__FILE__, desc);

◆ REGISTER_GRANOO_PLUGIN_T

#define REGISTER_GRANOO_PLUGIN_T (   T)     template<> const bool T::register_granoo_plugin_ = Core::PlugInInterface<T>::record(__FILE__);