4
* This file YarpPlugin.h is created at Almende B.V. It is open-source software and part
5
* of the Common Hybrid Agent Platform (CHAP). A toolbox with a lot of open-source tools.
6
* Ranging from thread pools, and TCP/IP components to control architectures and learning
7
* algorithms. This software is published under the GNU Lesser General Public license,
9
* It is not possible to add usage restrictions to an open-source license. Nevertheless,
10
* we personally strongly object against this software used by the military, in the
11
* bio-industry, for animal experimentation, or anything that violates the Universal
12
* Declaration of Human Rights.
14
* @author Anne C. van Rossum
16
* @project Replicator FP7
17
* @company Almende B.V.
28
#include <srCore/pluginEntryPointBase.h>
29
#include <srCore/singleton.h>
30
#include <srInterface/YarpedSim.h>
32
namespace srInterface {
34
/* **************************************************************************************
35
* Interface of YarpPlugin
36
* **************************************************************************************/
39
class YarpPlugin: public srCore::PluginEntryPointBase {
42
* Constructor YarpPlugin
47
* Destructor ~YarpPlugin
49
virtual ~YarpPlugin();
51
/// The to-be-overloaded function called from Robot3D
52
virtual void StartPlugin(dtGame::GameApplication &application);
57
YarpedSim *yarped_sim;
63
* YarpPluginSingleton, this is the class definition that can be used. Use it by
64
* YarpPluginSingleton::Instance().
66
typedef srCore::Singleton<srInterface::YarpPlugin> YarpPluginSingleton;
69
#endif /* YARPPLUGIN_H_ */