20.11
|
#include <ProfilingGuidGenerator.hpp>
Public Member Functions | |
ProfilingGuidGenerator () | |
Construct a generator with the default address space static/dynamic partitioning. More... | |
ProfilingDynamicGuid | NextGuid () override |
Return the next random Guid in the sequence. More... | |
ProfilingStaticGuid | GenerateStaticId (const std::string &str) override |
Create a ProfilingStaticGuid based on a hash of the string. More... | |
void | Reset () |
Reset the generator back to zero. Used mainly for test. More... | |
Public Member Functions inherited from IProfilingGuidGenerator | |
virtual | ~IProfilingGuidGenerator () |
Definition at line 19 of file ProfilingGuidGenerator.hpp.
|
inline |
Construct a generator with the default address space static/dynamic partitioning.
Definition at line 23 of file ProfilingGuidGenerator.hpp.
|
inlineoverridevirtual |
Create a ProfilingStaticGuid based on a hash of the string.
Implements IProfilingGuidGenerator.
Definition at line 40 of file ProfilingGuidGenerator.hpp.
Referenced by BOOST_AUTO_TEST_CASE(), and ProfilingService::GetStaticId().
|
inlineoverridevirtual |
Return the next random Guid in the sequence.
Implements IProfilingGuidGenerator.
Definition at line 26 of file ProfilingGuidGenerator.hpp.
Referenced by BOOST_AUTO_TEST_CASE(), and ProfilingService::GetNextGuid().
|
inline |
Reset the generator back to zero. Used mainly for test.
Definition at line 47 of file ProfilingGuidGenerator.hpp.
Referenced by ProfilingService::ResetGuidGenerator().