an interface class defining generic commands for a scale connected to a set of scalables
![]() | setLabel (const TclString& lab) set scale label |
![]() | setBounds (double min, double max) set scale bounds |
![]() | set (double val) set a new value to scale |
![]() | to (double val) set a new value to scale but do not call scale command |
![]() | configureToMax (void) set bounds of the scale to min/max of all managed scalables |
![]() | get (void) const returns scale value |
![]() | checkValue (void) checks if the current value is between the min and max value; if not then set the value to (min+max)/2 |
![]() | on (void) activates scale, overloads Activate::on |
![]() | dying (const Scalable *elt) callback function for a DPList element being removed |
![]() | operator+= (Scalable *sclb) throw(DPList<Scalable>::NullPointer, DPList<Scalable>::AlreadyInList) adds a new scalable to scale object |
![]() | operator-= (Scalable *sclb) throw(DPList<Scalable>::NotFound) removes a scalable from a scale object |
![]() | reset (Scalable *cam, const TclString& lab) reset scale bounds and label |
![]() | getObjects (void) const returns iterator on handled scalable list |
![]() | getType (void) const returns scale type |
![]() | activation (void) Activation callback: activates scale up and down |
![]() | constructor
| ||||||
![]() | destructor
|
an interface class defining generic commands for a scale connected to a set of scalables
ScaleCamera(std::list<Scalable *>& list)
ScaleCamera(Scalable *elt)
virtual void setBounds(double min, double max)
max - scale min value virtual void set(double val)
virtual void to(double val)
virtual void configureToMax(void)
virtual double get(void) const
virtual void checkValue(void)
virtual void on(void)
virtual void dying(const Scalable *elt)
virtual void operator+=(Scalable *sclb) throw(DPList<Scalable>::NullPointer, DPList<Scalable>::AlreadyInList)
virtual void operator-=(Scalable *sclb) throw(DPList<Scalable>::NotFound)
virtual void reset(Scalable *cam, const TclString& lab)
lav - new scale label (if not EMPTY_STRING) const DPList <Scalable> & getObjects(void) const
virtual const std::type_info& getType(void) const
virtual void activation(void)
alphabetic index hierarchy of classes
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de