#include <unumber.hpp>
Inheritance diagram for ubit::UNumber:
Public Member Functions | |
UNumber (UMask b_modes=0) | |
virtual int | intValue () const =0 |
virtual float | floatValue () const =0 |
virtual double | doubleValue () const =0 |
virtual UStr | toString () const =0 |
virtual UNumber & | onChange (UCall &) |
adds callbacks that are activated when the objects' value changes. | |
virtual void | changed (bool=true) |
called when object's content is changed. |
!NOTE: should not inherit from UBrick
void ubit::UNumber::changed | ( | bool | = true |
) | [virtual] |
called when object's content is changed.
if (update_now && (bmodes & UMode::NO_AUTO_UPDATE) == 0) update();