|
ATLAS Offline Software
|
#include <AthenaBarCodeBase.h>
Definition at line 26 of file AthenaBarCodeBase.h.
◆ combineWithUUIDHash()
◆ createdInCurrentJob()
bool AthenaBarCodeImpl::createdInCurrentJob |
( |
| ) |
const |
|
inherited |
◆ dump()
std::ostream & AthenaBarCodeImpl::dump |
( |
std::ostream & |
out | ) |
const |
|
inherited |
◆ getAthenaBarCode()
◆ getBits()
AthenaBarCode_t AthenaBarCodeImpl::getBits |
( |
unsigned short |
startbit, |
|
|
unsigned short |
nbits |
|
) |
| const |
|
protectedinherited |
◆ getDefaultHash()
◆ getReserveBits()
◆ getUUIDHash()
◆ getVersion()
◆ hashUUID()
◆ hasSameAthenaBarCode()
◆ hasSameAthenaBarCodeExceptVersion()
◆ hasUUIDHash()
◆ initABC()
void AthenaBarCodeImpl::initABC |
( |
| ) |
const |
|
protectedinherited |
Definition at line 24 of file AthenaBarCodeImpl.cxx.
44 catch (
const GaudiException& Exception) {
45 throw std::runtime_error(
46 "AthenaBarCodeImpl::Can not Set Counter Bit, Counter Overflow");
55 catch (
const GaudiException& Exception) {
56 throw std::runtime_error(
57 "AthenaBarCodeImpl::Can not initialize Reserve Bit");
66 catch (
const GaudiException& Exception) {
67 throw std::runtime_error(
68 "AthenaBarCodeImpl::Can not initialize Version Bit");
75 catch (
const GaudiException& Exception) {
76 throw std::runtime_error(
"AthenaBarCodeImpl::Can not set UUID Hash Bits");
◆ makeDefaultHash()
Definition at line 312 of file AthenaBarCodeImpl.cxx.
325 const char* env_uuid =
getenv (
"_ATHENABARCODEIMPL_JOBUUID");
334 if (!
sc.isSuccess() || 0 == p_jobidsvc) {
338 uuid_generate(JobID);
345 PJobID_t pjobid = p_jobidsvc->getJobID();
◆ newVersion()
void AthenaBarCodeBase::newVersion |
( |
| ) |
|
|
virtual |
◆ setAthenaBarCode()
◆ setBits()
now id=0000000xx;
Definition at line 260 of file AthenaBarCodeImpl.cxx.
272 MsgStream
msg(
msgsvc,
"AthenaBarCodeImpl");
273 msg << MSG::WARNING <<
"setBits::bit to be set:" <<
id
274 <<
" is larger than limit:" << ((~
tmp2) >> (
TotalBits - nbits))
278 std::cout <<
"setBits::bit to be set:" <<
id <<
" is larger than limit:"
281 throw std::runtime_error(
"AthenaBarCodeImpl::setBit Failed");
◆ setDefaultHash()
void AthenaBarCodeImpl::setDefaultHash |
( |
const char * |
jobid | ) |
|
|
staticinherited |
◆ setReserveBits()
Definition at line 223 of file AthenaBarCodeImpl.cxx.
232 catch (
const GaudiException& Exception) {
233 throw std::runtime_error(
234 "AthenaBarCodeImpl::newVersion()::Version Overflow");
◆ setUUIDHash()
◆ setVersion()
◆ CounterBits
const unsigned short AthenaBarCodeImpl::CounterBits = 26 |
|
staticinherited |
◆ m_barcode
◆ m_barcodeCounter
◆ ReserveBits
const unsigned short AthenaBarCodeImpl::ReserveBits = 2 |
|
staticinherited |
◆ SCounterBits
◆ SReserveBits
◆ SUUIDBits
const unsigned short AthenaBarCodeImpl::SUUIDBits = 0 |
|
staticinherited |
◆ SVersionBits
◆ TotalBits
const unsigned short AthenaBarCodeImpl::TotalBits = 64 |
|
staticinherited |
◆ UNDEFINEDBARCODE
◆ UNDEFINEDVERSION
◆ UUIDBits
const unsigned short AthenaBarCodeImpl::UUIDBits = 32 |
|
staticinherited |
◆ VersionBits
const unsigned short AthenaBarCodeImpl::VersionBits = 4 |
|
staticinherited |
The documentation for this class was generated from the following files:
static std::atomic< AthenaBarCode_t > m_barcodeCounter
std::atomic< AthenaBarCode_t > m_barcode
static const AthenaBarCode_t UNDEFINEDBARCODE
const unsigned char * PJobID_t
static const unsigned short SUUIDBits
static AthenaBarCode_t hashUUID(const char *)
static const unsigned short UUIDBits
static const unsigned short CounterBits
static const unsigned short SVersionBits
void setBits(unsigned short startbit, unsigned short nbits, AthenaBarCode_t id, AthenaBarCode_t &bc) const
AthenaBarCode_t getUUIDHash() const
void setAthenaBarCode(AthenaBarCode_t id)
@ u
Enums for curvilinear frames.
IMessageSvc * getMessageSvc(bool quiet=false)
uint64_t AthenaBarCode_t
barcode for all INav4Mom classes
static const unsigned short TotalBits
static AthenaBarCode_t getDefaultHash(const char *jobid=nullptr)
::StatusCode StatusCode
StatusCode definition for legacy code.
bool hasSameAthenaBarCodeExceptVersion(const IAthenaBarCode &obj) const
static const unsigned short SReserveBits
AthenaBarCode_t getBits(unsigned short startbit, unsigned short nbits) const
static const unsigned short SCounterBits
AthenaBarCode_t combineWithUUIDHash(const AthenaBarCode_t &) const
AthenaBarCode_t getAthenaBarCode() const
std::string getenv(const std::string &variableName)
get an environment variable
bool hasSameAthenaBarCode(const IAthenaBarCode &obj) const
static AthenaBarCode_t makeDefaultHash(const char *jobid)
static const unsigned short VersionBits
void setVersion(AthenaBarCodeVersion_t newversion)
AthenaBarCodeVersion_t getVersion() const
static const unsigned short ReserveBits