My Project  v0.0.16
Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
ChanBufferNode Class Reference

#include <ChanBufferNode.hpp>

Inheritance diagram for ChanBufferNode:
Inheritance graph
[legend]
Collaboration diagram for ChanBufferNode:
Collaboration graph
[legend]

Public Types

Public Member Functions

Private Member Functions

Private Attributes

Member Enumeration Documentation

◆ BufMode

enum BufMode
Enumerator
Latency 
Capture 
PlayOnce 
PlayLoop 

◆ DataSrc

enum DataSrc
Enumerator
Input 
Buffer 
Pattern 
Zeroes 

Constructor & Destructor Documentation

◆ ChanBufferNode()

ChanBufferNode ( const uhal::Node&  aNode)

◆ ~ChanBufferNode()

~ChanBufferNode ( )
virtual

Member Function Documentation

◆ clear()

void clear ( ) const

Clear the buffer block. Fills it with zeroes.

◆ configure()

void configure ( BufMode  aMode,
DataSrc  aDataSrc 
) const

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()

ChanBufferNode::BufMode getBufferMode ( ) const

Get current buffer mode.

◆ getDataSrc()

ChanBufferNode::DataSrc getDataSrc ( ) const

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

Raw buffer access.

◆ 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

Member Data Documentation

◆ mSize

size_t mSize
private

The documentation for this class was generated from the following files: