|
Nebula
|
Classes | |
| class | CoreServer |
| The central core server object initializes a minimal Nebula runtime environment necessary to boot up the rest of Nebula. More... | |
| struct | CVar |
| A console variable. More... | |
| struct | CVarCreateInfo |
| Used to create a Core::CVar. More... | |
| struct | CVarValue |
| class | ExitHandler |
| ExitHandlers are static objects which register themselves automatically once at startup and are called back from the Core::SysFunc::Exit() static method which is called right before a Nebula application exists. More... | |
| class | Factory |
| Provides the central object factory mechanism for Nebula. More... | |
| class | RefCounted |
| The common base class of Nebula. More... | |
| class | RefCountedList |
| Implements a static list which keeps track of all refcounted objects to detect refcounting leaks at application shutdown. More... | |
| class | Rtti |
| Nebula's runtime type information for one class. More... | |
Enumerations | |
| enum | CVarType { CVar_Int , CVar_Float , CVar_String } |
| Denotes the type of a Core::CVar. More... | |
Functions | |
| __ImplementClass (Core::CoreServer, 'CORS', Core::RefCounted) | |
| __ImplementSingleton (Core::CoreServer) | |
| CVar * | CVarCreate (CVarCreateInfo const &) |
| Create or get a console variable. | |
| CVar * | CVarCreate (CVarType type, const char *name, const char *defaultValue, const char *description=nullptr) |
| Create or get a console variable. | |
| CVar * | CVarGet (const char *name) |
| Get a console variable. | |
| void | CVarParseWrite (CVar *, const char *value) |
| Parse value from c string and assign to cvar. | |
| void | CVarWriteFloat (CVar *, float value) |
| Write float value to cvar. | |
| void | CVarWriteInt (CVar *, int value) |
| Write int value to cvar. | |
| void | CVarWriteString (CVar *, const char *value) |
| Write string value to cvar. | |
| int const | CVarReadInt (CVar *) |
| Read int value from cvar. | |
| float const | CVarReadFloat (CVar *) |
| Read float value from cvar. | |
| const char * | CVarReadString (CVar *) |
| Read string value from cvar. | |
| bool | CVarModified (CVar *) |
| Check if a CVar has been modified. | |
| void | CVarSetModified (CVar *, bool) |
| Set the modified status of a cvar. | |
| CVarType | CVarGetType (CVar *) |
| Get the type of a cvar. | |
| const char * | CVarGetName (CVar *) |
| Get the cvars name. | |
| const char * | CVarGetDescription (CVar *) |
| Get the cvars description. | |
| int | CVarNum () |
| Get the number of vars created. | |
| CVar * | CVarsBegin () |
| Get a pointer to the first cvar in the array. | |
| CVar * | CVarsEnd () |
| Get a pointer to the address after the last valid cvar in the array. | |
| CVar * | CVarNext (CVar *) |
| increment the iterator | |
| __ImplementRootClass (Core::RefCounted, 'REFC') | |
Variables | |
| constexpr uint16_t | MAX_CVARS = 1024 |
| uint16_t | cVarOffset = 0 |
| CVar | cVars [MAX_CVARS] |
| Util::HashTable< Util::String, uint16_t > | cVarTable |
| enum Core::CVarType |
Denotes the type of a Core::CVar.
| Enumerator | |
|---|---|
| CVar_Int | |
| CVar_Float | |
| CVar_String | |
| Core::__ImplementClass | ( | Core::CoreServer | , |
| 'CORS' | , | ||
| Core::RefCounted | ) |
| Core::__ImplementRootClass | ( | Core::RefCounted | , |
| 'REFC' | ) |
| Core::__ImplementSingleton | ( | Core::CoreServer | ) |
| CVar * Core::CVarCreate | ( | CVarCreateInfo const & | info | ) |
Create or get a console variable.
| CVar * Core::CVarCreate | ( | CVarType | type, |
| const char * | name, | ||
| const char * | defaultValue, | ||
| const char * | description ) |
Create or get a console variable.
| CVar * Core::CVarGet | ( | const char * | name | ) |
Get a console variable.
| const char * Core::CVarGetDescription | ( | CVar * | cVar | ) |
Get the cvars description.
| const char * Core::CVarGetName | ( | CVar * | cVar | ) |
Get the cvars name.
| int Core::CVarNum | ( | ) |
Get the number of vars created.
| void Core::CVarParseWrite | ( | CVar * | cVar, |
| const char * | value ) |
Parse value from c string and assign to cvar.
| float const Core::CVarReadFloat | ( | CVar * | cVar | ) |
Read float value from cvar.
| int const Core::CVarReadInt | ( | CVar * | cVar | ) |
Read int value from cvar.
| const char * Core::CVarReadString | ( | CVar * | cVar | ) |
Read string value from cvar.
| CVar * Core::CVarsBegin | ( | ) |
Get a pointer to the first cvar in the array.
| CVar * Core::CVarsEnd | ( | ) |
Get a pointer to the address after the last valid cvar in the array.
| void Core::CVarWriteFloat | ( | CVar * | cVar, |
| float | value ) |
Write float value to cvar.
| void Core::CVarWriteInt | ( | CVar * | cVar, |
| int | value ) |
Write int value to cvar.
| void Core::CVarWriteString | ( | CVar * | cVar, |
| const char * | value ) |
Write string value to cvar.
| uint16_t Core::cVarOffset = 0 |
| Util::HashTable<Util::String, uint16_t> Core::cVarTable |
|
constexpr |