Go to the documentation of this file.
5 #ifndef CNOID_BASE_GENERAL_JOINT_SLIDER_VIEW_H
6 #define CNOID_BASE_GENERAL_JOINT_SLIDER_VIEW_H
9 #include "exportdecl.h"
25 virtual double value()
const = 0;
26 virtual void setValue(
double value,
bool doSync =
false) = 0;
28 virtual void setCallback(std::function<
void(
double value)> callback) = 0;
33 const std::string& name,
double lower = 0.0,
double upper = 999.0,
int precision = 0);
35 [[deprecated(
"Use the overload function without the owner parameter.")]]
37 const std::string& owner,
const std::string& name,
38 double lower = 0.0,
double upper = 999.0,
int precision = 0);
40 [[deprecated(
"Do nothing")]]
41 void removeSlider(
Slider* slider);
43 [[deprecated(
"Do nothing")]]
44 void removeSliders(
const std::string& owner);
49 virtual bool storeState(
Archive& archive);
50 virtual bool restoreState(
const Archive& archive);
Definition: ExtensionManager.h:23
Definition: GeneralSliderView.h:13
Definition: Referenced.h:103
ref_ptr< Slider > SliderPtr
Definition: GeneralSliderView.h:30
Definition: GeneralSliderView.h:22
Definition: AbstractSceneLoader.h:11
Definition: Referenced.h:54