CyberEngineMkIII
|
Defines the base class for allocatable engine objects. More...
#include <Allocatable.hpp>
Public Types | |
enum | ID { ID::NULL_ID, ID::File, ID::Mutex, ID::Path, ID::Semaphore } |
Defines the IDs of allocatable engine objects. More... | |
using | Constructor = NullConstructor |
Override in descendants. | |
using | CopyConstructor = NullConstructor |
Override in descendants. | |
Public Member Functions | |
virtual | ~Allocatable ()=default |
See Default Constructors and Destructor. | |
Static Public Member Functions | |
template<class AParent > | |
static constexpr ID | GetID (void) |
Returns the ID of an allocatable object. More... | |
Defines the base class for allocatable engine objects.
Definition at line 7 of file Allocatable.hpp.
|
strong |
Defines the IDs of allocatable engine objects.
Enumerator | |
---|---|
NULL_ID |
Used in case of error. |
File | |
Mutex | |
Path | |
Semaphore |
Definition at line 10 of file Allocatable.hpp.
|
static |
Returns the ID of an allocatable object.
AParent | The allocatable object whose ID is being checked |