36#ifndef RSRTB2kRiseTimeTrigger_h
37#define RSRTB2kRiseTimeTrigger_h
56 void SetType(EdgeType type)
60 {
return (EdgeType) m_edgetype.
GetIntVal(); }
71 void SetRiseTime(
int64_t interval)
75 {
return m_risetimevariation.
GetIntVal(); }
77 void SetRiseTimeVariation(
int64_t interval)
78 { m_risetimevariation.
SetIntVal(interval); }
83 void SetLowerLevel(
float level)
95 void SetHysteresisType(HysteresisType type)
98 HysteresisType GetHysteresisType()
99 {
return (HysteresisType) m_hysteresistype.
GetIntVal(); }
101 void SetHoldoffTimeState(
bool state)
104 bool GetHoldoffTimeState()
Definition AcceleratorBuffer.h:204
A parameter to a filter.
Definition FilterParameter.h:86
bool GetBoolVal() const
Returns the value of the parameter interpreted as a boolean.
Definition FilterParameter.h:113
void SetIntVal(int64_t i)
Sets the parameter to an integer value.
Definition FilterParameter.cpp:307
int64_t GetIntVal() const
Returns the value of the parameter interpreted as an integer.
Definition FilterParameter.h:119
void SetFloatVal(float f)
Sets the parameter to a floating point value.
Definition FilterParameter.cpp:323
void SetBoolVal(bool b)
Sets the parameter to a boolean value.
Definition FilterParameter.cpp:294
float GetFloatVal() const
Returns the value of the parameter interpreted as a floating point number.
Definition FilterParameter.h:144
Generic representation of an oscilloscope, logic analyzer, or spectrum analyzer.
Definition Oscilloscope.h:51
Slew rate trigger - trigger when an edge rate meets the specified conditions.
Definition RSRTB2kRiseTimeTrigger.h:44
static std::string GetTriggerName()
Return the constant trigger name "Risetime".
Definition RSRTB2kRiseTimeTrigger.cpp:109
virtual bool ValidateChannel(size_t i, StreamDescriptor stream) override
Check if a stream is allowed to be connected to the given input.
Definition RSRTB2kRiseTimeTrigger.cpp:117
Descriptor for a single stream coming off a channel.
Definition StreamDescriptor.h:47
Abstract base class for oscilloscope / logic analyzer trigger inputs.
Definition Trigger.h:46
Condition
Conditions for triggers that perform logical comparisons of values.
Definition Trigger.h:85