roviz  0.7
Code Documentation of roviz
Public Member Functions | List of all members
TrimImplDev Class Reference

roviz backend for a Trim More...

#include <trim_impl_dev.h>

Inheritance diagram for TrimImplDev:
Inheritance graph
Collaboration diagram for TrimImplDev:
Collaboration graph

Public Member Functions

 TrimImplDev (RovizItemBaseDev *item, std::string name, double default_value, double min, double max, int steps, bool logarithmic, std::function< void(double)> notifier_func=[](double){})
 Constructs an implementation. More...
 
QLayout * layout (void) const
 
double value (void) override
 

Detailed Description

roviz backend for a Trim

This class implements the slider mechanic to update the value of a Trim.

See also
Trim
TrimImpl
TrimImplBaseDev

Constructor & Destructor Documentation

◆ TrimImplDev()

TrimImplDev::TrimImplDev ( RovizItemBaseDev item,
std::string  name,
double  default_value,
double  min,
double  max,
int  steps,
bool  logarithmic,
std::function< void(double)>  notifier_func = [](double){} 
)

Constructs an implementation.

See also
RovizItem::addTrim

Member Function Documentation

◆ layout()

QLayout * TrimImplDev::layout ( void  ) const
Returns
The Qt layout with the sliders inside
Here is the caller graph for this function:

◆ value()

double TrimImplDev::value ( void  )
overridevirtual
Returns
The current value of the trim based on the slider position.

Implements TrimImpl.

Here is the call graph for this function:

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