2
* @file loadComponents.h
4
* This file loadComponents.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.
22
#ifndef LOADCOMPONENTS_H_
23
#define LOADCOMPONENTS_H_
29
#include <osg/Referenced>
32
#include <boost/filesystem.hpp>
35
#include <dtGame/gameapplication.h>
39
/* **************************************************************************************
40
* Interface of loadComponents
41
* **************************************************************************************/
44
class LoadComponents: public osg::Referenced {
47
* Constructor loadComponents
52
* Destructor ~loadComponents
54
virtual ~LoadComponents();
59
void LoadLibs(dtGame::GameApplication &application);
64
void SetLibPath(const std::string &libpath);
73
boost::filesystem::path path;
75
std::vector<std::string> library;
79
std::vector<void*> handles;
84
#endif /* LOADCOMPONENTS_H_ */