ISamplingParams.h
Go to the documentation of this file.
1 #ifndef isig_ISamplingParams_included
2 #define isig_ISamplingParams_included
3 
4 
5 #include "istd/TRange.h"
6 
7 #include "iser/ISerializable.h"
8 
9 #include "isig/isig.h"
10 
11 
12 namespace isig
13 {
14 
15 
16 class ISamplingConstraints;
17 
18 
22 class ISamplingParams: virtual public iser::ISerializable
23 {
24 public:
26  {
31  };
32 
36  virtual const ISamplingConstraints* GetSamplingConstraints() const = 0;
37 
41  virtual double GetInterval() const = 0;
45  virtual void SetInterval(double value) = 0;
46 
51  virtual int GetSamplingMode() const = 0;
52 
58  virtual bool SetSamplingMode(int mode) = 0;
59 };
60 
61 
62 } // namespace isig
63 
64 
65 #endif // !isig_ISamplingParams_included
66 
67 
Define constrains of sampling parameters.
virtual const ISamplingConstraints * GetSamplingConstraints() const =0
Get access to constraints information about possible value ranges.
virtual void SetInterval(double value)=0
Set sampling interval in seconds.
virtual bool SetSamplingMode(int mode)=0
Set mode of sampling.
virtual double GetInterval() const =0
Get sampling interval in seconds.
Sampler parameters.
virtual int GetSamplingMode() const =0
Get mode of sampling.

© 2007-2011 Witold Gantzke and Kirill Lepskiy