ICF 3.1.1.10
Technical documentation of ICF Libraries
ISamplingConstraints.h
Go to the documentation of this file.
1/********************************************************************************
2** This file is part of the ICF Framework. Copyright (C) Witold Gantzke & Kirill Lepskiy
3** ICF Framework may be used under the terms of the LGPL License v. 2.1 by the Free Software Foundation.
4********************************************************************************/
5
6#pragma once
7
8
9// ICF includes
10#include <istd/TRange.h>
11#include <iser/ISerializable.h>
12#include <iprm/IParamsSet.h>
13#include <isig/isig.h>
14
15
16namespace isig
17{
18
19
23class ISamplingConstraints: virtual public istd::IPolymorphic
24{
25public:
29 virtual istd::CRange GetIntervalRange() const = 0;
30
35 virtual bool IsSamplingModeSupported(int mode) const = 0;
36
40 virtual istd::CRange GetValueRange(bool forInput = true, bool forOutput = true, const iprm::IParamsSet* paramsSetPtr = nullptr) const = 0;
41
46 virtual int GetMaximalSamplesCount(bool forInput = true, bool forOutput = true, const iprm::IParamsSet* paramsSetPtr = nullptr) const = 0;
47};
48
49
50} // namespace isig
51
52
Set of general parameters.
Definition IParamsSet.h:29
Define constrains of sampling parameters.
virtual istd::CRange GetIntervalRange() const =0
Return range of possible sampling interval values.
virtual int GetMaximalSamplesCount(bool forInput=true, bool forOutput=true, const iprm::IParamsSet *paramsSetPtr=nullptr) const =0
Get maximal number of samples can be received/send at one time.
virtual istd::CRange GetValueRange(bool forInput=true, bool forOutput=true, const iprm::IParamsSet *paramsSetPtr=nullptr) const =0
Get range of possible/representable sample values.
virtual bool IsSamplingModeSupported(int mode) const =0
Check if specified sampling mode is supported.
Contains interfaces and implementations of signal processing.

© Witold Gantzke and Kirill Lepskiy