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

Implementation of standard trigger parameters set. More...

#include <CTriggerParamsComp.h>

Inheritance diagram for isig::CTriggerParamsComp:
icomp::CComponentBase isig::ITriggerParams iprm::ISelectionParam iprm::IOptionsList icomp::IComponent iser::ISerializable iser::ISerializable istd::IChangeable istd::IPolymorphic istd::IChangeable istd::IChangeable istd::IPolymorphic istd::IPolymorphic istd::IPolymorphic

Public Types

typedef icomp::CComponentBase BaseClass
 
- Public Types inherited from isig::ITriggerParams
enum  TriggerMode {
  TM_NONE, TM_CONTINUOUS, TM_RISING_EDGE, TM_FALLING_EDGE,
  TM_POSITIVE_LEVEL, TM_NEGATIVE_LEVEL, TM_SOFTWARE, TM_LAST = TM_SOFTWARE
}
 Describe working mode of trigger signal. More...
 

Public Member Functions

 CTriggerParamsComp ()
 
virtual const ITriggerConstraintsGetTriggerConstraints () const
 Get constraints describing supported parameter states. More...
 
virtual int GetTriggerMode () const
 Get trigger mode. More...
 
virtual void SetTriggerMode (int triggerMode)
 Set trigger mode. More...
 
virtual int GetTriggersCount () const
 Get the number of triggers in the TM_CONTINUOUS mode. More...
 
virtual void SetTriggersCount (int triggersCount)
 Set the number of triggers in the TM_CONTINUOUS mode. More...
 
virtual const iprm::IOptionsListGetSelectionConstraints () const
 
virtual int GetSelectedOptionIndex () const
 
virtual bool SetSelectedOptionIndex (int index)
 
virtual iprm::ISelectionParamGetSubselection (int index) const
 
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

void InitializeSelectionList ()
 
virtual int GetOptionsFlags () const
 
virtual int GetOptionsCount () const
 
virtual QString GetOptionName (int index) const
 
virtual QString GetOptionDescription (int index) const
 
virtual QByteArray GetOptionId (int index) const
 
virtual bool IsOptionEnabled (int index) const
 
virtual void OnComponentCreated ()
 

Detailed Description

Implementation of standard trigger parameters set.

Definition at line 25 of file CTriggerParamsComp.h.

Member Typedef Documentation

Definition at line 32 of file CTriggerParamsComp.h.

Constructor & Destructor Documentation

isig::CTriggerParamsComp::CTriggerParamsComp ( )

Member Function Documentation

virtual QString isig::CTriggerParamsComp::GetOptionDescription ( int  index) const
protectedvirtual
virtual QByteArray isig::CTriggerParamsComp::GetOptionId ( int  index) const
protectedvirtual
virtual QString isig::CTriggerParamsComp::GetOptionName ( int  index) const
protectedvirtual
virtual int isig::CTriggerParamsComp::GetOptionsCount ( ) const
protectedvirtual
virtual int isig::CTriggerParamsComp::GetOptionsFlags ( ) const
protectedvirtual
virtual int isig::CTriggerParamsComp::GetSelectedOptionIndex ( ) const
virtual
virtual const iprm::IOptionsList* isig::CTriggerParamsComp::GetSelectionConstraints ( ) const
virtual
virtual iprm::ISelectionParam* isig::CTriggerParamsComp::GetSubselection ( int  index) const
virtual
virtual const ITriggerConstraints* isig::CTriggerParamsComp::GetTriggerConstraints ( ) const
virtual

Get constraints describing supported parameter states.

Implements isig::ITriggerParams.

virtual int isig::CTriggerParamsComp::GetTriggerMode ( ) const
virtual

Get trigger mode.

Normal trigger modes are defined in isig::ITriggerParams::TriggerMode.

Implements isig::ITriggerParams.

virtual int isig::CTriggerParamsComp::GetTriggersCount ( ) const
virtual

Get the number of triggers in the TM_CONTINUOUS mode.

A negative value means that the signal acquisition runs infinitely

See Also
TriggerMode

Implements isig::ITriggerParams.

void isig::CTriggerParamsComp::InitializeSelectionList ( )
protected
virtual bool isig::CTriggerParamsComp::IsOptionEnabled ( int  index) const
protectedvirtual
virtual void isig::CTriggerParamsComp::OnComponentCreated ( )
protectedvirtual
virtual bool isig::CTriggerParamsComp::Serialize ( iser::IArchive archive)
virtual
virtual bool isig::CTriggerParamsComp::SetSelectedOptionIndex ( int  index)
virtual
virtual void isig::CTriggerParamsComp::SetTriggerMode ( int  triggerMode)
virtual

Set trigger mode.

Normal trigger modes are defined in isig::ITriggerParams::TriggerMode.

Implements isig::ITriggerParams.

virtual void isig::CTriggerParamsComp::SetTriggersCount ( int  triggersCount)
virtual

Set the number of triggers in the TM_CONTINUOUS mode.

See Also
TriggerMode

Implements isig::ITriggerParams.


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

© 2007-2017 Witold Gantzke and Kirill Lepskiy