QtPdWidgets  2.3.1
Public Member Functions | Public Attributes | List of all members
Pd::XYGraph::Impl::Axis Class Reference

Axis class. More...

Inheritance diagram for Pd::XYGraph::Impl::Axis:
Inheritance graph
[legend]
Collaboration diagram for Pd::XYGraph::Impl::Axis:
Collaboration graph
[legend]

Public Member Functions

 Axis (XYGraph::Impl *impl)
 Axis constructor. More...
 
void newValues (std::chrono::nanoseconds) override
 This virtual method is called by the ProcessVariable, if its value changes. More...
 
void stateChange (PdCom::Subscription::State) override
 Notification for subscription cancellation forced by the ProcessVariable. More...
 
void removeDeprecated ()
 Removed values, that are older than specified in timeRange. More...
 

Public Attributes

XYGraph::Impl *const impl
 
QList< TimeValuePairvalues
 List of values. More...
 

Detailed Description

Axis class.

Constructor & Destructor Documentation

◆ Axis()

Pd::XYGraph::Impl::Axis::Axis ( XYGraph::Impl impl)

Axis constructor.

References Pd::XYGraph::Impl::Axis::impl.

Member Function Documentation

◆ newValues()

void Pd::XYGraph::Impl::Axis::newValues ( std::chrono::nanoseconds  ts)
override

This virtual method is called by the ProcessVariable, if its value changes.

References Pd::XYGraph::Impl::TimeValuePair::time, and Pd::XYGraph::Impl::TimeValuePair::value.

◆ removeDeprecated()

void Pd::XYGraph::Impl::Axis::removeDeprecated ( )

Removed values, that are older than specified in timeRange.

◆ stateChange()

void Pd::XYGraph::Impl::Axis::stateChange ( PdCom::Subscription::State  state)
override

Notification for subscription cancellation forced by the ProcessVariable.

This virtual function is called by the ProcessVariable, for any subscription that is still active, when the ProcessVariable is about to be destroyed.

Member Data Documentation

◆ impl

XYGraph::Impl* const Pd::XYGraph::Impl::Axis::impl

◆ values

QList<TimeValuePair> Pd::XYGraph::Impl::Axis::values

List of values.


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