Public Types | Public Member Functions | List of all members
imeas::IDataSequenceInfo Class Referenceabstract

Stores additional data sequence data used to interpret samples value correctly. More...

#include <IDataSequenceInfo.h>

Inheritance diagram for imeas::IDataSequenceInfo:
imeas::INumericConstraints iser::ISerializable istd::IChangeable istd::IChangeable istd::IPolymorphic istd::IPolymorphic imeas::CGeneralDataSequenceInfo imeas::CSamplesInfo

Public Types

enum  SequenceInfoFlags { SIF_SAMPLES_COUNT_FIXED = 1 << 1, SIF_CHANNELS_COUNT_FIXED = 1 << 2 }
 
enum  WeightMode { WM_NONE, WM_LAST, WM_INTERLEAVED, WM_UNKNOWN }
 Describe mode of weight information. More...
 

Public Member Functions

virtual int GetSequenceInfoFlags () const =0
 Get flags for this data sequence. More...
 
virtual int GetDefaultSamplesCount () const =0
 Get default number of samples. More...
 
virtual int GetDefaultChannelsCount () const =0
 Get default number of channels. More...
 
virtual int GetWeightMode () const =0
 Get weight mode for this sequence. More...
 
- Public Member Functions inherited from imeas::INumericConstraints
virtual const iprm::IOptionsListGetValueListInfo () const =0
 Get general information about the "content" of the numeric value. More...
 
virtual const imath::IUnitInfoGetNumericValueUnitInfo (int index) const =0
 Get range of possible numeric values for specified list index. More...
 

Detailed Description

Stores additional data sequence data used to interpret samples value correctly.

Definition at line 18 of file IDataSequenceInfo.h.

Member Enumeration Documentation

Enumerator
SIF_SAMPLES_COUNT_FIXED 

Number of samples is fixed by this info object.

If this flag is on, default number of samples will be used. If you try to create sequence with other number of samples, error will be returned.

SIF_CHANNELS_COUNT_FIXED 

Number of channels is fixed by this info object.

If this flag is on, default number of channels will be used. If you try to create sequence with other number of channels, error will be returned.

Definition at line 23 of file IDataSequenceInfo.h.

Describe mode of weight information.

Enumerator
WM_NONE 

There is no weights.

WM_LAST 

The last channel (if more than 1) describes weight values, weights are shared for all channels.

WM_INTERLEAVED 

The weight channels are interleaved with 'normal' channels (e.g.

for 6 channels it will be sequence NWNWNW, N - normal, W - weight channel).

WM_UNKNOWN 

There is unknown weight channel interpretation.

Definition at line 42 of file IDataSequenceInfo.h.

Member Function Documentation

virtual int imeas::IDataSequenceInfo::GetDefaultChannelsCount ( ) const
pure virtual

Get default number of channels.

If negative, the default number of channels is undefined.

Implemented in imeas::CSamplesInfo, and imeas::CGeneralDataSequenceInfo.

virtual int imeas::IDataSequenceInfo::GetDefaultSamplesCount ( ) const
pure virtual

Get default number of samples.

If negative, the default number of samples is undefined.

Implemented in imeas::CSamplesInfo, and imeas::CGeneralDataSequenceInfo.

virtual int imeas::IDataSequenceInfo::GetSequenceInfoFlags ( ) const
pure virtual

Get flags for this data sequence.

Implemented in imeas::CSamplesInfo, and imeas::CGeneralDataSequenceInfo.

virtual int imeas::IDataSequenceInfo::GetWeightMode ( ) const
pure virtual

Get weight mode for this sequence.

See Also
WeightMode

Implemented in imeas::CSamplesInfo, and imeas::CGeneralDataSequenceInfo.


The documentation for this class was generated from the following file:

© 2007-2017 Witold Gantzke and Kirill Lepskiy