API Guides > ConceptRT 3.x
LicenceManager Class Reference

Singleton node for licence management More...

Detailed Description

Singleton node for licence management

+ Inheritance diagram for LicenceManager:

Public Member Methods

void LoadFromStream (Stream &stream, IMessageCollector *messages=NULL)
 Load a stream containing licences. More...
 
void Invoke (const DynamicInvocationRequest &request, DynamicInvocationResult &result)
 Invokes the object fields and methods. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from Singleton< LicenceManager >
static LicenceManagerGetInstancePointer ()
 Gets the instance pointer. More...
 
static LicenceManagerGetInstance ()
 Gets the instance. More...
 
static void DeleteInstance (bool allowNewCreation=false)
 Deletes the instance. More...
 
static bool IsCreated ()
 Query if the singleton instance has already been created. More...
 

Methods Documentation

void Invoke ( const DynamicInvocationRequest request,
DynamicInvocationResult result 
)
virtual

Invokes the object fields and methods.

Parameters
requestThe request.
result[in,out] The result.

Dynamic Invocation on IInvocable objects enables us to have remote access on published fields and methods.

Implements IInvocable.

void LoadFromStream ( Stream stream,
IMessageCollector messages = NULL 
)

Load a stream containing licences.

Parameters
streamThe stream where to load licence from.
messages(Optional) Messages diagnostic. Default = NULL.
Warning
Non-Deterministic. Determinism when using ConceptRT library can be ensure by using Context Time Critical mechanisms.
RT Exceptions:

RT_ERROR_INTERNAL_LICENCE_MANAGER

RT_ERROR_LICENCE_FEATURE_DUPLICATE_NAME

Examples:
SystemMode/main.cpp.