/*
* Copyright (C) 2005-2007 by Pieter Palmers
*
* This file is part of FFADO
* FFADO = Free Firewire (pro-)audio drivers for linux
*
* FFADO is based upon FreeBoB
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*
*/
#ifndef CONTROL_MATRIX_MIXER_H
#define CONTROL_MATRIX_MIXER_H
#include "debugmodule/debugmodule.h"
#include "Element.h"
#include
#include
namespace Control {
/*!
@brief Abstract Base class for Matrix Mixer elements
*/
class MatrixMixer : public Element
{
public:
MatrixMixer();
MatrixMixer(std::string n);
virtual ~MatrixMixer() {};
virtual void show() = 0;
virtual std::string getRowName( const int ) = 0;
virtual std::string getColName( const int ) = 0;
virtual int canWrite( const int, const int ) = 0;
virtual double setValue( const int, const int, const double ) = 0;
virtual double getValue( const int, const int ) = 0;
virtual int getRowCount( ) = 0;
virtual int getColCount( ) = 0;
protected:
};
}; // namespace Control
#endif // CONTROL_MATRIX_MIXER_H