CSamplesInfo.h
Go to the documentation of this file.
1 #ifndef imeas_CSamplesInfo_included
2 #define imeas_CSamplesInfo_included
3 
4 
6 
7 
8 namespace imeas
9 {
10 
11 
15 class CSamplesInfo: virtual public CDataSequenceInfoBase
16 {
17 public:
18  CSamplesInfo(const istd::CRange& logicalSamplesRange = istd::CRange::GetInvalid());
19 
25  const istd::CRange& GetLogicalSamplesRange() const;
30  void SetLogicalSamplesRange(const istd::CRange& range);
31 
32  // reimplemented (imeas::IDataSequenceInfo)
33  virtual int GetDefaultSamplesCount() const;
34  virtual int GetDefaultChannelsCount() const;
35 
36  // reimplemented (iser::ISerializable)
37  virtual bool Serialize(iser::IArchive& archive);
38 
39 private:
40 
41  istd::CRange m_logicalSamplesRange;
42 };
43 
44 
45 } // namespace imeas
46 
47 
48 #endif // !imeas_CSamplesInfo_included
49 
50 
static const TRange & GetInvalid()
CSamplesInfo(const istd::CRange &logicalSamplesRange=istd::CRange::GetInvalid())
Simple base class for implementations of interface imeas::IDataSequenceInfo.
virtual int GetDefaultSamplesCount() const
Get default number of samples.
void SetLogicalSamplesRange(const istd::CRange &range)
Set logical position range (time axis) of this data sequence.
Stores additional data sequence data used to interpret samples value correctly.
Definition: CSamplesInfo.h:15
const istd::CRange & GetLogicalSamplesRange() const
Get logical position range (time axis) of this data sequence.
virtual bool Serialize(iser::IArchive &archive)
virtual int GetDefaultChannelsCount() const
Get default number of channels.

© 2007-2011 Witold Gantzke and Kirill Lepskiy