#include "Plot1DCfg.h"
Public Types | |
| enum | PlotType { Cartesian , Polar } |
| enum | AxisQuantity { Magnitude , Phase , Real , Imaginary , Complex } |
Public Member Functions | |
| Plot1DCfg () | |
| Plot1DCfg (const Plot1DCfg &_other) | |
| virtual | ~Plot1DCfg () |
| Plot1DCfg & | operator= (const Plot1DCfg &_other) |
| virtual void | addToJsonObject (ot::JsonValue &_object, ot::JsonAllocator &_allocator) const override |
| Add the object contents to the provided JSON object. | |
| virtual void | setFromJsonObject (const ot::ConstJsonObject &_object) override |
| Set the object contents from the provided JSON object. | |
| bool | operator== (const Plot1DCfg &_other) const |
| bool | operator!= (const Plot1DCfg &_other) const |
| void | setUid (UID _uid) |
| UID | getUid (void) const |
| void | setName (const std::string &_name) |
| const std::string & | getName (void) const |
| void | setTitle (const std::string &_title) |
| const std::string & | getTitle (void) const |
| void | setProjectName (const std::string &_projectName) |
| const std::string & | getProjectName (void) const |
| void | setPlotType (PlotType _type) |
| PlotType | getPlotType (void) const |
| void | setAxisQuantity (AxisQuantity _quantity) |
| AxisQuantity | getAxisQuantity (void) const |
| void | setGridVisible (bool _visible) |
| bool | getGridVisible (void) const |
| void | setGridColor (const Color &_color) |
| const Color & | getGridColor (void) const |
| void | setGridLineWidth (double _width) |
| double | getGridLineWidth (void) const |
| void | setHidden (bool _isHidden) |
| bool | getHidden (void) const |
| void | setLegendVisible (bool _isVisible) |
| bool | getLegendVisible (void) const |
| void | setOldTreeIcons (const NavigationTreeItemIcon &_icons) |
| const NavigationTreeItemIcon & | getOldTreeIcons (void) const |
| void | setXAxis (const Plot1DAxisCfg &_xAxis) |
| const Plot1DAxisCfg & | getXAxis (void) const |
| void | setXAxisMin (double _min) |
| double | getXAxisMin (void) const |
| void | setXAxisMax (double _max) |
| double | getXAxisMax (void) const |
| void | setXAxisIsLogScale (bool _logScaleEnabled) |
| bool | getXAxisIsLogScale (void) const |
| void | setXAxisIsAutoScale (bool _autoScaleEnabled) |
| bool | getXAxisIsAutoScale (void) const |
| void | setYAxis (const Plot1DAxisCfg &_yAxis) |
| const Plot1DAxisCfg & | getYAxis (void) const |
| void | setYAxisMin (double _min) |
| double | getYAxisMin (void) const |
| void | setYAxisMax (double _max) |
| double | getYAxisMax (void) const |
| void | setYAxisIsLogScale (bool _logScaleEnabled) |
| bool | getYAxisIsLogScale (void) const |
| void | setYAxisIsAutoScale (bool _autoScaleEnabled) |
| bool | getYAxisIsAutoScale (void) const |
Public Member Functions inherited from ot::Serializable | |
| Serializable () | |
| virtual | ~Serializable () |
Static Public Member Functions | |
| static std::string | plotTypeToString (PlotType _type) |
| static PlotType | stringToPlotType (const std::string &_type) |
| static std::string | axisQuantityToString (AxisQuantity _quantity) |
| static AxisQuantity | stringToAxisQuantity (const std::string &_quantity) |
| ot::Plot1DCfg::Plot1DCfg | ( | ) |
| ot::Plot1DCfg::Plot1DCfg | ( | const Plot1DCfg & | _other | ) |
|
virtual |
|
overridevirtual |
Add the object contents to the provided JSON object.
| _object | Json object reference to write the data to. |
| _allocator | Allocator. |
Implements ot::Serializable.
Reimplemented in ot::Plot1DDataBaseCfg.
|
static |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| bool ot::Plot1DCfg::operator!= | ( | const Plot1DCfg & | _other | ) | const |
| ot::Plot1DCfg & ot::Plot1DCfg::operator= | ( | const Plot1DCfg & | _other | ) |
| bool ot::Plot1DCfg::operator== | ( | const Plot1DCfg & | _other | ) | const |
|
static |
|
inline |
|
overridevirtual |
Set the object contents from the provided JSON object.
| _object | The JSON object containing the information. |
| May | throw an exception if the provided object is not valid (members missing or invalid types). |
Implements ot::Serializable.
Reimplemented in ot::Plot1DDataBaseCfg.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
static |
|
static |