Atlas
A Convenient Entity Component System
|
Handle used for Components. More...
#include <ComponentIdentifier.h>
Public Types | |
typedef std::unique_ptr < ComponentIdentifier > | Ptr |
Standard pointer used for ComponentIdentifier. More... | |
Public Member Functions | |
unsigned int | getID () const |
Retrieves the unique ID for the identifier. More... | |
std::bitset< BITSIZE > | getBit () const |
Retrieves the unique bitset for the identifier. More... | |
Friends | |
class | ComponentIdentifierManager |
Handle used for Components.
Distributes a unique ID and Bitset for Components. ComponentIdentifierManager uses this class to assign Identifiers for each Component.
typedef std::unique_ptr<ComponentIdentifier> Atlas::ComponentIdentifier::Ptr |
Standard pointer used for ComponentIdentifier.
std::bitset<BITSIZE> Atlas::ComponentIdentifier::getBit | ( | ) | const |
Retrieves the unique bitset for the identifier.
unsigned int Atlas::ComponentIdentifier::getID | ( | ) | const |
Retrieves the unique ID for the identifier.
|
friend |