Logo Search packages:      
Sourcecode: ecasound2.2 version File versions

ECA_CONTROL_BASE Class Reference

#include <eca-control-base.h>

Inheritance diagram for ECA_CONTROL_BASE:


List of all members.

Detailed Description

Base class providing basic functionality for controlling the ecasound library.
Kai Vehmanen

Definition at line 27 of file eca-control-base.h.

Public Member Functions

std::vector< std::string > attached_chains (const std::string &name) const
std::string attached_chains_input (AUDIO_IO *aiod) const
std::string attached_chains_output (AUDIO_IO *aiod) const
void engine_start (void)
std::string engine_status (void) const
int float_to_string_precision (void) const
bool is_connected (void) const
bool is_engine_started (void) const
bool is_finished (void) const
bool is_running (void) const
bool is_selected (void) const
bool is_valid (void) const
const std::string & last_error (void) const
double last_float (void) const
int last_integer (void) const
long int last_long_integer (void) const
const std::string & last_string (void) const
const std::vector< std::string > & last_string_list (void) const
const std::string & last_type (void) const
SAMPLE_SPECS::sample_pos_t length_in_samples (void) const
double length_in_seconds_exact (void) const
SAMPLE_SPECS::sample_pos_t position_in_samples (void) const
double position_in_seconds_exact (void) const
void quit (void)
std::string resource_value (const std::string &key) const
void run (void)
void start (void)
void stop (void)
void stop_on_condition (void)

Protected Member Functions

void clear_last_values (void)
void close_engine (void)
std::string float_to_string (double n) const
void set_float_to_string_precision (int precision)
void set_last_error (const std::string &s)
void set_last_float (double v)
void set_last_integer (int v)
void set_last_long_integer (long int v)
void set_last_string (const std::string &s)
void set_last_string (const std::list< std::string > &s)
void set_last_string_list (const std::vector< std::string > &s)

Protected Attributes


Private Member Functions

void run_engine (void)
void start_engine_sub (bool batchmode)

Static Private Member Functions

static void * start_normal_thread (void *ptr)

Private Attributes

ATOMIC_INTEGER engine_exited_rep
int float_to_string_precision_rep
std::string last_error_rep
double last_f_rep
int last_i_rep
long int last_li_rep
std::vector< std::string > last_los_rep
std::string last_s_rep
std::string last_type_rep
bool req_batchmode_rep
pthread_t th_cqueue_rep

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

Generated by  Doxygen 1.6.0   Back to index