OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
ot::Plot1DAxisCfg Class Reference

#include "Plot1DAxisCfg.h"

Inheritance diagram for ot::Plot1DAxisCfg:
ot::Serializable

Public Member Functions

 Plot1DAxisCfg ()
 
 Plot1DAxisCfg (const Plot1DAxisCfg &_other)
 
virtual ~Plot1DAxisCfg ()
 
Plot1DAxisCfgoperator= (const Plot1DAxisCfg &_other)
 
bool operator== (const Plot1DAxisCfg &_other) const
 
bool operator!= (const Plot1DAxisCfg &_other) const
 
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.
 
void setMin (double _min)
 
double getMin (void) const
 
void setMax (double _max)
 
double getMax (void) const
 
void setIsLogScale (bool _logScaleEnabled)
 
bool getIsLogScale (void) const
 
void setIsAutoScale (bool _autoScaleEnabled)
 
bool getIsAutoScale (void) const
 
- Public Member Functions inherited from ot::Serializable
 Serializable ()
 
virtual ~Serializable ()
 

Constructor & Destructor Documentation

◆ Plot1DAxisCfg() [1/2]

ot::Plot1DAxisCfg::Plot1DAxisCfg ( )

◆ Plot1DAxisCfg() [2/2]

ot::Plot1DAxisCfg::Plot1DAxisCfg ( const Plot1DAxisCfg & _other)

◆ ~Plot1DAxisCfg()

ot::Plot1DAxisCfg::~Plot1DAxisCfg ( )
virtual

Member Function Documentation

◆ addToJsonObject()

void ot::Plot1DAxisCfg::addToJsonObject ( ot::JsonValue & _object,
ot::JsonAllocator & _allocator ) const
overridevirtual

Add the object contents to the provided JSON object.

Parameters
_objectJson object reference to write the data to.
_allocatorAllocator.

Implements ot::Serializable.

◆ getIsAutoScale()

bool ot::Plot1DAxisCfg::getIsAutoScale ( void ) const
inline

◆ getIsLogScale()

bool ot::Plot1DAxisCfg::getIsLogScale ( void ) const
inline

◆ getMax()

double ot::Plot1DAxisCfg::getMax ( void ) const
inline

◆ getMin()

double ot::Plot1DAxisCfg::getMin ( void ) const
inline

◆ operator!=()

bool ot::Plot1DAxisCfg::operator!= ( const Plot1DAxisCfg & _other) const

◆ operator=()

ot::Plot1DAxisCfg & ot::Plot1DAxisCfg::operator= ( const Plot1DAxisCfg & _other)

◆ operator==()

bool ot::Plot1DAxisCfg::operator== ( const Plot1DAxisCfg & _other) const

◆ setFromJsonObject()

void ot::Plot1DAxisCfg::setFromJsonObject ( const ot::ConstJsonObject & _object)
overridevirtual

Set the object contents from the provided JSON object.

Parameters
_objectThe JSON object containing the information.
Exceptions
Maythrow an exception if the provided object is not valid (members missing or invalid types).

Implements ot::Serializable.

◆ setIsAutoScale()

void ot::Plot1DAxisCfg::setIsAutoScale ( bool _autoScaleEnabled)
inline

◆ setIsLogScale()

void ot::Plot1DAxisCfg::setIsLogScale ( bool _logScaleEnabled)
inline

◆ setMax()

void ot::Plot1DAxisCfg::setMax ( double _max)
inline

◆ setMin()

void ot::Plot1DAxisCfg::setMin ( double _min)
inline

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