#include <AthenaBarCodeImpl.h>
Definition at line 37 of file AthenaBarCodeImpl.h.
◆ ~AthenaBarCodeImpl()
virtual AthenaBarCodeImpl::~AthenaBarCodeImpl |
( |
| ) |
|
|
virtualdefault |
◆ AthenaBarCodeImpl() [1/2]
AthenaBarCodeImpl::AthenaBarCodeImpl |
( |
| ) |
|
◆ AthenaBarCodeImpl() [2/2]
◆ combineWithUUIDHash()
◆ createdInCurrentJob()
bool AthenaBarCodeImpl::createdInCurrentJob |
( |
| ) |
const |
◆ dump()
std::ostream & AthenaBarCodeImpl::dump |
( |
std::ostream & |
out | ) |
const |
◆ getAthenaBarCode()
◆ getBits()
AthenaBarCode_t AthenaBarCodeImpl::getBits |
( |
unsigned short |
startbit, |
|
|
unsigned short |
nbits |
|
) |
| const |
|
protected |
◆ getDefaultHash()
◆ getReserveBits()
◆ getUUIDHash()
◆ getVersion()
◆ hashUUID()
◆ hasSameAthenaBarCode()
◆ hasSameAthenaBarCodeExceptVersion()
◆ hasUUIDHash()
◆ initABC()
void AthenaBarCodeImpl::initABC |
( |
| ) |
const |
|
protected |
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 AthenaBarCodeImpl::newVersion |
( |
| ) |
|
Definition at line 138 of file AthenaBarCodeImpl.cxx.
150 catch (
const GaudiException& Exception) {
151 throw std::runtime_error(
152 "AthenaBarCodeImpl::newVersion()::Version Overflow");
◆ operator=()
◆ 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 | ) |
|
|
static |
◆ 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()
Definition at line 157 of file AthenaBarCodeImpl.cxx.
166 catch (
const GaudiException& Exception) {
167 throw std::runtime_error(
"AthenaBarCodeImpl::newVersion()::Version Too big");
◆ AthenaBarCodeCnv_p1
◆ CounterBits
const unsigned short AthenaBarCodeImpl::CounterBits = 26 |
|
static |
◆ m_barcode
◆ m_barcodeCounter
◆ ReserveBits
const unsigned short AthenaBarCodeImpl::ReserveBits = 2 |
|
static |
◆ SCounterBits
◆ SReserveBits
◆ SUUIDBits
const unsigned short AthenaBarCodeImpl::SUUIDBits = 0 |
|
static |
◆ SVersionBits
◆ TotalBits
const unsigned short AthenaBarCodeImpl::TotalBits = 64 |
|
static |
◆ UUIDBits
const unsigned short AthenaBarCodeImpl::UUIDBits = 32 |
|
static |
◆ VersionBits
const unsigned short AthenaBarCodeImpl::VersionBits = 4 |
|
static |
The documentation for this class was generated from the following files: