PeriDyno 1.0.0
Loading...
Searching...
No Matches
dyno::Object Class Reference

#include <Object.h>

Inheritance diagram for dyno::Object:

Public Member Functions

 Object ()
 
virtual ~Object ()
 
ObjectId objectId ()
 

Static Public Member Functions

static bool registerClass (ClassInfo *ci)
 
static ObjectcreateObject (std::string name)
 
static std::map< std::string, ClassInfo * > * getClassMap ()
 
static ObjectId baseId ()
 Base Id.
 

Static Private Member Functions

static uint32_t generateObjectId ()
 

Private Attributes

ObjectId id
 

Static Private Attributes

static std::atomic_uint32_t cId {BASE_ID + 1}
 

Detailed Description

Definition at line 112 of file Object.h.

Constructor & Destructor Documentation

◆ Object()

dyno::Object::Object ( )

Definition at line 14 of file Object.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ~Object()

virtual dyno::Object::~Object ( )
inlinevirtual

Definition at line 117 of file Object.h.

Member Function Documentation

◆ baseId()

ObjectId dyno::Object::baseId ( )
static

Base Id.

Returns
All objects will be countered starting from base id.

Definition at line 46 of file Object.cpp.

Here is the caller graph for this function:

◆ createObject()

Object * dyno::Object::createObject ( std::string name)
static

Definition at line 32 of file Object.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ generateObjectId()

uint32_t dyno::Object::generateObjectId ( )
staticprivate

Definition at line 51 of file Object.cpp.

Here is the caller graph for this function:

◆ getClassMap()

std::map< std::string, ClassInfo * > * dyno::Object::getClassMap ( )
static

Definition at line 41 of file Object.cpp.

Here is the caller graph for this function:

◆ objectId()

ObjectId dyno::Object::objectId ( )
inline

Definition at line 129 of file Object.h.

Here is the caller graph for this function:

◆ registerClass()

bool dyno::Object::registerClass ( ClassInfo * ci)
static

Definition at line 19 of file Object.cpp.

Here is the caller graph for this function:

Member Data Documentation

◆ cId

std::atomic_uint32_t dyno::Object::cId {BASE_ID + 1}
staticprivate

Definition at line 134 of file Object.h.

◆ id

ObjectId dyno::Object::id
private

Definition at line 131 of file Object.h.


The documentation for this class was generated from the following files: