jm2cv/cvbase.h

35 lines
518 B
C
Raw Permalink Normal View History

#ifndef CVBASE_H
#define CVBASE_H
#include "client.h"
#include "mapping.h"
class CVBase : protected Client
{
protected:
MappingList m_mapping_list;
bool m_ready;
tick_t m_tick;
2010-01-26 09:24:54 +00:00
std::string m_config_name;
sample_t **m_buffers;
MappingList::iterator m_it_begin;
MappingList::iterator m_it_end;
public:
void add_mapping(Mapping m)
{
m_mapping_list.push_back(m);
}
2010-01-25 21:32:59 +00:00
bool find(const char *name) const;
2010-01-26 09:24:54 +00:00
void set_name(const char *name)
{
m_config_name = name;
}
};
#endif // CVBASE_H