XBotInterface  2.4.1
XBotInterface provides a generic API to model and control a robot.
Macros
SoLib.h File Reference
#include <map>
#include <string>
#include <iostream>
#include <dlfcn.h>
#include <XBotInterface/RtLog.hpp>
+ Include dependency graph for SoLib.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define REGISTER_SO_LIB_(class_name, base_class)
 

Macro Definition Documentation

◆ REGISTER_SO_LIB_

#define REGISTER_SO_LIB_ (   class_name,
  base_class 
)
Value:
extern "C" base_class* create_instance() \
{ \
return new class_name(); \
}\
\
extern "C" void destroy_instance( base_class* instance ) \
{ \
delete instance; \
}\