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

#include <class_register.h>

Collaboration diagram for mBrane::sdk::ClassRegister:
Collaboration graph

Public Types

typedef void *(* Allocator) (uint32_t)
 

Public Member Functions

 ClassRegister ()
 
 ~ClassRegister ()
 
Allocator allocator () const
 
size_t offset () const
 

Static Public Member Functions

template<class C >
static uint64_t Load (uint16_t CID)
 
template<class C >
static uint64_t Load ()
 
static uint16_t Load (const char *className)
 
static ClassRegisterGet (uint16_t CID)
 
static uint16_t GetCID (const char *className)
 
static uint16_t Count ()
 
static void Cleanup ()
 

Public Attributes

char class_name [255]
 

Static Public Attributes

static const uint16_t NoClass = 0xFFFF
 

Static Private Member Functions

static Array< ClassRegister, 128 > * Get ()
 

Private Attributes

Allocator _allocator
 
size_t _offset
 

Static Private Attributes

static Array< ClassRegister, 128 > * Classes = NULL
 

Member Typedef Documentation

typedef void*(* mBrane::sdk::ClassRegister::Allocator) (uint32_t)

Constructor & Destructor Documentation

mBrane::sdk::ClassRegister::ClassRegister ( )
mBrane::sdk::ClassRegister::~ClassRegister ( )

Member Function Documentation

ClassRegister::Allocator mBrane::sdk::ClassRegister::allocator ( ) const

Here is the caller graph for this function:

void mBrane::sdk::ClassRegister::Cleanup ( )
static
uint16_t mBrane::sdk::ClassRegister::Count ( )
inlinestatic
Array< ClassRegister, 128 > * mBrane::sdk::ClassRegister::Get ( )
staticprivate

Here is the caller graph for this function:

ClassRegister * mBrane::sdk::ClassRegister::Get ( uint16_t  CID)
inlinestatic
uint16_t mBrane::sdk::ClassRegister::GetCID ( const char *  className)
static
template<class C >
uint64_t mBrane::sdk::ClassRegister::Load ( uint16_t  CID)
static

Here is the call graph for this function:

template<class C >
uint64_t mBrane::sdk::ClassRegister::Load ( )
static
uint16_t mBrane::sdk::ClassRegister::Load ( const char *  className)
static

Here is the call graph for this function:

size_t mBrane::sdk::ClassRegister::offset ( ) const

Here is the caller graph for this function:

Member Data Documentation

Allocator mBrane::sdk::ClassRegister::_allocator
private
size_t mBrane::sdk::ClassRegister::_offset
private
char mBrane::sdk::ClassRegister::class_name[255]
Array< ClassRegister, 128 > * mBrane::sdk::ClassRegister::Classes = NULL
staticprivate
const uint16_t mBrane::sdk::ClassRegister::NoClass = 0xFFFF
static

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