ISamplingConstraints.h
Go to the documentation of this file.
1 #ifndef isig_ISamplingConstraints_included
2 #define isig_ISamplingConstraints_included
3 
4 
5 // ACF includes
6 #include "istd/TRange.h"
7 #include "iser/ISerializable.h"
8 #include "iprm/IParamsSet.h"
9 
10 // ACF-Solutions includes
11 #include "isig/isig.h"
12 
13 
14 namespace isig
15 {
16 
17 
22 {
23 public:
27  virtual istd::CRange GetIntervalRange() const = 0;
28 
33  virtual bool IsSamplingModeSupported(int mode) const = 0;
34 
38  virtual istd::CRange GetValueRange(bool forInput = true, bool forOutput = true, const iprm::IParamsSet* paramsSetPtr = NULL) const = 0;
39 
44  virtual int GetMaximalSamplesCount(bool forInput = true, bool forOutput = true, const iprm::IParamsSet* paramsSetPtr = NULL) const = 0;
45 };
46 
47 
48 } // namespace isig
49 
50 
51 #endif // !isig_ISamplingConstraints_included
52 
53 
Define constrains of sampling parameters.
virtual istd::CRange GetIntervalRange() const =0
Return range of possible sampling interval values.
virtual istd::CRange GetValueRange(bool forInput=true, bool forOutput=true, const iprm::IParamsSet *paramsSetPtr=NULL) const =0
Get range of possible/representable sample values.
virtual bool IsSamplingModeSupported(int mode) const =0
Check if specified sampling mode is supported.
#define NULL
virtual int GetMaximalSamplesCount(bool forInput=true, bool forOutput=true, const iprm::IParamsSet *paramsSetPtr=NULL) const =0
Get maximal number of samples can be received/send at one time.

© 2007-2011 Witold Gantzke and Kirill Lepskiy