cee::CoreComponent Class Reference

Static class for initialization of the Core component. More...

Static Public Member Functions

static PtrRef< Instanceinitialize (unsigned int licenseKeyA=0, unsigned int licenseKeyB=0)
 One time initialization of the Core component. More...
 
static unsigned int version ()
 Returns the component version as a single unsigned integer. More...
 
static Str versionString ()
 Returns the component version as a string. More...
 
static void logVersionInfo ()
 Logs the Component version to the global logger. More...
 
static LogManagerlogManager ()
 Returns a pointer to the global log manager. More...
 
static AssertManagerassertManager ()
 Returns a pointer to the global assert manager. More...
 

Detailed Description

Static class for initialization of the Core component.

Member Function Documentation

cee::AssertManager * cee::CoreComponent::assertManager ( )
static

Returns a pointer to the global assert manager.

PtrRef< Instance > cee::CoreComponent::initialize ( unsigned int  licenseKeyA = 0,
unsigned int  licenseKeyB = 0 
)
static

One time initialization of the Core component.

Initialization should be done only once per process. This function will assert and return NULL if is called more than once per process.

Please call this method with the license keys provided with your evaluation version.

If you set both keyA and keyB to 0 (default) the program will run in a NO LICENSE mode. You will get a warning dialog when opening the application, and a * NO LICENSE * OverlayTextBox will be drawn on top of the model in the center of the screen. See License system for more information regarding the license system of Ceetron 3D Components.

Parameters
licenseKeyAFirst license key. Default 0 (NO LICENSE mode)
licenseKeyBSecond license key. Default 0 (NO LICENSE mode)
cee::LogManager * cee::CoreComponent::logManager ( )
static

Returns a pointer to the global log manager.

void cee::CoreComponent::logVersionInfo ( )
static

Logs the Component version to the global logger.

unsigned int cee::CoreComponent::version ( )
static

Returns the component version as a single unsigned integer.

Version is returned on the form 0xMMNNBB (MM=major, NN=minor, BB=build)

Str cee::CoreComponent::versionString ( )
static

Returns the component version as a string.