ldpk
Public Types | Public Member Functions | Friends | List of all members
ldpk::line_cache< T > Class Template Reference

The class is thread-safe in the following sense: More...

#include <ldpk_line_cache.h>

Public Types

typedef line_cache this_type
 
typedef line_ref< T > line_ref_type
 
typedef cache_line_buffer< T > cache_line_buffer_type
 

Public Member Functions

void clear ()
 
bool line_exists (int iy) const
 
line_ref_type resize_line (int iy, int a, int b)
 Protected by mutex. By this method, line iy is created -if not exists- and initialized.
 
line_ref_type get_line (int iy) const
 Return reference to line_buffer if exists, otherwise exception.
 
int size () const
 Number of Buffer-Refs.
 

Friends

std::ostream & operator<< (std::ostream &cout, const this_type &c)
 

Detailed Description

template<class T>
class ldpk::line_cache< T >

The class is thread-safe in the following sense:


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