Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/shared_lib/src/util/loading/dynamic_loader.h @ 7169

Last change on this file since 7169 was 7169, checked in by bensch, 18 years ago

shared_lib: some functionality

File size: 592 bytes
Line 
1/*!
2 * @file dynamic_loader.h
3 * @brief Definition of The Dynamic Loader Factory.
4*/
5
6#ifndef _DYNAMIC_LOADER_H
7#define _DYNAMIC_LOADER_H
8
9#include "factory.h"
10
11#include <string>
12
13// FORWARD DECLARATION
14
15//! A class for ...
16class DynamicLoader : public BaseObject
17{
18
19public:
20  DynamicLoader(const std::string& libName);
21  virtual ~DynamicLoader();
22
23  bool loadDynamicLib(const std::string& libName);
24  virtual BaseObject* fabricateObject(const TiXmlElement* root = NULL) const;
25
26  static bool loadDyLib(const char* libName);
27
28
29private:
30  void*      handle;
31};
32
33#endif /* _DYNAMIC_LOADER_H */
Note: See TracBrowser for help on using the repository browser.