![]() |
ATLAS Offline Software
|
#include <AthenaBarCodeImpl.h>
Public Member Functions | |
| virtual | ~AthenaBarCodeImpl ()=default |
| AthenaBarCodeImpl () | |
| AthenaBarCodeImpl (const AthenaBarCodeImpl &) | |
| AthenaBarCodeImpl & | operator= (const AthenaBarCodeImpl &) |
| AthenaBarCode_t | getAthenaBarCode () const |
| void | setAthenaBarCode (AthenaBarCode_t id) |
| bool | hasSameAthenaBarCode (const IAthenaBarCode &obj) const |
| bool | hasSameAthenaBarCodeExceptVersion (const IAthenaBarCode &obj) const |
| AthenaBarCodeVersion_t | getVersion () const |
| void | newVersion () |
| void | setVersion (AthenaBarCodeVersion_t newversion) |
| std::ostream & | dump (std::ostream &out) const |
| bool | createdInCurrentJob () const |
| AthenaBarCode_t | getReserveBits () const |
| void | setReserveBits (AthenaBarCode_t id) |
Static Public Member Functions | |
| static void | setDefaultHash (const char *jobid) |
Static Public Attributes | |
| static const unsigned short | TotalBits = 64 |
| static const unsigned short | UUIDBits = 32 |
| static const unsigned short | CounterBits = 26 |
| static const unsigned short | VersionBits = 4 |
| static const unsigned short | ReserveBits = 2 |
| static const unsigned short | SUUIDBits = 0 |
| static const unsigned short | SCounterBits = UUIDBits |
| static const unsigned short | SVersionBits = UUIDBits+CounterBits |
| static const unsigned short | SReserveBits = UUIDBits+CounterBits+VersionBits |
Protected Member Functions | |
| void | setBits (unsigned short startbit, unsigned short nbits, AthenaBarCode_t id, AthenaBarCode_t &bc) const |
| AthenaBarCode_t | getBits (unsigned short startbit, unsigned short nbits) const |
| void | initABC () const |
Private Member Functions | |
| AthenaBarCode_t | combineWithUUIDHash (const AthenaBarCode_t &) const |
| void | setUUIDHash (AthenaBarCode_t uuidhash) |
| AthenaBarCode_t | hasUUIDHash () const |
| AthenaBarCode_t | getUUIDHash () const |
Static Private Member Functions | |
| static AthenaBarCode_t | hashUUID (const char *) |
| static AthenaBarCode_t | getDefaultHash (const char *jobid=nullptr) |
| static AthenaBarCode_t | makeDefaultHash (const char *jobid) |
Private Attributes | |
| std::atomic< AthenaBarCode_t > | m_barcode |
Static Private Attributes | |
| static std::atomic< AthenaBarCode_t > | m_barcodeCounter = 0 |
Friends | |
| class | AthenaBarCodeCnv_p1 |
Definition at line 37 of file AthenaBarCodeImpl.h.
|
virtualdefault |
| AthenaBarCodeImpl::AthenaBarCodeImpl | ( | ) |
Definition at line 91 of file AthenaBarCodeImpl.cxx.
| AthenaBarCodeImpl::AthenaBarCodeImpl | ( | const AthenaBarCodeImpl & | other | ) |
Definition at line 96 of file AthenaBarCodeImpl.cxx.
|
inlineprivate |
Definition at line 119 of file AthenaBarCodeImpl.h.
| bool AthenaBarCodeImpl::createdInCurrentJob | ( | ) | const |
Definition at line 181 of file AthenaBarCodeImpl.cxx.
| std::ostream & AthenaBarCodeImpl::dump | ( | std::ostream & | out | ) | const |
Definition at line 172 of file AthenaBarCodeImpl.cxx.
| AthenaBarCode_t AthenaBarCodeImpl::getAthenaBarCode | ( | ) | const |
Definition at line 203 of file AthenaBarCodeImpl.cxx.
|
protected |
Definition at line 249 of file AthenaBarCodeImpl.cxx.
|
staticprivate |
Definition at line 304 of file AthenaBarCodeImpl.cxx.
| AthenaBarCode_t AthenaBarCodeImpl::getReserveBits | ( | ) | const |
Definition at line 216 of file AthenaBarCodeImpl.cxx.
|
private |
Definition at line 244 of file AthenaBarCodeImpl.cxx.
| AthenaBarCodeVersion_t AthenaBarCodeImpl::getVersion | ( | ) | const |
Definition at line 131 of file AthenaBarCodeImpl.cxx.
|
staticprivate |
Definition at line 190 of file AthenaBarCodeImpl.cxx.
| bool AthenaBarCodeImpl::hasSameAthenaBarCode | ( | const IAthenaBarCode & | obj | ) | const |
Definition at line 110 of file AthenaBarCodeImpl.cxx.
| bool AthenaBarCodeImpl::hasSameAthenaBarCodeExceptVersion | ( | const IAthenaBarCode & | obj | ) | const |
Definition at line 120 of file AthenaBarCodeImpl.cxx.
|
private |
Definition at line 239 of file AthenaBarCodeImpl.cxx.
|
protected |
Definition at line 24 of file AthenaBarCodeImpl.cxx.
|
staticprivate |
Definition at line 312 of file AthenaBarCodeImpl.cxx.
| void AthenaBarCodeImpl::newVersion | ( | ) |
Definition at line 138 of file AthenaBarCodeImpl.cxx.
| AthenaBarCodeImpl & AthenaBarCodeImpl::operator= | ( | const AthenaBarCodeImpl & | other | ) |
Definition at line 101 of file AthenaBarCodeImpl.cxx.
| void AthenaBarCodeImpl::setAthenaBarCode | ( | AthenaBarCode_t | id | ) |
Definition at line 211 of file AthenaBarCodeImpl.cxx.
|
protected |
now id=0000000xx;
Definition at line 260 of file AthenaBarCodeImpl.cxx.
|
static |
Definition at line 298 of file AthenaBarCodeImpl.cxx.
| void AthenaBarCodeImpl::setReserveBits | ( | AthenaBarCode_t | id | ) |
Definition at line 223 of file AthenaBarCodeImpl.cxx.
|
inlineprivate |
Definition at line 114 of file AthenaBarCodeImpl.h.
| void AthenaBarCodeImpl::setVersion | ( | AthenaBarCodeVersion_t | newversion | ) |
Definition at line 157 of file AthenaBarCodeImpl.cxx.
|
friend |
Definition at line 38 of file AthenaBarCodeImpl.h.
|
static |
Definition at line 44 of file AthenaBarCodeImpl.h.
|
mutableprivate |
Definition at line 110 of file AthenaBarCodeImpl.h.
|
staticprivate |
Definition at line 109 of file AthenaBarCodeImpl.h.
|
static |
Definition at line 46 of file AthenaBarCodeImpl.h.
|
static |
Definition at line 49 of file AthenaBarCodeImpl.h.
|
static |
Definition at line 51 of file AthenaBarCodeImpl.h.
|
static |
Definition at line 48 of file AthenaBarCodeImpl.h.
|
static |
Definition at line 50 of file AthenaBarCodeImpl.h.
|
static |
Definition at line 41 of file AthenaBarCodeImpl.h.
|
static |
Definition at line 43 of file AthenaBarCodeImpl.h.
|
static |
Definition at line 45 of file AthenaBarCodeImpl.h.