|
| void | afterCreateLink (OutputPin &startPin, InputPin &endPin) override |
| | Called when a new link was established.
|
| void | guiConfig () override |
| | ImGui config window which is shown on double click.
|
| Plot & | operator= (const Plot &)=delete |
| | Copy assignment operator.
|
| Plot & | operator= (Plot &&)=delete |
| | Move assignment operator.
|
| | Plot () |
| | Default constructor.
|
| | Plot (const Plot &)=delete |
| | Copy constructor.
|
| | Plot (Plot &&)=delete |
| | Move constructor.
|
| void | restore (const json &j) override |
| | Restores the node from a json object.
|
| json | save () const override |
| | Saves the node into a json object.
|
| std::string | type () const override |
| | String representation of the Class Type.
|
| | ~Plot () override |
| | Destructor.
|
| virtual void | afterDeleteLink (OutputPin &startPin, InputPin &endPin) |
| | Called when a link was deleted.
|
| template<std::derived_from< Node > T> |
| InputPin * | CreateInputPin (const char *name, Pin::Type pinType, const std::vector< std::string > &dataIdentifier, void(T::*notifyFunc)(const InsTime &, size_t), int idx=-1) |
| | Create an Input Pin object for data pins. The additional notify function gets called when the connected data was changed and the connected node calls NAV::Node::notifyOutputValueChanged.
|
| InputPin * | CreateInputPin (const char *name, Pin::Type pinType, const std::vector< std::string > &dataIdentifier={}, InputPin::Callback callback=static_cast< InputPin::FlowFirableCallbackFunc >(nullptr), InputPin::FlowFirableCheckFunc firable=nullptr, int priority=0, int idx=-1) |
| | Create an Input Pin object.
|
| template<std::derived_from< Node > T> |
| InputPin * | CreateInputPin (const char *name, Pin::Type pinType, const std::vector< std::string > &dataIdentifier={}, void(T::*callback)(InputPin::NodeDataQueue &, size_t)=nullptr, InputPin::FlowFirableCheckFunc firable=nullptr, int priority=0, int idx=-1) |
| | Create an Input Pin object.
|
| OutputPin * | CreateOutputPin (const char *name, Pin::Type pinType, const std::vector< std::string > &dataIdentifier, OutputPin::PinData data=static_cast< void * >(nullptr), int idx=-1) |
| | Create an Output Pin object.
|
| template<std::derived_from< Node > T> |
| OutputPin * | CreateOutputPin (const char *name, Pin::Type pinType, const std::vector< std::string > &dataIdentifier, std::shared_ptr< const NAV::NodeData >(T::*peekPollDataFunc)(size_t, bool)=nullptr, int idx=-1) |
| | Create an Output Pin object for Flow Pins.
|
| template<std::derived_from< Node > T> |
| OutputPin * | CreateOutputPin (const char *name, Pin::Type pinType, const std::vector< std::string > &dataIdentifier, std::shared_ptr< const NAV::NodeData >(T::*pollDataFunc)()=nullptr, int idx=-1) |
| | Create an Output Pin object for Flow Pins.
|
| bool | DeleteInputPin (size_t pinIndex) |
| | Deletes the input pin. Invalidates the pin reference given.
|
| bool | DeleteOutputPin (size_t pinIndex) |
| | Deletes the output pin. Invalidates the pin reference given.
|
| bool | doDeinitialize (bool wait=false) |
| | Asks the node worker to deinitialize the node.
|
| bool | doDisable (bool wait=false) |
| | Asks the node worker to disable the node.
|
| bool | doEnable () |
| | Enable the node.
|
| bool | doInitialize (bool wait=false) |
| | Asks the node worker to initialize the node.
|
| bool | doReinitialize (bool wait=false) |
| | Asks the node worker to reinitialize the node.
|
| virtual void | flush () |
| | Function called by the flow executer after finishing to flush out remaining data.
|
| template<typename T> |
| std::optional< InputPin::IncomingLink::ValueWrapper< T > > | getInputValue (size_t portIndex) const |
| | Get Input Value connected on the pin. Only const data types.
|
| Mode | getMode () const |
| | Get the current mode of the node.
|
| const ImVec2 & | getSize () const |
| | Get the size of the node.
|
| State | getState () const |
| | Get the current state of the node.
|
| bool | hasInputPinWithSameTime (const InsTime &insTime) const |
| | Checks wether there is an input pin with the same time.
|
| InputPin & | inputPinFromId (ax::NodeEditor::PinId pinId) |
| | Returns the pin with the given id.
|
| size_t | inputPinIndexFromId (ax::NodeEditor::PinId pinId) const |
| | Returns the index of the pin.
|
| void | invokeCallbacks (size_t portIndex, const std::shared_ptr< const NodeData > &data) |
| | Calls all registered callbacks on the specified output port.
|
| bool | isDisabled () const |
| | Checks if the node is disabled.
|
| bool | isInitialized () const |
| | Checks if the node is initialized.
|
| bool | isOnlyRealtime () const |
| | Checks if the node is only working in real time (sensors, network interfaces, ...)
|
| bool | isTransient () const |
| | Checks if the node is changing its state currently.
|
| std::string | nameId () const |
| | Node name and id.
|
| | Node (const Node &)=delete |
| | Copy constructor.
|
| | Node (Node &&)=delete |
| | Move constructor.
|
| | Node (std::string name) |
| | Constructor.
|
| void | notifyOutputValueChanged (size_t pinIdx, const InsTime &insTime, const std::scoped_lock< std::mutex > &&guard) |
| | Notifies connected nodes about the change.
|
| virtual bool | onCreateLink (OutputPin &startPin, InputPin &endPin) |
| | Called when a new link is to be established.
|
| virtual void | onDeleteLink (OutputPin &startPin, InputPin &endPin) |
| | Called when a link is to be deleted.
|
| Node & | operator= (const Node &)=delete |
| | Copy assignment operator.
|
| Node & | operator= (Node &&)=delete |
| | Move assignment operator.
|
| OutputPin & | outputPinFromId (ax::NodeEditor::PinId pinId) |
| | Returns the pin with the given id.
|
| size_t | outputPinIndexFromId (ax::NodeEditor::PinId pinId) const |
| | Returns the index of the pin.
|
| void | releaseInputValue (size_t portIndex) |
| | Unblocks the connected node. Has to be called when the input value should be released and getInputValue was not called.
|
| std::scoped_lock< std::mutex > | requestOutputValueLock (size_t pinIdx) |
| | Blocks the thread till the output values was read by all connected nodes.
|
| virtual bool | resetNode () |
| | Resets the node. It is guaranteed that the node is initialized when this is called.
|
| virtual void | restoreAtferLink (const json &j) |
| | Restores link related properties of the node from a json object.
|
| void | wakeWorker () |
| | Wakes the worker thread.
|
| virtual | ~Node () |
| | Destructor.
|
| | CommonLog (CommonLog &&)=delete |
| | Move constructor.
|
| | CommonLog (const CommonLog &)=delete |
| | Copy constructor.
|
| void | initialize () const |
| | Initialize the common log variables.
|
| CommonLog & | operator= (CommonLog &&)=delete |
| | Move assignment operator.
|
| CommonLog & | operator= (const CommonLog &)=delete |
| | Copy assignment operator.
|
| virtual | ~CommonLog () |
| | Destructor.
|
|
| void | addData (size_t pinIndex, size_t dataIndex, double value) |
| | Add Data to the buffer of the pin.
|
| size_t | addData (size_t pinIndex, std::string displayName, double value) |
| | Add Data to the buffer of the pin.
|
| void | addEvent (size_t pinIndex, InsTime insTime, const std::string &text, int32_t dataIndex) |
| | Adds a event to a certain point in time.
|
| CommonLog::LocalPosition | calcLocalPosition (const Eigen::Vector3d &lla_position) |
| | Calculate the local position offset from the plot origin.
|
| void | deinitialize () override |
| | Deinitialize the node.
|
| bool | initialize () override |
| | Initialize the node.
|
| void | plotBoolean (const InsTime &insTime, size_t pinIdx) |
| | Plots the data on this port.
|
| template<typename T> |
| void | plotData (const std::shared_ptr< const T > &obs, size_t pinIndex, size_t &plotIndex, size_t startIndex=0) |
| | Plot the data.
|
| void | plotFloat (const InsTime &insTime, size_t pinIdx) |
| | Plots the data on this port.
|
| void | plotFlowData (InputPin::NodeDataQueue &queue, size_t pinIdx) |
| | Plot the data on this port.
|
| void | plotInteger (const InsTime &insTime, size_t pinIdx) |
| | Plots the data on this port.
|
| void | plotMatrix (const InsTime &insTime, size_t pinIdx) |
| | Plots the data on this port.
|
| void | updateNumberOfPlots () |
| | Adds/Deletes Plots depending on the variable nPlots.
|
Plot node which plots all kind of observations.
Definition at line 58 of file Plot.hpp.