Atlas
A Convenient Entity Component System
 All Classes Namespaces Files Functions Variables Typedefs Friends
Atlas::ComponentIdentifier Class Reference

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< BITSIZEgetBit () const
 Retrieves the unique bitset for the identifier. More...
 

Friends

class ComponentIdentifierManager
 

Detailed Description

Handle used for Components.

Distributes a unique ID and Bitset for Components. ComponentIdentifierManager uses this class to assign Identifiers for each Component.

Member Typedef Documentation

Standard pointer used for ComponentIdentifier.

Member Function Documentation

std::bitset<BITSIZE> Atlas::ComponentIdentifier::getBit ( ) const

Retrieves the unique bitset for the identifier.

Here is the caller graph for this function:

unsigned int Atlas::ComponentIdentifier::getID ( ) const

Retrieves the unique ID for the identifier.

Here is the caller graph for this function:

Friends And Related Function Documentation

friend class ComponentIdentifierManager
friend

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