Choreonoid  1.8
Public Member Functions | List of all members
cnoid::GeneralSliderView::Slider Class Referenceabstract

#include <GeneralSliderView.h>

Inheritance diagram for cnoid::GeneralSliderView::Slider:
cnoid::Referenced

Public Member Functions

virtual double value () const =0
 
virtual void setValue (double value, bool doSync=false)=0
 
virtual void setCallback (std::function< void(double value)> callback)=0
 
- Public Member Functions inherited from cnoid::Referenced
virtual ~Referenced ()
 

Additional Inherited Members

- Protected Member Functions inherited from cnoid::Referenced
 Referenced ()
 
 Referenced (const Referenced &)
 
int refCount () const
 

Member Function Documentation

◆ setCallback()

virtual void cnoid::GeneralSliderView::Slider::setCallback ( std::function< void(double value)>  callback)
pure virtual
Note
The callback function is called from the main thread

◆ setValue()

virtual void cnoid::GeneralSliderView::Slider::setValue ( double  value,
bool  doSync = false 
)
pure virtual

◆ value()

virtual double cnoid::GeneralSliderView::Slider::value ( ) const
pure virtual

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