cee::CoreComponent Class Reference

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

Static Public Member Functions

static bool isInitialized ()
 Returns true if the component has been properly initialized. More...
 
static PtrRef< Instanceinitialize (unsigned int licenseKeyA, unsigned int licenseKeyB, const InitializationOptions &initializationOptions=InitializationOptions())
 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...
 

Detailed Description

Static class for initialization of the Core component.

Member Function Documentation

PtrRef< Instance > cee::CoreComponent::initialize ( unsigned int  licenseKeyA,
unsigned int  licenseKeyB,
const InitializationOptions initializationOptions = InitializationOptions() 
)
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 Desktop Components.

Parameters
licenseKeyAFirst license key. Default 0 (NO LICENSE mode)
licenseKeyBSecond license key. Default 0 (NO LICENSE mode)
initializationOptionsInitialization options.
bool cee::CoreComponent::isInitialized ( )
static

Returns true if the component has been properly initialized.

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 0xMMNNPP (MM=major, NN=minor, PP=patch)

Str cee::CoreComponent::versionString ( )
static

Returns the component version as a string.