Newer
Older
TB_Chris / TbUT / src / .svn / text-base / TbUTITresholdProvider.h.svn-base
@iaro iaro on 9 May 2016 566 bytes first attempt of automated anal
/*
 * TbUTIZSTresholdProvider.h
 *
 *  Created on: Nov 27, 2014
 *      Author: ADendek
 */

#pragma once

#include <string>
#include <stdexcept>

namespace TbUT
{

class ITresholdProvider
{
public:
	virtual ~ITresholdProvider(){}
	virtual void retreiveTresholds()=0;
	virtual double getLowClusterThreshold(int p_channel)=0;
	virtual double getHighClusterThreshold(int p_channel)=0;

	class ThresholdProviderError: public std::runtime_error
	{
	public:
		ThresholdProviderError(const std::string& p_errorMsg ):
					std::runtime_error(p_errorMsg)
		{
		}
	};

};

}