#include <cstring>
#include "AthenaKernel/errorcheck.h"
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 357 of file TgcByteStreamData.h.
357 {
358 return (bcBitMap == 4 ? 1 : (bcBitMap == 2 ? 2 : (bcBitMap == 1 ? 3 : 0)));
359}
◆ fragmentCount()
| int fragmentCount |
( |
uint32_t | data, |
|
|
int | id ) |
|
inline |
Definition at line 330 of file TgcByteStreamData.h.
330 {
333 if (
counter.id != (
unsigned int)
id) {
335 << "Requested count of frament " << id << ", data is for fragment "
337 return 0;
338 }
340}
#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 342 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 |
Definition at line 314 of file TgcByteStreamData.h.
314 {
316}
DEST * my_pointer_cast(SRC *src)
end of structs for NewSL
◆ 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 |