Midge  v3.9.2
Data Processing Framework
Classes | Public Member Functions | Protected Attributes | List of all members
_buffer< x_type > Class Template Reference

#include <_buffer.hh>

Classes

class  _read_stream
 
class  _write_stream
 

Public Member Functions

 _buffer (node *a_out_node)
 
 ~_buffer ()
 
void set_write_stream_name (const std::string &a_name)
 
void initialize (const count_t &p_length)
 
template<class x_r , class... x_args>
void call (x_r(x_type::*p_member)(x_args...), x_args... args)
 
void finalize ()
 
_stream< x_type > * write ()
 
_stream< x_type > * read ()
 

Protected Attributes

count_t f_length
 
nodef_out_node
 
std::string f_write_stream_name
 
enum_t f_write_command
 
std::timed_mutex f_write_mutex
 
_write_streamf_write_stream
 
count_t f_read_count
 
x_type * f_read_data
 
enum_tf_read_command
 
std::timed_mutex ** f_read_mutexes
 
count_t f_mutex_wait_msec
 
_read_stream ** f_read_streams
 

Detailed Description

template<class x_type>
class midge::_buffer< x_type >

Definition at line 15 of file _buffer.hh.

Constructor & Destructor Documentation

◆ _buffer()

_buffer ( node a_out_node)
inline

Definition at line 18 of file _buffer.hh.

◆ ~_buffer()

~_buffer ( )
inline

Definition at line 33 of file _buffer.hh.

Member Function Documentation

◆ call()

void call ( x_r(x_type::*)(x_args...)  p_member,
x_args...  args 
)
inline

Definition at line 55 of file _buffer.hh.

◆ finalize()

void finalize ( )
inline

Definition at line 63 of file _buffer.hh.

◆ initialize()

void initialize ( const count_t p_length)
inline

Definition at line 44 of file _buffer.hh.

◆ read()

_stream< x_type >* read ( )
inline

Definition at line 87 of file _buffer.hh.

◆ set_write_stream_name()

void set_write_stream_name ( const std::string &  a_name)
inline

Definition at line 38 of file _buffer.hh.

◆ write()

_stream< x_type >* write ( )
inline

Definition at line 83 of file _buffer.hh.

Member Data Documentation

◆ f_length

count_t f_length
protected

Definition at line 115 of file _buffer.hh.

◆ f_mutex_wait_msec

count_t f_mutex_wait_msec
protected

Definition at line 287 of file _buffer.hh.

◆ f_out_node

node* f_out_node
protected

Definition at line 204 of file _buffer.hh.

◆ f_read_command

enum_t* f_read_command
protected

Definition at line 285 of file _buffer.hh.

◆ f_read_count

count_t f_read_count
protected

Definition at line 283 of file _buffer.hh.

◆ f_read_data

x_type* f_read_data
protected

Definition at line 284 of file _buffer.hh.

◆ f_read_mutexes

std::timed_mutex** f_read_mutexes
protected

Definition at line 286 of file _buffer.hh.

◆ f_read_streams

_read_stream** f_read_streams
protected

Definition at line 288 of file _buffer.hh.

◆ f_write_command

enum_t f_write_command
protected

Definition at line 206 of file _buffer.hh.

◆ f_write_mutex

std::timed_mutex f_write_mutex
protected

Definition at line 207 of file _buffer.hh.

◆ f_write_stream

_write_stream* f_write_stream
protected

Definition at line 208 of file _buffer.hh.

◆ f_write_stream_name

std::string f_write_stream_name
protected

Definition at line 205 of file _buffer.hh.


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