#include "DynLoad.h"
#include <dlfcn.h>
#include <vector>
#include <stdlib.h>
#include <sys/types.h>
#include <sys/stat.h>
Go to the source code of this file.
Typedefs | |
typedef int(* | LoaderFunction )() |
Functions | |
unsigned | DYFileTime (const string sFileName) |
bool | LoadModule (const string FullModuleName, int iPlace) |
bool | UpdateDynLoad () |
Update Dynamic Loader System (Should be called about once per frame). | |
bool | InitDynLoad () |
Initialize Dynamic Loader System (Should be called as one of the first things in a program's execution). | |
void | RuntimeRegisterObject (const char *sName, ProducerFunct t) |
Variables | |
vector< string > | gAllObjects |
vector< string > | gAllCurFNames |
vector< void * > | gAllDLHandles |
vector< int > | gRepCounts |
vector< unsigned > | gSecTimes |
void * | OperatingOldVtable |
typedef int(* LoaderFunction)() |
Definition at line 21 of file DynLoad.cpp.
unsigned DYFileTime | ( | const string | sFileName | ) |
Definition at line 27 of file DynLoad.cpp.
bool InitDynLoad | ( | ) |
Initialize Dynamic Loader System (Should be called as one of the first things in a program's execution).
Definition at line 110 of file DynLoad.cpp.
bool LoadModule | ( | const string | FullModuleName, | |
int | iPlace | |||
) |
Definition at line 36 of file DynLoad.cpp.
void RuntimeRegisterObject | ( | const char * | sName, | |
ProducerFunct | t | |||
) |
Definition at line 137 of file DynLoad.cpp.
bool UpdateDynLoad | ( | ) |
Update Dynamic Loader System (Should be called about once per frame).
Definition at line 99 of file DynLoad.cpp.
vector< string > gAllCurFNames |
Definition at line 12 of file DynLoad.cpp.
vector< void * > gAllDLHandles |
Definition at line 13 of file DynLoad.cpp.
vector< string > gAllObjects |
Definition at line 11 of file DynLoad.cpp.
vector< int > gRepCounts |
Definition at line 15 of file DynLoad.cpp.
vector< unsigned > gSecTimes |
Definition at line 16 of file DynLoad.cpp.
void* OperatingOldVtable |
Definition at line 22 of file DynLoad.cpp.