CPPGPGPU Library - Reference (Doxygen)

Main Page | General Use | Reference | Examples Info | Get/Download CPPGPGPU | SF.net Page

DynLoad.h File Reference

#include "Node.h"

Go to the source code of this file.

Defines

#define REGISTER_SHARED(type)
 Register a shared object for dynamic use, put this in your SO's Source's CPP file.

Functions

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)


Define Documentation

#define REGISTER_SHARED ( type   ) 

Value:

REGISTER_CLASS( type ); \
    extern "C" { \
    int RegisterAllInShared() { \
        printf( "Loading: %s\n", #type ); \
        RuntimeRegisterObject( #type, Produce##type ); } \
    };
Register a shared object for dynamic use, put this in your SO's Source's CPP file.

Definition at line 17 of file DynLoad.h.


Function Documentation

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.

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.


© 2005-2007 Charles Lohr, Joshua Allen, David Chapman, Andrew Lohr. All material including documentation under the MIT/X11 license.