#include <ChanBufferNode.hpp>
◆ BufMode
Enumerator |
---|
Latency | |
Capture | |
PlayOnce | |
PlayLoop | |
◆ DataSrc
Enumerator |
---|
Input | |
Buffer | |
Pattern | |
Zeroes | |
◆ ChanBufferNode()
ChanBufferNode |
( |
const uhal::Node& |
aNode | ) |
|
◆ ~ChanBufferNode()
◆ clear()
Clear the buffer block. Fills it with zeroes.
◆ configure()
Configure buffer mode and data source.
◆ download()
std::vector<uint32_t> download |
( |
size_t |
aSize | ) |
const |
◆ downloadValid()
std::vector<uint64_t> downloadValid |
( |
size_t |
aSize | ) |
const |
◆ getBufferMode()
◆ getDataSrc()
Get datasrc for the current buffer.
◆ getMaxSize()
uint32_t getMaxSize |
( |
| ) |
const |
return the maximum buffer size
◆ getSize()
uint32_t getSize |
( |
| ) |
const |
returns the current buffer size
◆ readRaw()
std::vector<uint32_t> readRaw |
( |
uint32_t |
aSize | ) |
const |
◆ setRange()
void setRange |
( |
uint32_t |
trig_bx, |
|
|
uint32_t |
words |
|
) |
| const |
◆ setSize()
void setSize |
( |
size_t |
size = 0x0 | ) |
|
sets the size of the buffers to be used. Must be less than max size
◆ UHAL_DERIVEDNODE()
UHAL_DERIVEDNODE |
( |
|
ChanBufferNode | ) |
|
|
private |
◆ upload()
void upload |
( |
std::vector<uint32_t> |
aData | ) |
const |
Uploads data into the buffer up to the buffer maximum size.
◆ uploadValid()
void uploadValid |
( |
std::vector<uint64_t> |
aData | ) |
const |
◆ waitCaptureDone()
void waitCaptureDone |
( |
| ) |
const |
wait for the buffer capture to be completed
◆ writeRaw()
void writeRaw |
( |
std::vector<uint32_t> |
aRawData | ) |
const |
◆ mSize
The documentation for this class was generated from the following files: