Hall-D Software
alpha
|
Go to the source code of this file.
Functions | |
uint32_t | swap_bank (uint32_t *outbuff, uint32_t *inbuff, uint32_t len) |
uint32_t | swap_tagsegment (uint32_t *outbuff, uint32_t *inbuff, uint32_t len) |
uint32_t | swap_segment (uint32_t *outbuff, uint32_t *inbuff, uint32_t len) |
uint32_t swap_bank | ( | uint32_t * | outbuff, |
uint32_t * | inbuff, | ||
uint32_t | len | ||
) |
Swap an EVIO bank. If the bank contains data, it is automatically swapped according to it's type. If the bank is a container of other containers, then this repeatedly calls the swapper methods for the appropriate container type (bank, tagsegment, segment). This means that this method will be recursive in the cases where it is a bank of banks.
Definition at line 15 of file swap_bank.cc.
References swap_bank(), swap_block(), swap_segment(), and swap_tagsegment().
Referenced by HDET::read(), DEVIOWorkerThread::Run(), and swap_bank().
uint32_t swap_segment | ( | uint32_t * | outbuff, |
uint32_t * | inbuff, | ||
uint32_t | len | ||
) |
Swap an EVIO segment.
Definition at line 152 of file swap_bank.cc.
References swap_block().
Referenced by swap_bank().
uint32_t swap_tagsegment | ( | uint32_t * | outbuff, |
uint32_t * | inbuff, | ||
uint32_t | len | ||
) |
Swap an EVIO tagsegment.
Definition at line 102 of file swap_bank.cc.
References swap_block().
Referenced by swap_bank().