|
|
| FilterPropertiesDialog (Filter *f, MainWindow *parent, bool graphEditorMode=false) |
| |
| virtual bool | Render () |
| | Renders the dialog and handles UI events.
|
| |
| virtual bool | DoRender () |
| | Renders the dialog and handles UI events.
|
| |
|
void | RunFileDialog () |
| |
|
void | SpawnFileDialogForImportFilter () |
| | Spawns the file dialog if it's an import filter.
|
| |
|
| ChannelPropertiesDialog (InstrumentChannel *chan, MainWindow *parent, bool graphEditorMode=false) |
| |
|
| BaseChannelPropertiesDialog (InstrumentChannel *chan, MainWindow *parent, bool graphEditorMode=false) |
| |
|
InstrumentChannel * | GetChannel () |
| |
|
| EmbeddableDialog (const std::string &name, const std::string &id, ImVec2 size, MainWindow *parent, bool graphEditorMode=false) |
| |
|
| Dialog (const std::string &title, const std::string &id, ImVec2 defaultSize=ImVec2(300, 100), Session *session=nullptr, MainWindow *parent=nullptr) |
| |
|
void | RenderAsChild () |
| | Runs the dialog's contents directly into a parent window.
|
| |
|
const std::string & | GetID () |
| |
|
std::string | GetTitleAndID () |
| |
| template<typename T > |
| bool | renderEditableProperty (float width, const string &label, string ¤tValue, T &committedValue, Unit unit, const char *tooltip, optional< ImVec4 > optcolor, bool allow7SegmentDisplay, bool explicitApply) |
| | Render an editable numeric value.
|
| |
| virtual void | Refresh (vk::raii::CommandBuffer &cmdBuf, std::shared_ptr< QueueHandle > queue) override |
| |
| void | DetachInputs () |
| | Disconnects all inputs from the node without releasing them.
|
| |
|
size_t | GetInputCount () |
| | Get the number of input ports.
|
| |
|
std::string | GetInputName (size_t i) |
| |
| void | SetInput (size_t i, StreamDescriptor stream, bool force=false) |
| | Connects a stream to the input of this node.
|
| |
|
void | SetInput (const std::string &name, StreamDescriptor stream, bool force=false) |
| |
| virtual bool | ValidateChannel (size_t i, StreamDescriptor stream) |
| | Check if a stream is allowed to be connected to the given input.
|
| |
|
bool | HasInput (StreamDescriptor desc) |
| | Checks if the given stream is connected to at least one of our inputs.
|
| |
|
StreamDescriptor | GetInput (size_t i) |
| | Gets the descriptor for one of our inputs.
|
| |
|
std::shared_ptr< InputConstraint > | GetInputConstraints (size_t i) |
| | Get the constraints on one of our inputs.
|
| |
|
FilterParameter & | GetParameter (std::string s) |
| |
| bool | HasParameter (std::string s) |
| | Checks if we have a parameter with a given name.
|
| |
|
ParameterMapType::iterator | GetParamBegin () |
| | Returns an iterator to the beginning of our parameter map.
|
| |
|
ParameterMapType::iterator | GetParamEnd () |
| | Returns an iterator to the end of our parameter map.
|
| |
|
size_t | GetParamCount () |
| | Returns the number of parameter we have.
|
| |
| virtual YAML::Node | SerializeConfiguration (IDTable &table) |
| | Serializes this trigger's configuration to a YAML string.
|
| |
| virtual void | LoadParameters (const YAML::Node &node, IDTable &table) |
| | Load configuration from a save file.
|
| |
|
virtual void | LoadInputs (const YAML::Node &node, IDTable &table) |
| |
| bool | IsDownstreamOf (std::set< FlowGraphNode * > nodes) |
| | Determines if this node is downstream of any of the specified other nodes.
|
| |
| virtual uint32_t | GetExecutionCapabilitiesMask () |
| | Returns a bitmask of ExecutionCapabilities fields.
|
| |
|
bool | HasMessages () const |
| | Checks if this graph has any messages.
|
| |
|
const std::vector< FlowGraphNodeMessage > & | GetMessages () const |
| | Walking through any messages.
|
| |
|
const FlowGraphNodeMessage * | GetMostSevereMessage () const |
| |
|
void | AddSink (size_t stream, FlowGraphNode *node) |
| |
|
void | RemoveSink (size_t stream, FlowGraphNode *node) |
| |
|
const std::set< FlowGraphNode * > & | GetSinks (size_t stream) |
| |
|
sigc::signal< void()> | signal_parametersChanged () |
| |
|
sigc::signal< void()> | signal_inputsChanged () |
| |
|
| static bool | DoParameter (FilterParameter ¶m, std::string name, std::map< std::string, std::string > &tempValues) |
| | Handle a single parameter row in the filter (or trigger) properties dialog.
|
| |
| static bool | Combo (const std::string &label, const std::vector< std::string > &items, int &selection, bool *open=nullptr) |
| | Displays a combo box from a vector<string>
|
| |
| static bool | UnitInputWithImplicitApply (const std::string &label, std::string ¤tValue, float &committedValue, Unit unit) |
| | Input box for a floating point value with an associated unit.
|
| |
| static bool | UnitInputWithImplicitApply (const std::string &label, std::string ¤tValue, double &committedValue, Unit unit) |
| | Input box for a double precision floating point value with an associated unit.
|
| |
| static bool | UnitInputWithImplicitApply (const std::string &label, std::string ¤tValue, int64_t &committedValue, Unit unit) |
| | Input box for an integer value with an associated unit.
|
| |
|
static bool | TextInputWithImplicitApply (const std::string &label, std::string ¤tValue, std::string &committedValue) |
| |
|
static void | Tooltip (const std::string &str, bool allowDisabled=false) |
| | Helper based on imgui demo for displaying tooltip text over the previously rendered widget.
|
| |
|
static void | HelpMarker (const std::string &str) |
| |
|
static void | HelpMarker (const std::string &header, const std::vector< std::string > &bullets) |
| |
|
|
void | FindAllStreams (std::vector< StreamDescriptor > &streams) |
| | Get every stream that might be usable as an input to a filter.
|
| |
|
void | OnReconfigured (Filter *f, size_t oldStreamCount) |
| | Handle a filter being reconfigured.
|
| |
| void | RefreshInputSettings (Oscilloscope *scope, size_t nchan) |
| | Update input configuration values.
|
| |
|
bool | TextInputWithExplicitApply (const std::string &label, std::string ¤tValue, std::string &committedValue) |
| |
|
bool | IntInputWithImplicitApply (const std::string &label, int ¤tValue, int &committedValue) |
| |
| bool | UnitInputWithExplicitApply (const std::string &label, std::string ¤tValue, float &committedValue, Unit unit) |
| | Input box for a floating point value with an associated unit and an "apply" button.
|
| |
| void | renderNumericValue (const std::string &value, bool &clicked, bool &hovered, std::optional< ImVec4 > optcolor=std::nullopt, bool allow7SegmentDisplay=false, float digitHeight=0, bool clickable=true) |
| | Render a numeric value.
|
| |
| void | renderReadOnlyProperty (float width, const std::string &label, const std::string &value, const char *tooltip=nullptr) |
| | Render a read-only instrument property value.
|
| |
|
template<typename T > |
| bool | renderEditableProperty (float width, const std::string &label, std::string ¤tValue, T &committedValue, Unit unit, const char *tooltip=nullptr, std::optional< ImVec4 > optcolor=std::nullopt, bool allow7SegmentDisplay=false, bool explicitApply=false) |
| |
| template<typename T > |
| bool | renderEditablePropertyWithExplicitApply (float width, const std::string &label, std::string ¤tValue, T &committedValue, Unit unit, const char *tooltip=nullptr, std::optional< ImVec4 > optcolor=std::nullopt, bool allow7SegmentDisplay=false) |
| | Render an editable numeric value with explicit apply (if the input value needs to explicitly be applied by clicking the apply button)
|
| |
| void | renderBadge (float width, ImVec4 color, const std::string &label) |
| | Render a badge with text inside.
|
| |
|
void | RenderErrorPopup () |
| | Popup message when we fail to connect.
|
| |
|
void | ShowErrorPopup (const std::string &title, const std::string &msg) |
| | Opens the error popup.
|
| |
| void | Render7SegmentDigit (ImDrawList *drawList, uint8_t digit, ImVec2 size, ImVec2 position, float thikness, ImU32 colorOn, ImU32 colorOff) |
| | Render a single digit in 7 segment display style.
|
| |
| void | Render7SegmentValue (const std::string &value, ImVec4 color, float digitHeight) |
| | Render a numeric value with a 7 segment display style.
|
| |
| void | Render7SegmentValue (const std::string &value, ImVec4 color, float digitHeight, bool &clicked, bool &hovered, bool clickable=true) |
| | Render a numeric value with a 7 segment display style.
|
| |
|
void | RefreshInputNames () |
| | Regenerate the list of inputs so that each port has a unique, monotonic name.
|
| |
| virtual void | RemoveStream (size_t i) |
| | Remove a stream connected to one of our inputs but DOES NOT free the reference.
|
| |
|
void | ClearEmptyInputs () |
| | Removes any empty spaces from m_inputs.
|
| |
| size_t | GetStreamPosition (StreamDescriptor desc) |
| | Get the position of the provided Stream in this SinkNode.
|
| |
| void | MoveStream (StreamDescriptor desc, size_t newPosition) |
| | Move a stream to another position in this plot.
|
| |
| virtual void | OnInputChanged (size_t i) |
| | Called when a new input is connected to the node.
|
| |
| WaveformBase * | GetInputWaveform (size_t i) |
| | Gets the waveform attached to the specified input.
|
| |
|
SparseAnalogWaveform * | GetSparseAnalogInputWaveform (size_t i) |
| | Gets the analog waveform attached to the specified input.
|
| |
|
UniformAnalogWaveform * | GetUniformAnalogInputWaveform (size_t i) |
| | Gets the analog waveform attached to the specified input.
|
| |
|
SparseDigitalWaveform * | GetSparseDigitalInputWaveform (size_t i) |
| | Gets the digital waveform attached to the specified input.
|
| |
|
UniformDigitalWaveform * | GetUniformDigitalInputWaveform (size_t i) |
| | Gets the digital waveform attached to the specified input.
|
| |
| virtual void | CreateInput (const std::string &name) |
| | Gets the digital bus waveform attached to the specified input.
|
| |
|
template<class T , class... Args> |
| void | CreateInput (const std::string &name, Args &&... args) |
| |
| std::string | GetInputDisplayName (size_t i) |
| | Gets the display name for one of our inputs.
|
| |
|
void | ClearMessages () |
| | Remove any messages left over from the last graph refresh.
|
| |
|
void | AddMessage (const FlowGraphNodeMessage &msg) |
| | Attach a new message to the node.
|
| |
|
void | AddMessage (Severity severity, const std::string &title, const std::string &message) |
| | Attach a new message to the node.
|
| |
|
void | AddErrorMessage (const std::string &err) |
| | Add a new error message.
|
| |
| void | AddErrorMessage (const std::string &title, const std::string &err) |
| | Add a new error message with a title.
|
| |
|
|
std::map< std::string, std::string > | m_paramTempValues |
| |
|
std::shared_ptr< FileBrowser > | m_fileDialog |
| | File dialog (can only ever have one at a time)
|
| |
|
std::string | m_fileParamName |
| |
|
std::shared_ptr< OscilloscopeState > | m_state |
| | Current channel stats, live updated.
|
| |
|
std::string | m_displayName |
| |
|
std::string | m_committedDisplayName |
| |
|
std::vector< std::string > | m_offset |
| |
|
std::vector< float > | m_committedOffset |
| |
|
std::vector< std::string > | m_range |
| |
|
std::vector< float > | m_committedRange |
| |
|
std::string | m_threshold |
| |
|
float | m_committedThreshold |
| |
|
std::string | m_hysteresis |
| |
|
float | m_committedHysteresis |
| |
|
std::string | m_attenuation |
| |
|
float | m_committedAttenuation |
| |
|
std::vector< std::string > | m_couplingNames |
| |
|
std::vector< OscilloscopeChannel::CouplingType > | m_couplings |
| |
|
int | m_coupling |
| |
|
std::vector< std::string > | m_bwlNames |
| |
|
std::vector< unsigned int > | m_bwlValues |
| |
|
int | m_bwl |
| |
|
std::vector< std::string > | m_imuxNames |
| |
|
int | m_imux |
| |
|
std::vector< std::string > | m_modeNames |
| |
|
int | m_mode |
| |
|
int | m_navg |
| |
|
float | m_color [3] |
| |
|
bool | m_inverted |
| |
|
std::string | m_probe |
| |
|
bool | m_canAutoZero |
| |
|
bool | m_canDegauss |
| |
|
bool | m_shouldDegauss |
| |
|
bool | m_canAverage |
| |
| bool | m_graphEditorMode |
| | If true, we're a sub-window of a filter graph editor node.
|
| |
|
bool | m_open |
| |
|
std::string | m_id |
| |
|
std::string | m_title |
| |
|
ImVec2 | m_defaultSize |
| |
|
std::string | m_errorPopupTitle |
| |
|
std::string | m_errorPopupMessage |
| |
|
Session * | m_session |
| | optional reference to session
|
| |
|
MainWindow * | m_parent |
| | optional reference to parent MainWindow
|
| |
|
ImGuiID | m_editedItemId = 0 |
| | Id of the item currently beeing edited.
|
| |
|
ImGuiID | m_lastEditedItemId = 0 |
| | Id of the last edited item.
|
| |
|
std::vector< std::shared_ptr< InputDescriptor > > | m_inputs |
| | Input ports.
|
| |
| std::vector< std::set< FlowGraphNode * > > | m_sinks |
| | The nodes (if any) that each of our streams drives.
|
| |
|
ParameterMapType | m_parameters |
| |
|
sigc::signal< void()> | m_parametersChangedSignal |
| | Signal emitted when the set of parameters changes.
|
| |
|
sigc::signal< void()> | m_inputsChangedSignal |
| | Signal emitted when the set of inputs changes.
|
| |
|
std::vector< FlowGraphNodeMessage > | m_messages |
| |