|
Antares Simulator
Power System Simulator
|
Custom memory allocator for managed pointers. More...
#include <memory.h>
Classes | |
| struct | Stored |
Public Member Functions | |
Constructor & Destructor | |
| Memory ()=default | |
| Default Constructor. | |
| ~Memory ()=default | |
| Destructor. | |
| bool | initializeTemporaryFolder () |
| const Yuni::String & | cacheFolder () const |
| \nane Cache Folder | |
| void | cacheFolder (const AnyString &folder) |
| uint64_t | processID () const |
| Get the process ID of the application. More... | |
Static Public Member Functions | |
| template<class U > | |
| static U * | RawPointer (U *array) |
| template<class U > | |
| static void | Zero (uint count, U *array) |
| template<class U > | |
| static void | Assign (uint count, U *array, const U &value) |
| template<class T > | |
| static void | Allocate (T *&out, size_t size) |
| template<class T > | |
| static bool | Null (const T *out) |
| template<class T > | |
| static bool | StrictNull (const T *out) |
| template<class T > | |
| static void | Release (T *&pointer) |
| Release a raw pointer. | |
Informations | |
| template<class T > | |
| class | Array |
| void | displayInfo () const |
| Display infos into the logs. | |
Custom memory allocator for managed pointers.
|
inline |
Get the process ID of the application.
This value is cached and detected at the creation of the instance.