Trax3 3.1.0
trax track library
Loading...
Searching...
No Matches
common::UniqueKey< T > Class Template Reference

Set of unique keys. More...

#include <C:/Trend/Development/Trax3/Code/common/Helpers.h>

Public Member Functions

bool Occupy (T key)
 Reserve a key.
bool Free (T key)
 Make a key available in the future.
void FreeAll () noexcept
 Release all the keys, making them available.
GetFree ()
 Get a free key. The key will be occupied after the call.
bool IsFree (T key) const
 Is the key already occupied?

Detailed Description

template<typename T>
class common::UniqueKey< T >

Set of unique keys.


The documentation for this class was generated from the following file:
  • C:/Trend/Development/Trax3/Code/common/Helpers.h