CoreComponent.h
1 //##################################################################################################
2 //
3 // Ceetron 3D Components
4 // Component: Core
5 //
6 // --------------------------------------------------------------------------------------------
7 // Copyright (C) 2014, Ceetron AS
8 // This is UNPUBLISHED PROPRIETARY SOURCE CODE of Ceetron AS. The contents of this file may
9 // not be disclosed to third parties, copied or duplicated in any form, in whole or in part,
10 // without the prior written permission of Ceetron AS.
11 //##################################################################################################
12 
13 #pragma once
14 
15 #include "CeeCore/Base.h"
16 #include "CeeCore/Instance.h"
17 #include "CeeCore/PtrRef.h"
18 
19 #include <string>
20 
21 namespace cee {
22 
23 class PropertySet;
24 class AssertManager;
25 
26 //==================================================================================================
27 //
28 // Static class for Core component
29 //
30 //==================================================================================================
31 class CEE_CORE_EXPORT CoreComponent
32 {
33 public:
34  static PtrRef<Instance> initialize(unsigned int licenseKeyA = 0, unsigned int licenseKeyB = 0);
35 
36  static unsigned int version();
37  static Str versionString();
38  static void logVersionInfo();
39 
40  static LogManager* logManager();
41  static AssertManager* assertManager();
42 
43 public:
44  static void internal_configureComponent(const PropertySet& internalConfiguration);
45 
46 private:
47  CoreComponent();
48  CEE_DISALLOW_COPY_AND_ASSIGN(CoreComponent);
49 };
50 
51 }
Static class for initialization of the Core component.
Definition: CoreComponent.h:31
Namespace cee contains all functionality and structures under the Core component. ...
Definition: AppLogging.cpp:20
A general unicode based string class.
Definition: Str.h:28
Smart pointer class used for handling reference counted objects (that derive from Object)...
Definition: PtrRef.h:26
A property set stores a set of properties each consisting of a key and a value.
Definition: PropertySet.h:28
Class for managing log messages.
Definition: LogManager.h:33
Class for managing assert behavior.
Definition: AssertManager.h:39