![]() |
Murl Engine API
Version 2018.3
|
Basic system functions. More...
Modules | |
Murl::System::CLib Functions | |
Forward to C-runtime library functions. | |
Functions | |
Bool | Murl::System::Init () |
Initialize the System module. More... | |
Bool | Murl::System::DeInit () |
Deinitialize the System module. More... | |
void | Murl::System::Sleep (const Time &sleepTime) |
Sleep for a specified time. More... | |
Bool | Murl::System::IsHostLittleEndian () |
Check for a little endian host. More... | |
Bool | Murl::System::IsHostBigEndian () |
Check for a big endian host. More... | |
UInt16 | Murl::System::SwapEndianness (UInt16 value) |
Swap the endianness of a 16 bit integer value. More... | |
UInt32 | Murl::System::SwapEndianness (UInt32 value) |
Swap the endianness of a 32 bit integer value. More... | |
UInt64 | Murl::System::SwapEndianness (UInt64 value) |
Swap the endianness of a 64 bit integer value. More... | |
UInt16 | Murl::System::BigEndianToHost (UInt16 value) |
Convert a big endian ordered 16 bit integer to host byte ordering. More... | |
UInt16 | Murl::System::LittleEndianToHost (UInt16 value) |
Convert a little endian ordered 16 bit integer to host byte ordering. More... | |
UInt16 | Murl::System::HostToBigEndian (UInt16 value) |
Convert a host ordered 16 bit integer to big endian byte ordering. More... | |
UInt16 | Murl::System::HostToLittleEndian (UInt16 value) |
Convert a host ordered 16 bit integer to little endian byte ordering. More... | |
UInt32 | Murl::System::BigEndianToHost (UInt32 value) |
Convert a big endian ordered 32 bit integer to host byte ordering. More... | |
UInt32 | Murl::System::LittleEndianToHost (UInt32 value) |
Convert a little endian ordered 32 bit integer to host byte ordering. More... | |
UInt32 | Murl::System::HostToBigEndian (UInt32 value) |
Convert a host ordered 32 bit integer to big endian byte ordering. More... | |
UInt32 | Murl::System::HostToLittleEndian (UInt32 value) |
Convert a host ordered 32 bit integer to little endian byte ordering. More... | |
UInt64 | Murl::System::BigEndianToHost (UInt64 value) |
Convert a big endian ordered 64 bit integer to host byte ordering. More... | |
UInt64 | Murl::System::LittleEndianToHost (UInt64 value) |
Convert a little endian ordered 64 bit integer to host byte ordering. More... | |
UInt64 | Murl::System::HostToBigEndian (UInt64 value) |
Convert a host ordered 64 bit integer to big endian byte ordering. More... | |
UInt64 | Murl::System::HostToLittleEndian (UInt64 value) |
Convert a host ordered 64 bit integer to little endian byte ordering. More... | |
String | Murl::System::GetAbsolutePathOfCurrentExecutable () |
Get the absolute path of the currently running executable. More... | |
String | Murl::System::GetNameOfShellExecutable (const String &path, const String &name) |
Get the fully qualified name of a command line executable. More... | |
String | Murl::System::GetNameOfGuiExecutable (const String &path, const String &name) |
Get the fully qualified name of a GUI executable. More... | |
String | Murl::System::DemangleTypeName (const Char *name) |
Demangle a RTTI name. More... | |
Basic system functions.
Bool Murl::System::Init | ( | ) |
Initialize the System module.
This method is called by the engine's Murl::Engine::Init() method.
Bool Murl::System::DeInit | ( | ) |
Deinitialize the System module.
This method is called by the engine's Murl::Engine::DeInit() method.
void Murl::System::Sleep | ( | const Time & | sleepTime | ) |
Sleep for a specified time.
sleepTime | The time to sleep. |
Bool Murl::System::IsHostLittleEndian | ( | ) |
Check for a little endian host.
Bool Murl::System::IsHostBigEndian | ( | ) |
Check for a big endian host.
Swap the endianness of a 16 bit integer value.
value | The integer to convert. |
Swap the endianness of a 32 bit integer value.
value | The integer to convert. |
Swap the endianness of a 64 bit integer value.
value | The integer to convert. |
Convert a big endian ordered 16 bit integer to host byte ordering.
value | The big endian integer to convert. |
Convert a little endian ordered 16 bit integer to host byte ordering.
value | The little endian integer to convert. |
Convert a host ordered 16 bit integer to big endian byte ordering.
value | The host integer to convert. |
Convert a host ordered 16 bit integer to little endian byte ordering.
value | The host integer to convert. |
Convert a big endian ordered 32 bit integer to host byte ordering.
value | The big endian integer to convert. |
Convert a little endian ordered 32 bit integer to host byte ordering.
value | The little endian integer to convert. |
Convert a host ordered 32 bit integer to big endian byte ordering.
value | The host integer to convert. |
Convert a host ordered 32 bit integer to little endian byte ordering.
value | The host integer to convert. |
Convert a big endian ordered 64 bit integer to host byte ordering.
value | The big endian integer to convert. |
Convert a little endian ordered 64 bit integer to host byte ordering.
value | The little endian integer to convert. |
Convert a host ordered 64 bit integer to big endian byte ordering.
value | The host integer to convert. |
Convert a host ordered 64 bit integer to little endian byte ordering.
value | The host integer to convert. |
String Murl::System::GetAbsolutePathOfCurrentExecutable | ( | ) |
Get the absolute path of the currently running executable.
Platforms not supporting this will return an empty string.
Get the fully qualified name of a command line executable.
path | The path to the executable |
name | The name of the executable |
Get the fully qualified name of a GUI executable.
path | The path to the executable |
name | The name of the executable |
Demangle a RTTI name.
Convert a RTTI name to a human readable string.
name | The RTTI name to demangle. |