33 #ifndef DART_COMMON_VERSIONCOUNTER_HPP_
34 #define DART_COMMON_VERSIONCOUNTER_HPP_
VersionCounter is an interface for objects that count their versions.
Definition: VersionCounter.hpp:43
VersionCounter()
Default constructor.
Definition: VersionCounter.cpp:43
VersionCounter * mDependent
Definition: VersionCounter.hpp:62
std::size_t mVersion
Definition: VersionCounter.hpp:59
virtual std::size_t getVersion() const
Get the version number of this object.
Definition: VersionCounter.cpp:59
virtual ~VersionCounter()=default
void setVersionDependentObject(VersionCounter *dependent)
Definition: VersionCounter.cpp:65
virtual std::size_t incrementVersion()
Increment the version for this object.
Definition: VersionCounter.cpp:49
Definition: BulletCollisionDetector.cpp:65