replicode
Public Types | Public Member Functions | Static Public Member Functions | Static Private Member Functions | Private Attributes | Static Private Attributes | List of all members
mBrane::sdk::ModuleRegister Class Reference

#include <module_register.h>

Collaboration diagram for mBrane::sdk::ModuleRegister:
Collaboration graph

Public Types

typedef module::_Module *(* ModuleBuilder) ()
 

Public Member Functions

 ModuleRegister ()
 
 ~ModuleRegister ()
 
module::_ModulebuildModule () const
 
const char * name () const
 

Static Public Member Functions

static uint16_t Load (ModuleBuilder b, const char *className)
 
static ModuleRegisterGet (uint16_t CID)
 
static uint16_t GetCID (const char *className)
 
static uint16_t Count ()
 
static void Cleanup ()
 

Static Private Member Functions

static Array< ModuleRegister, 1024 > * Get ()
 

Private Attributes

ModuleBuilder _builder
 
char class_name [255]
 

Static Private Attributes

static Array< ModuleRegister, 1024 > * Modules = NULL
 

Member Typedef Documentation

typedef module::_Module*(* mBrane::sdk::ModuleRegister::ModuleBuilder) ()

Constructor & Destructor Documentation

mBrane::sdk::ModuleRegister::ModuleRegister ( )
mBrane::sdk::ModuleRegister::~ModuleRegister ( )

Member Function Documentation

module::_Module * mBrane::sdk::ModuleRegister::buildModule ( ) const
void mBrane::sdk::ModuleRegister::Cleanup ( )
static
uint16_t mBrane::sdk::ModuleRegister::Count ( )
inlinestatic
Array< ModuleRegister, 1024 > * mBrane::sdk::ModuleRegister::Get ( )
staticprivate

Here is the caller graph for this function:

ModuleRegister * mBrane::sdk::ModuleRegister::Get ( uint16_t  CID)
static

Here is the call graph for this function:

uint16_t mBrane::sdk::ModuleRegister::GetCID ( const char *  className)
static
uint16_t mBrane::sdk::ModuleRegister::Load ( ModuleBuilder  b,
const char *  className 
)
static

Here is the call graph for this function:

const char * mBrane::sdk::ModuleRegister::name ( ) const

Member Data Documentation

ModuleBuilder mBrane::sdk::ModuleRegister::_builder
private
char mBrane::sdk::ModuleRegister::class_name[255]
private
Array< ModuleRegister, 1024 > * mBrane::sdk::ModuleRegister::Modules = NULL
staticprivate

The documentation for this class was generated from the following files: