|
Galois
|
A class to be inherited from so that all child classes will have a tracked unique ID. More...
#include <GlobalObj.h>
Protected Member Functions | |
| GlobalObject (const GlobalObject &)=delete | |
| GlobalObject (GlobalObject &&)=delete | |
| template<typename T > | |
| GlobalObject (const T *ptr) | |
| Constructs a global object given a pointer to the object you want to make a global object. More... | |
| uint32_t | idForSelf () const |
| Returns own global id. More... | |
Static Protected Member Functions | |
| static uintptr_t | ptrForObj (unsigned oid) |
| Returns the pointer for a global object. More... | |
A class to be inherited from so that all child classes will have a tracked unique ID.
|
protecteddelete |
|
protecteddelete |
|
inlineprotected |
Constructs a global object given a pointer to the object you want to make a global object.
| T | type of the object to make a GlobalObject |
| ptr | pointer to object to make a GlobalObject |
|
inlineprotected |
Returns own global id.
|
staticprotected |
Returns the pointer for a global object.
| oid | Global object id to get |