USRP_Server  2.0
A flexible, GPU-accelerated radio-frequency readout software.
H5_file_writer Class Reference

#include <USRP_file_writer.hpp>

Collaboration diagram for H5_file_writer:
Collaboration graph

Public Member Functions

 H5_file_writer (rx_queue *init_queue, preallocator< float2 > *init_memory)
 
 H5_file_writer (Sync_server *streaming_server)
 
void start (usrp_param *global_params)
 
bool stop (bool force=false)
 
void close ()
 
void update_pointers (rx_queue *init_queue, preallocator< float2 > *init_memory)
 
void update_pointers (Sync_server *streaming_server)
 

Public Attributes

rx_queue * stream_queue
 

Detailed Description

Definition at line 13 of file USRP_file_writer.hpp.

Constructor & Destructor Documentation

◆ H5_file_writer() [1/2]

H5_file_writer::H5_file_writer ( rx_queue *  init_queue,
preallocator< float2 > *  init_memory 
)

Definition at line 7 of file USRP_file_writer.cpp.

◆ H5_file_writer() [2/2]

H5_file_writer::H5_file_writer ( Sync_server streaming_server)

Definition at line 26 of file USRP_file_writer.cpp.

References Sync_server::memory, and Sync_server::out_queue.

Member Function Documentation

◆ start()

void H5_file_writer::start ( usrp_param *  global_params)

Definition at line 42 of file USRP_file_writer.cpp.

References print_error().

Referenced by TXRX::start().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ stop()

bool H5_file_writer::stop ( bool  force = false)

Definition at line 99 of file USRP_file_writer.cpp.

Referenced by TXRX::stop().

Here is the caller graph for this function:

◆ close()

void H5_file_writer::close ( )

Definition at line 115 of file USRP_file_writer.cpp.

◆ update_pointers() [1/2]

void H5_file_writer::update_pointers ( rx_queue *  init_queue,
preallocator< float2 > *  init_memory 
)

Definition at line 123 of file USRP_file_writer.cpp.

Referenced by TXRX::set().

Here is the caller graph for this function:

◆ update_pointers() [2/2]

void H5_file_writer::update_pointers ( Sync_server streaming_server)

Definition at line 127 of file USRP_file_writer.cpp.

References ant_mode_to_str(), get_front_end_name(), Sync_server::memory, Sync_server::out_queue, print_warning(), and w_type_to_str().

Here is the call graph for this function:

Member Data Documentation

◆ stream_queue

rx_queue* H5_file_writer::stream_queue

Definition at line 16 of file USRP_file_writer.hpp.


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