Public Types | Static Public Member Functions | Static Private Attributes
descartes_core::detail::IdGenerator< uint64_t > Struct Template Reference

This specialization of the id generator uses a 64 bit unsigned integer for the unique 'state'. Zero is reserved as a special value. More...

#include <trajectory_id.h>

List of all members.

Public Types

typedef uint64_t value_type

Static Public Member Functions

static bool is_nil (value_type id)
static value_type make_id ()
static value_type make_nil ()

Static Private Attributes

static value_type counter_
static boost::mutex counter_mutex_

Detailed Description

template<>
struct descartes_core::detail::IdGenerator< uint64_t >

This specialization of the id generator uses a 64 bit unsigned integer for the unique 'state'. Zero is reserved as a special value.

Definition at line 29 of file trajectory_id.h.


Member Typedef Documentation

typedef uint64_t descartes_core::detail::IdGenerator< uint64_t >::value_type

Definition at line 31 of file trajectory_id.h.


Member Function Documentation

static bool descartes_core::detail::IdGenerator< uint64_t >::is_nil ( value_type  id) [inline, static]

Definition at line 44 of file trajectory_id.h.

static value_type descartes_core::detail::IdGenerator< uint64_t >::make_id ( ) [inline, static]

Definition at line 38 of file trajectory_id.h.

static value_type descartes_core::detail::IdGenerator< uint64_t >::make_nil ( ) [inline, static]

Definition at line 33 of file trajectory_id.h.


Member Data Documentation

value_type descartes_core::detail::IdGenerator< uint64_t >::counter_ [static, private]

Definition at line 51 of file trajectory_id.h.

boost::mutex descartes_core::detail::IdGenerator< uint64_t >::counter_mutex_ [static, private]

Definition at line 52 of file trajectory_id.h.


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


descartes_core
Author(s): Dan Solomon
autogenerated on Thu Jun 6 2019 21:35:59