Public Types | Public Member Functions | List of all members
isig::ISamplingParams Class Referenceabstract

Sampler parameters. More...

#include <ISamplingParams.h>

Inheritance diagram for isig::ISamplingParams:
iser::ISerializable istd::IChangeable istd::IPolymorphic isig::CSamplingParamsComp

Public Types

enum  SamplingMode { SM_SINGLE, SM_PERIODIC, SM_SYNCHRONIZED, SM_LAST = SM_SYNCHRONIZED }
 

Public Member Functions

virtual const
ISamplingConstraints
GetSamplingConstraints () const =0
 Get access to constraints information about possible value ranges. More...
 
virtual double GetInterval () const =0
 Get sampling interval in seconds. More...
 
virtual void SetInterval (double value)=0
 Set sampling interval in seconds. More...
 
virtual int GetSamplingMode () const =0
 Get mode of sampling. More...
 
virtual bool SetSamplingMode (int mode)=0
 Set mode of sampling. More...
 

Detailed Description

Sampler parameters.

Definition at line 22 of file ISamplingParams.h.

Member Enumeration Documentation

Enumerator
SM_SINGLE 
SM_PERIODIC 
SM_SYNCHRONIZED 
SM_LAST 

Definition at line 25 of file ISamplingParams.h.

Member Function Documentation

virtual double isig::ISamplingParams::GetInterval ( ) const
pure virtual

Get sampling interval in seconds.

Implemented in isig::CSamplingParamsComp.

virtual const ISamplingConstraints* isig::ISamplingParams::GetSamplingConstraints ( ) const
pure virtual

Get access to constraints information about possible value ranges.

Implemented in isig::CSamplingParamsComp.

virtual int isig::ISamplingParams::GetSamplingMode ( ) const
pure virtual

Get mode of sampling.

See Also
SamplingMode.

Implemented in isig::CSamplingParamsComp.

virtual void isig::ISamplingParams::SetInterval ( double  value)
pure virtual

Set sampling interval in seconds.

Implemented in isig::CSamplingParamsComp.

virtual bool isig::ISamplingParams::SetSamplingMode ( int  mode)
pure virtual

Set mode of sampling.

See Also
SamplingMode.
Returns
true if this mode was supported and was set correctly.

Implemented in isig::CSamplingParamsComp.


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

© 2007-2017 Witold Gantzke and Kirill Lepskiy