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::TriggerData Struct Reference

#include <scopevis.h>

Public Member Functions

 TriggerData ()
 
void setColor (QColor color)
 

Public Attributes

Projector::ProjectionType m_projectionType
 Complex to real projection type. More...
 
uint32_t m_inputIndex
 Input or feed index this trigger is associated with. More...
 
Real m_triggerLevel
 Level in real units. More...
 
int m_triggerLevelCoarse
 
int m_triggerLevelFine
 
bool m_triggerPositiveEdge
 Trigger on the positive edge (else negative) More...
 
bool m_triggerBothEdges
 Trigger on both edges (else only one) More...
 
uint32_t m_triggerHoldoff
 Trigger holdoff in number of samples. More...
 
uint32_t m_triggerDelay
 Delay before the trigger is kicked off in number of samples (trigger delay) More...
 
double m_triggerDelayMult
 Trigger delay as a multiplier of trace length. More...
 
int m_triggerDelayCoarse
 
int m_triggerDelayFine
 
uint32_t m_triggerRepeat
 Number of trigger conditions before the final decisive trigger. More...
 
QColor m_triggerColor
 Trigger line display color. More...
 
float m_triggerColorR
 Trigger line display color - red shortcut. More...
 
float m_triggerColorG
 Trigger line display color - green shortcut. More...
 
float m_triggerColorB
 Trigger line display color - blue shortcut. More...
 

Detailed Description

Definition at line 100 of file scopevis.h.

Constructor & Destructor Documentation

◆ TriggerData()

ScopeVis::TriggerData::TriggerData ( )
inline

Definition at line 120 of file scopevis.h.

120  :
122  m_inputIndex(0),
123  m_triggerLevel(0.0f),
126  m_triggerPositiveEdge(true),
127  m_triggerBothEdges(false),
128  m_triggerHoldoff(1),
129  m_triggerDelay(0),
130  m_triggerDelayMult(0.0),
133  m_triggerRepeat(0),
134  m_triggerColor(0,255,0)
135  {
137  }
uint32_t m_triggerRepeat
Number of trigger conditions before the final decisive trigger.
Definition: scopevis.h:114
bool m_triggerPositiveEdge
Trigger on the positive edge (else negative)
Definition: scopevis.h:107
bool m_triggerBothEdges
Trigger on both edges (else only one)
Definition: scopevis.h:108
uint32_t m_triggerHoldoff
Trigger holdoff in number of samples.
Definition: scopevis.h:109
QColor m_triggerColor
Trigger line display color.
Definition: scopevis.h:115
Real m_triggerLevel
Level in real units.
Definition: scopevis.h:104
Projector::ProjectionType m_projectionType
Complex to real projection type.
Definition: scopevis.h:102
uint32_t m_triggerDelay
Delay before the trigger is kicked off in number of samples (trigger delay)
Definition: scopevis.h:110
uint32_t m_inputIndex
Input or feed index this trigger is associated with.
Definition: scopevis.h:103
void setColor(QColor color)
Definition: scopevis.h:139
Extract real part.
Definition: projector.h:27
double m_triggerDelayMult
Trigger delay as a multiplier of trace length.
Definition: scopevis.h:111

Member Function Documentation

◆ setColor()

void ScopeVis::TriggerData::setColor ( QColor  color)
inline

Definition at line 139 of file scopevis.h.

Referenced by GLScopeGUI::fillTriggerData().

140  {
141  m_triggerColor = color;
142  qreal r,g,b,a;
143  m_triggerColor.getRgbF(&r, &g, &b, &a);
144  m_triggerColorR = r;
145  m_triggerColorG = g;
146  m_triggerColorB = b;
147  }
float m_triggerColorR
Trigger line display color - red shortcut.
Definition: scopevis.h:116
QColor m_triggerColor
Trigger line display color.
Definition: scopevis.h:115
float m_triggerColorB
Trigger line display color - blue shortcut.
Definition: scopevis.h:118
float m_triggerColorG
Trigger line display color - green shortcut.
Definition: scopevis.h:117
+ Here is the caller graph for this function:

Member Data Documentation

◆ m_inputIndex

uint32_t ScopeVis::TriggerData::m_inputIndex

Input or feed index this trigger is associated with.

Definition at line 103 of file scopevis.h.

Referenced by GLScopeGUI::fillTriggerData().

◆ m_projectionType

Projector::ProjectionType ScopeVis::TriggerData::m_projectionType

◆ m_triggerBothEdges

bool ScopeVis::TriggerData::m_triggerBothEdges

◆ m_triggerColor

QColor ScopeVis::TriggerData::m_triggerColor

Trigger line display color.

Definition at line 115 of file scopevis.h.

Referenced by GLScopeGUI::setTriggerUI().

◆ m_triggerColorB

float ScopeVis::TriggerData::m_triggerColorB

Trigger line display color - blue shortcut.

Definition at line 118 of file scopevis.h.

Referenced by GLScope::paintGL(), and GLScopeGUI::serialize().

◆ m_triggerColorG

float ScopeVis::TriggerData::m_triggerColorG

Trigger line display color - green shortcut.

Definition at line 117 of file scopevis.h.

Referenced by GLScope::paintGL(), and GLScopeGUI::serialize().

◆ m_triggerColorR

float ScopeVis::TriggerData::m_triggerColorR

Trigger line display color - red shortcut.

Definition at line 116 of file scopevis.h.

Referenced by GLScope::paintGL(), and GLScopeGUI::serialize().

◆ m_triggerDelay

uint32_t ScopeVis::TriggerData::m_triggerDelay

Delay before the trigger is kicked off in number of samples (trigger delay)

Definition at line 110 of file scopevis.h.

Referenced by GLScopeGUI::fillTriggerData(), and ScopeVis::processTrace().

◆ m_triggerDelayCoarse

int ScopeVis::TriggerData::m_triggerDelayCoarse

◆ m_triggerDelayFine

int ScopeVis::TriggerData::m_triggerDelayFine

◆ m_triggerDelayMult

double ScopeVis::TriggerData::m_triggerDelayMult

Trigger delay as a multiplier of trace length.

Definition at line 111 of file scopevis.h.

Referenced by GLScopeGUI::fillTriggerData().

◆ m_triggerHoldoff

uint32_t ScopeVis::TriggerData::m_triggerHoldoff

Trigger holdoff in number of samples.

Definition at line 109 of file scopevis.h.

Referenced by GLScopeGUI::fillTriggerData(), GLScopeGUI::serialize(), GLScopeGUI::setTriggerUI(), and ScopeVis::TriggerComparator::triggered().

◆ m_triggerLevel

Real ScopeVis::TriggerData::m_triggerLevel

◆ m_triggerLevelCoarse

int ScopeVis::TriggerData::m_triggerLevelCoarse

◆ m_triggerLevelFine

int ScopeVis::TriggerData::m_triggerLevelFine

◆ m_triggerPositiveEdge

bool ScopeVis::TriggerData::m_triggerPositiveEdge

◆ m_triggerRepeat

uint32_t ScopeVis::TriggerData::m_triggerRepeat

Number of trigger conditions before the final decisive trigger.

Definition at line 114 of file scopevis.h.

Referenced by GLScopeGUI::fillTriggerData(), ScopeVis::nextTrigger(), GLScopeGUI::on_trig_valueChanged(), GLScopeGUI::serialize(), and GLScopeGUI::setTriggerUI().


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