Namespaces | Macros
derivator.cpp File Reference
#include <sot/core/derivator.hh>
#include <sot/core/factory.hh>
#include <sot/core/derivator-impl.hh>
Include dependency graph for derivator.cpp:

Go to the source code of this file.

Namespaces

 dynamicgraph
 
 dynamicgraph::sot
 

Macros

#define SOT_FACTORY_TEMPLATE_ENTITY_PLUGIN(sotClassType, sotType, className)
 

Macro Definition Documentation

◆ SOT_FACTORY_TEMPLATE_ENTITY_PLUGIN

#define SOT_FACTORY_TEMPLATE_ENTITY_PLUGIN (   sotClassType,
  sotType,
  className 
)
Value:
template <> \
template <> \
std::string sotClassType<sotType>::getTypeName(void) { \
return #sotType; \
} \
template <> \
const std::string sotClassType<sotType>::CLASS_NAME = \
std::string(className) + "_of_" + #sotType; \
extern "C" { \
Entity *regFunction##_##sotType##_##sotClassType( \
const std::string &objname) { \
return new sotClassType<sotType>(objname); \
} \
EntityRegisterer regObj##_##sotType##_##sotClassType( \
std::string(className) + "_of_" + #sotType, \
&regFunction##_##sotType##_##sotClassType); \
}

Definition at line 36 of file derivator.cpp.

dynamicgraph::sot::Derivator
Definition: derivator.hh:39


sot-core
Author(s): Olivier Stasse, ostasse@laas.fr
autogenerated on Tue Oct 24 2023 02:26:32