Public Types | Public Member Functions | Protected Member Functions | List of all members
isig::CSamplingParamsComp Class Reference

General implementation of sampling parameters. More...

#include <CSamplingParamsComp.h>

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

Public Types

typedef icomp::CComponentBase BaseClass
 
- Public Types inherited from isig::ISamplingParams
enum  SamplingMode { SM_SINGLE, SM_PERIODIC, SM_SYNCHRONIZED, SM_LAST = SM_SYNCHRONIZED }
 

Public Member Functions

 CSamplingParamsComp ()
 
virtual const
ISamplingConstraints
GetSamplingConstraints () const
 Get access to constraints information about possible value ranges. More...
 
virtual double GetInterval () const
 Get sampling interval in seconds. More...
 
virtual void SetInterval (double value)
 Set sampling interval in seconds. More...
 
virtual int GetSamplingMode () const
 Get mode of sampling. More...
 
virtual bool SetSamplingMode (int mode)
 Set mode of sampling. More...
 
virtual bool Serialize (iser::IArchive &archive)
 
- Public Member Functions inherited from icomp::IComponent
virtual const ICompositeComponentGetParentComponent (bool ownerOnly=false) const =0
 
virtual void * GetInterface (const istd::CClassInfo &interfaceType, const QByteArray &subId="")=0
 
virtual const IComponentContextGetComponentContext () const =0
 
virtual void SetComponentContext (const icomp::IComponentContext *contextPtr, const ICompositeComponent *parentPtr, bool isParentOwner)=0
 

Protected Member Functions

virtual void OnComponentCreated ()
 

Detailed Description

General implementation of sampling parameters.

In this implementation the boundaries are fix defined using component attributes.

Definition at line 21 of file CSamplingParamsComp.h.

Member Typedef Documentation

Definition at line 24 of file CSamplingParamsComp.h.

Constructor & Destructor Documentation

isig::CSamplingParamsComp::CSamplingParamsComp ( )

Member Function Documentation

virtual double isig::CSamplingParamsComp::GetInterval ( ) const
virtual

Get sampling interval in seconds.

Implements isig::ISamplingParams.

virtual const ISamplingConstraints* isig::CSamplingParamsComp::GetSamplingConstraints ( ) const
virtual

Get access to constraints information about possible value ranges.

Implements isig::ISamplingParams.

virtual int isig::CSamplingParamsComp::GetSamplingMode ( ) const
virtual

Get mode of sampling.

See Also
SamplingMode.

Implements isig::ISamplingParams.

virtual void isig::CSamplingParamsComp::OnComponentCreated ( )
protectedvirtual
virtual bool isig::CSamplingParamsComp::Serialize ( iser::IArchive archive)
virtual
virtual void isig::CSamplingParamsComp::SetInterval ( double  value)
virtual

Set sampling interval in seconds.

Implements isig::ISamplingParams.

virtual bool isig::CSamplingParamsComp::SetSamplingMode ( int  mode)
virtual

Set mode of sampling.

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

Implements isig::ISamplingParams.


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

© 2007-2017 Witold Gantzke and Kirill Lepskiy