#include "AthenaKernel/errorcheck.h"
#include <cstring>
Go to the source code of this file.
◆ bcBitmap()
| unsigned bcBitmap |
( |
uint16_t | bcTag | ) |
|
|
inline |
◆ bcId()
| uint16_t bcId |
( |
uint32_t | data | ) |
|
|
inline |
◆ bcTag()
| unsigned bcTag |
( |
unsigned | bcBitMap | ) |
|
|
inline |
Definition at line 359 of file TgcByteStreamData.h.
360{
361 return (bcBitMap == 4 ? 1 :
362 (bcBitMap == 2 ? 2 :
363 (bcBitMap == 1 ? 3 :
364 0)));
365}
◆ fragmentCount()
| int fragmentCount |
( |
uint32_t | data, |
|
|
int | id ) |
|
inline |
Definition at line 328 of file TgcByteStreamData.h.
329{
332 if(
counter.id != (
unsigned int)
id)
333 {
335 <<
"Requested count of frament " <<
id <<
", data is for fragment " <<
counter.id <<
endmsg;
336 return 0;
337 }
339}
#define REPORT_MESSAGE_WITH_CONTEXT(LVL, CONTEXT_NAME)
Report a message, with an explicitly specified context name.
void fromBS32(uint32_t data, T &s)
The struct for fragment count in ByteStream.
◆ from16()
| uint32_t from16 |
( |
uint16_t | high16, |
|
|
uint16_t | low16 ) |
|
inline |
Definition at line 341 of file TgcByteStreamData.h.
342{
344}
uint16_t low16(uint32_t data)
uint16_t high16(uint32_t data)
◆ from8()
| uint32_t from8 |
( |
uint8_t | high8, |
|
|
uint8_t | highmid8, |
|
|
uint8_t | lowmid8, |
|
|
uint8_t | low8 ) |
|
inline |
Definition at line 346 of file TgcByteStreamData.h.
347{
348 return (uint32_t)((high8 << 24) | (highmid8 << 16) | (lowmid8 << 8) |
low8);
349}
uint8_t low8(uint32_t data)
◆ fromBS16()
template<class T>
| void fromBS16 |
( |
uint16_t | data, |
|
|
T & | s ) |
|
inline |
◆ fromBS32()
template<class T>
| void fromBS32 |
( |
uint32_t | data, |
|
|
T & | s ) |
|
inline |
◆ high16()
| uint16_t high16 |
( |
uint32_t | data | ) |
|
|
inline |
◆ low16()
| uint16_t low16 |
( |
uint32_t | data | ) |
|
|
inline |
◆ low8()
| uint8_t low8 |
( |
uint32_t | data | ) |
|
|
inline |
◆ my_pointer_cast()
template<typename DEST, typename SRC>
| DEST * my_pointer_cast |
( |
SRC * | src | ) |
|
◆ toBS16()
template<class T>
| uint16_t toBS16 |
( |
T & | data | ) |
|
|
inline |
◆ toBS32()
template<class T>
| uint32_t toBS32 |
( |
T & | data | ) |
|
|
inline |
◆ TGC_BYTESTREAM_HEADER
| const uint32_t TGC_BYTESTREAM_HEADER = 0xee1234ee |
◆ TGC_BYTESTREAM_HEADERSIZE
| const uint32_t TGC_BYTESTREAM_HEADERSIZE = 0x9 |
◆ TGC_BYTESTREAM_HEADERVERSION
| const uint32_t TGC_BYTESTREAM_HEADERVERSION = 0x03000300 |
◆ TGC_BYTESTREAM_STATUSSIZE
| const uint32_t TGC_BYTESTREAM_STATUSSIZE = 0x5 |