SDRAngel  4.11.5
Developer docs for <a href="https://github.com/f4exb/sdrangel">SDRangel<\a>, an Open Source Qt5 / OpenGL 3.0+ SDR and signal analyzer frontend to various hardware.
Public Member Functions | Public Attributes | List of all members
ScopeVis::TriggerCondition Struct Reference
+ Collaboration diagram for ScopeVis::TriggerCondition:

Public Member Functions

 TriggerCondition (const TriggerData &triggerData)
 
 ~TriggerCondition ()
 
void initProjector ()
 
void releaseProjector ()
 
void setData (const TriggerData &triggerData)
 
void operator= (const TriggerCondition &other)
 

Public Attributes

Projector m_projector
 
TriggerData m_triggerData
 Trigger data. More...
 
bool m_prevCondition
 Condition (above threshold) at previous sample. More...
 
uint32_t m_triggerDelayCount
 Counter of samples for delay. More...
 
uint32_t m_triggerCounter
 Counter of trigger occurrences. More...
 
uint32_t m_trues
 Count of true conditions for holdoff processing. More...
 
uint32_t m_falses
 Count of false conditions for holdoff processing. More...
 

Detailed Description

Definition at line 570 of file scopevis.h.

Constructor & Destructor Documentation

◆ TriggerCondition()

ScopeVis::TriggerCondition::TriggerCondition ( const TriggerData triggerData)
inline

Definition at line 582 of file scopevis.h.

582  :
584  m_triggerData(triggerData),
585  m_prevCondition(false),
587  m_triggerCounter(0),
588  m_trues(0),
589  m_falses(0)
590  {
591  }
bool m_prevCondition
Condition (above threshold) at previous sample.
Definition: scopevis.h:575
uint32_t m_trues
Count of true conditions for holdoff processing.
Definition: scopevis.h:578
uint32_t m_triggerCounter
Counter of trigger occurrences.
Definition: scopevis.h:577
uint32_t m_triggerDelayCount
Counter of samples for delay.
Definition: scopevis.h:576
uint32_t m_falses
Count of false conditions for holdoff processing.
Definition: scopevis.h:579
TriggerData m_triggerData
Trigger data.
Definition: scopevis.h:574
Extract real part.
Definition: projector.h:27

◆ ~TriggerCondition()

ScopeVis::TriggerCondition::~TriggerCondition ( )
inline

Definition at line 593 of file scopevis.h.

594  {
595  }

Member Function Documentation

◆ initProjector()

void ScopeVis::TriggerCondition::initProjector ( )
inline

Definition at line 597 of file scopevis.h.

References ScopeVis::TriggerData::m_projectionType, and Projector::settProjectionType().

598  {
600  }
TriggerData m_triggerData
Trigger data.
Definition: scopevis.h:574
Projector::ProjectionType m_projectionType
Complex to real projection type.
Definition: scopevis.h:102
void settProjectionType(ProjectionType projectionType)
Definition: projector.h:45
+ Here is the call graph for this function:

◆ operator=()

void ScopeVis::TriggerCondition::operator= ( const TriggerCondition other)
inline

Definition at line 622 of file scopevis.h.

References m_triggerData.

623  {
624  setData(other.m_triggerData);
625  }
void setData(const TriggerData &triggerData)
Definition: scopevis.h:606

◆ releaseProjector()

void ScopeVis::TriggerCondition::releaseProjector ( )
inline

Definition at line 602 of file scopevis.h.

603  {
604  }

◆ setData()

void ScopeVis::TriggerCondition::setData ( const TriggerData triggerData)
inline

Definition at line 606 of file scopevis.h.

References Projector::getProjectionType(), ScopeVis::TriggerData::m_projectionType, and Projector::settProjectionType().

607  {
608  m_triggerData = triggerData;
609 
611  {
613  }
614 
615  m_prevCondition = false;
617  m_triggerCounter = 0;
618  m_trues = 0;
619  m_falses = 0;
620  }
bool m_prevCondition
Condition (above threshold) at previous sample.
Definition: scopevis.h:575
uint32_t m_trues
Count of true conditions for holdoff processing.
Definition: scopevis.h:578
uint32_t m_triggerCounter
Counter of trigger occurrences.
Definition: scopevis.h:577
uint32_t m_triggerDelayCount
Counter of samples for delay.
Definition: scopevis.h:576
uint32_t m_falses
Count of false conditions for holdoff processing.
Definition: scopevis.h:579
TriggerData m_triggerData
Trigger data.
Definition: scopevis.h:574
Projector::ProjectionType m_projectionType
Complex to real projection type.
Definition: scopevis.h:102
void settProjectionType(ProjectionType projectionType)
Definition: projector.h:45
ProjectionType getProjectionType() const
Definition: projector.h:44
+ Here is the call graph for this function:

Member Data Documentation

◆ m_falses

uint32_t ScopeVis::TriggerCondition::m_falses

Count of false conditions for holdoff processing.

Definition at line 579 of file scopevis.h.

Referenced by ScopeVis::TriggerComparator::triggered().

◆ m_prevCondition

bool ScopeVis::TriggerCondition::m_prevCondition

Condition (above threshold) at previous sample.

Definition at line 575 of file scopevis.h.

Referenced by ScopeVis::TriggerComparator::triggered().

◆ m_projector

Projector ScopeVis::TriggerCondition::m_projector

Definition at line 573 of file scopevis.h.

Referenced by ScopeVis::TriggerComparator::triggered().

◆ m_triggerCounter

uint32_t ScopeVis::TriggerCondition::m_triggerCounter

Counter of trigger occurrences.

Definition at line 577 of file scopevis.h.

Referenced by ScopeVis::nextTrigger().

◆ m_triggerData

TriggerData ScopeVis::TriggerCondition::m_triggerData

◆ m_triggerDelayCount

uint32_t ScopeVis::TriggerCondition::m_triggerDelayCount

Counter of samples for delay.

Definition at line 576 of file scopevis.h.

Referenced by ScopeVis::processTrace().

◆ m_trues

uint32_t ScopeVis::TriggerCondition::m_trues

Count of true conditions for holdoff processing.

Definition at line 578 of file scopevis.h.

Referenced by ScopeVis::TriggerComparator::triggered().


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