NLS Engine  v0.1
The Next Logical Step in game engine design.
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Defines
Classes | Typedefs
ModuleManager.h File Reference

A manager class to load and start modules. More...

#include <string>
#include <map>
#include <boost/foreach.hpp>
#include "../sharedbase/MessageRouter.h"
#include "../sharedbase/Envelope_fwd.h"
#include "../sharedbase/OSInterface_fwd.h"
#include <dlfcn.h>
Include dependency graph for ModuleManager.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


class  ModuleManager


typedef ModuleInterface *(* ModuleInstanceFactory )(PropertyMap *, MessageRouter *, EntityList *, EventLogger *, OSInterfaceSPTR)
typedef void * DLLHANDLE

Detailed Description

A manager class to load and start modules.

Adam Martin
2011-10-23 A manager that can load/unload and start/stop modules at runtime through dynamically loaded libraries. The use of a common interface ModuleInterface allows us to have a uniform loading and starting procedure.

Definition in file ModuleManager.h.