CyberEngineMkIII
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Types | Static Public Member Functions | Static Public Attributes | List of all members
CYB::Engine::Parameters Class Reference

Compilation configuration variables. More...

#include <CYBEngineParameters.hpp>

Public Types

enum  : unsigned long long {
  VERSION_MAJOR = 3, VERSION_MINOR = 0, VERSION_REVISION = 0, COPYRIGHT_YEAR = 2016,
  ENGINE_HEAP_INITIAL_COMMIT_SIZE = API::ByteConverters::Megabytes(5), LOGGER_HEAP_INITIAL_COMMIT_SIZE = API::ByteConverters::Megabytes(1), HEAP_RESERVATION_SIZE = API::ByteConverters::Terabytes(1) / 4, LOGGER_HEAP_RETRY_COUNT = 2
}
 Various engine constants. More...
 

Static Public Member Functions

static API::EngineInformation CreateEngineInformation (void) noexcept
 Creates the correct CYB::API::EngineInformation struct. More...
 

Static Public Attributes

static const char *const FTempPathName
 The directory in the temp folder to use.
 

Detailed Description

Compilation configuration variables.

Definition at line 7 of file CYBEngineParameters.hpp.

Member Enumeration Documentation

anonymous enum : unsigned long long

Various engine constants.

Enumerator
VERSION_MAJOR 

The major engine version.

VERSION_MINOR 

The minor engine version.

VERSION_REVISION 

The current engine revision.

COPYRIGHT_YEAR 

The engine's copyright year.

ENGINE_HEAP_INITIAL_COMMIT_SIZE 

The inital amount of memory to be commited by the engine heap.

LOGGER_HEAP_INITIAL_COMMIT_SIZE 

The inital amount of memory to be commited by the Logger heap.

HEAP_RESERVATION_SIZE 

The amount of address space reserved by CYB::Engine::Heaps.

LOGGER_HEAP_RETRY_COUNT 

The number of times to try and log again after a failed allocation before giving up.

Definition at line 10 of file CYBEngineParameters.hpp.

10  : unsigned long long {
11  VERSION_MAJOR = 3,
12  VERSION_MINOR = 0,
13  VERSION_REVISION = 0,
14  COPYRIGHT_YEAR = 2016,
15 
18 
20 
22  };
The inital amount of memory to be commited by the Logger heap.
The number of times to try and log again after a failed allocation before giving up.
The amount of address space reserved by CYB::Engine::Heaps.
static constexpr unsigned long long Terabytes(const unsigned long long AAmount)
Get the true byte value of some amount of terabytes.
The inital amount of memory to be commited by the engine heap.
static constexpr unsigned long long Megabytes(const unsigned long long AAmount)
Get the true byte value of some amount of megabytes.

Member Function Documentation

CYB::API::EngineInformation CYB::Engine::Parameters::CreateEngineInformation ( void  )
staticnoexcept

Creates the correct CYB::API::EngineInformation struct.

Returns
A populated CYB::API::EngineInformation
Thread Safety
This function require no thread safety

Definition at line 6 of file CYBEngineParameters.cpp.

6  {
7  return{
8  u8"CyberEngine Mark III",
9  u8"Copyright Dextraspace Entertainment",
14  __DATE__,
15  __TIME__ " EST",
16  };

The documentation for this class was generated from the following files: