BioDynaMo  v1.05.120-25dc9790
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
bdm::ParamGroupUidGenerator Class Reference

This class generates unique ids for parameter groups. Thread safe. More...

#include <param_group.h>

Public Member Functions

 ParamGroupUidGenerator (const ParamGroupUidGenerator &)=delete
 
ParamGroupUidGeneratoroperator= (const ParamGroupUidGenerator &)=delete
 
ParamGroupUid NewUid ()
 

Static Public Member Functions

static ParamGroupUidGeneratorGet ()
 

Private Member Functions

 ParamGroupUidGenerator ()
 

Private Attributes

std::atomic< ParamGroupUidcounter_
 

Detailed Description

This class generates unique ids for parameter groups. Thread safe.

Definition at line 30 of file param_group.h.

Constructor & Destructor Documentation

◆ ParamGroupUidGenerator() [1/2]

bdm::ParamGroupUidGenerator::ParamGroupUidGenerator ( const ParamGroupUidGenerator )
delete

◆ ParamGroupUidGenerator() [2/2]

bdm::ParamGroupUidGenerator::ParamGroupUidGenerator ( )
private

Definition at line 25 of file param_group.cc.

Member Function Documentation

◆ Get()

ParamGroupUidGenerator * bdm::ParamGroupUidGenerator::Get ( )
static

Definition at line 20 of file param_group.cc.

◆ NewUid()

ParamGroupUid bdm::ParamGroupUidGenerator::NewUid ( )

Definition at line 27 of file param_group.cc.

◆ operator=()

ParamGroupUidGenerator& bdm::ParamGroupUidGenerator::operator= ( const ParamGroupUidGenerator )
delete

Member Data Documentation

◆ counter_

std::atomic<ParamGroupUid> bdm::ParamGroupUidGenerator::counter_
private

Definition at line 41 of file param_group.h.


The documentation for this class was generated from the following files: