83 static T* TypeUniqueMarker =
nullptr;
84 return &TypeUniqueMarker;
101 return static_cast<T*
>(obj);
Interface for objects that expose their runtime type information.
Definition TypeId.h:52
virtual type_id getTypeId() const =0
Get the runtime type identifier for this object.
Utility class providing static methods for runtime type identification and safe casting.
Definition TypeId.h:70
static type_id getTypeId()
Get the unique type identifier for a given type T.
Definition TypeId.h:82
static T * safeStaticCast(IWithType *obj)
Safely cast a pointer to type T if the runtime type matches.
Definition TypeId.h:99
#define UNIOT_LOG_DEBUG(...)
Log an DEBUG level message Used for general information about system operation. Only compiled if UNIO...
Definition Logger.h:293
const void * type_id
Type alias for a unique type identifier.
Definition TypeId.h:43
Contains all classes and functions related to the Uniot Core.