EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <EicRoot/blob/master/base/FairRunIdGenerator.h>
Classes | |
struct | uuid |
Public Member Functions | |
FairRunIdGenerator () | |
~FairRunIdGenerator () | |
unsigned int | generateId (void) |
Private Member Functions | |
int | get_random_fd (void) |
void | get_random_bytes (void *, int) |
int | get_node_id (unsigned char *) |
int | get_clock (uint32_t *, uint32_t *, uint16_t *) |
void | uuid_generate_time (uuid_t) |
void | uuid_generate_random (uuid_t) |
void | uuid_generate (uuid_t) |
void | uuid_pack (const struct uuid *, uuid_t) |
void | uuid_unpack (const uuid_t, struct uuid *) |
Definition at line 10 of file FairRunIdGenerator.h.
View newest version in sPHENIX GitHub at line 10 of file FairRunIdGenerator.h
|
inline |
Definition at line 29 of file FairRunIdGenerator.h.
View newest version in sPHENIX GitHub at line 29 of file FairRunIdGenerator.h
|
inline |
Definition at line 30 of file FairRunIdGenerator.h.
View newest version in sPHENIX GitHub at line 30 of file FairRunIdGenerator.h
unsigned int FairRunIdGenerator::generateId | ( | void | ) |
Definition at line 375 of file FairRunIdGenerator.cxx.
View newest version in sPHENIX GitHub at line 375 of file FairRunIdGenerator.cxx
References uuid_generate(), and v.
Referenced by FairRunAna::Init(), and FairRunSim::Init().
|
private |
Definition at line 195 of file FairRunIdGenerator.cxx.
View newest version in sPHENIX GitHub at line 195 of file FairRunIdGenerator.cxx
References get_random_bytes(), and MAX_ADJUSTMENT.
Referenced by uuid_generate_time().
|
private |
Definition at line 117 of file FairRunIdGenerator.cxx.
View newest version in sPHENIX GitHub at line 117 of file FairRunIdGenerator.cxx
References n.
Referenced by uuid_generate_time().
|
private |
Definition at line 83 of file FairRunIdGenerator.cxx.
View newest version in sPHENIX GitHub at line 83 of file FairRunIdGenerator.cxx
References fd, get_random_fd(), rand, and read().
Referenced by get_clock(), uuid_generate_random(), and uuid_generate_time().
|
private |
Definition at line 56 of file FairRunIdGenerator.cxx.
View newest version in sPHENIX GitHub at line 56 of file FairRunIdGenerator.cxx
References fd, Acts::open, rand, and srand.
Referenced by get_random_bytes(), and uuid_generate().
|
private |
Definition at line 285 of file FairRunIdGenerator.cxx.
View newest version in sPHENIX GitHub at line 285 of file FairRunIdGenerator.cxx
References get_random_fd(), uuid_generate_random(), and uuid_generate_time().
Referenced by generateId().
|
private |
Definition at line 266 of file FairRunIdGenerator.cxx.
View newest version in sPHENIX GitHub at line 266 of file FairRunIdGenerator.cxx
References FairRunIdGenerator::uuid::clock_seq, get_random_bytes(), FairRunIdGenerator::uuid::time_hi_and_version, uuid_pack(), and uuid_unpack().
Referenced by uuid_generate().
|
private |
Definition at line 239 of file FairRunIdGenerator.cxx.
View newest version in sPHENIX GitHub at line 239 of file FairRunIdGenerator.cxx
References FairRunIdGenerator::uuid::clock_seq, get_clock(), get_node_id(), get_random_bytes(), FairRunIdGenerator::uuid::node, FairRunIdGenerator::uuid::time_hi_and_version, FairRunIdGenerator::uuid::time_low, FairRunIdGenerator::uuid::time_mid, and uuid_pack().
Referenced by uuid_generate().
Definition at line 305 of file FairRunIdGenerator.cxx.
View newest version in sPHENIX GitHub at line 305 of file FairRunIdGenerator.cxx
References FairRunIdGenerator::uuid::clock_seq, FairRunIdGenerator::uuid::node, FairRunIdGenerator::uuid::time_hi_and_version, FairRunIdGenerator::uuid::time_low, and FairRunIdGenerator::uuid::time_mid.
Referenced by uuid_generate_random(), and uuid_generate_time().
Definition at line 349 of file FairRunIdGenerator.cxx.
View newest version in sPHENIX GitHub at line 349 of file FairRunIdGenerator.cxx
References FairRunIdGenerator::uuid::clock_seq, in, FairRunIdGenerator::uuid::node, FairRunIdGenerator::uuid::time_hi_and_version, FairRunIdGenerator::uuid::time_low, and FairRunIdGenerator::uuid::time_mid.
Referenced by uuid_generate_random().