BioDynaMo
v1.05.120-25dc9790
|
#include <new_agent_event.h>
Public Member Functions | |
NewAgentEventUidGenerator (const NewAgentEventUidGenerator &)=delete | |
NewAgentEventUidGenerator & | operator= (const NewAgentEventUidGenerator &)=delete |
NewAgentEventUid | GenerateUid () |
Static Public Member Functions | |
static NewAgentEventUidGenerator * | GetInstance () |
Private Member Functions | |
NewAgentEventUidGenerator ()=default | |
Private Attributes | |
std::recursive_mutex | mutex_ |
uint64_t | counter_ = 0 |
This class generates unique ids for behavior events satisfying the NewAgentEventUid invariant. Thread safe.
Definition at line 36 of file new_agent_event.h.
|
delete |
|
privatedefault |
|
inline |
Definition at line 44 of file new_agent_event.h.
|
static |
Definition at line 23 of file new_agent_event.cc.
|
delete |
|
private |
Definition at line 58 of file new_agent_event.h.
|
private |
Definition at line 57 of file new_agent_event.h.