The Open Master Hearing Aid (openMHA)  openMHA
Open community platform for hearing aid algorithm research
acsave::save_var_t Class Reference

Public Member Functions

 save_var_t (const std::string &, int, MHA_AC::algo_comm_t &)
 
 ~save_var_t ()
 
void store_frame ()
 
void save_txt (FILE *, unsigned int)
 
void save_mat4 (FILE *, unsigned int)
 
void save_m (FILE *, unsigned int)
 

Public Attributes

double * data
 

Private Attributes

std::string name
 
unsigned int nframes
 
unsigned int ndim
 
unsigned int maxframe
 
MHA_AC::algo_comm_tac
 
unsigned int framecnt
 
bool b_complex
 

Constructor & Destructor Documentation

◆ save_var_t()

acsave::save_var_t::save_var_t ( const std::string &  nm,
int  n,
MHA_AC::algo_comm_t iac 
)

◆ ~save_var_t()

acsave::save_var_t::~save_var_t ( )

Member Function Documentation

◆ store_frame()

void acsave::save_var_t::store_frame ( )

◆ save_txt()

void acsave::save_var_t::save_txt ( FILE *  fh,
unsigned int  writeframes 
)

◆ save_mat4()

void acsave::save_var_t::save_mat4 ( FILE *  fh,
unsigned int  writeframes 
)

◆ save_m()

void acsave::save_var_t::save_m ( FILE *  fh,
unsigned int  writeframes 
)

Member Data Documentation

◆ data

double* acsave::save_var_t::data

◆ name

std::string acsave::save_var_t::name
private

◆ nframes

unsigned int acsave::save_var_t::nframes
private

◆ ndim

unsigned int acsave::save_var_t::ndim
private

◆ maxframe

unsigned int acsave::save_var_t::maxframe
private

◆ ac

MHA_AC::algo_comm_t& acsave::save_var_t::ac
private

◆ framecnt

unsigned int acsave::save_var_t::framecnt
private

◆ b_complex

bool acsave::save_var_t::b_complex
private

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