#define ROBOWFLEX_CLASS_FORWARD(C)
Macro that forward declares a class and defines two shared ptrs types:
A const shared pointer wrapper for robowflex::ID.
A shared pointer wrapper for robowflex::ID.
Adds functionality to uniquely ID a specific class as well as the "version" of that class,...
const std::string id_
Unique object ID.
std::atomic_size_t version_
Version number.
void incrementVersion()
Increment the version number of this object.
const std::string & getID() const
Get the unique ID for this object.
bool operator==(const ID &b) const
Compare with another ID object.
std::size_t getVersion() const
Get the current version of this object.
static Key getNullKey()
Get a null key for initialization.
Key getKey() const
Get this ID as a Key.
Main namespace. Contains all library classes and functions.
bool compareIDs(const ID &a, const ID &b)
Compare two ID objects.