|
VISH
0.2
|
An input slot for Vish Objects, bound to a specific type. More...
#include </home/werner/origo/vish/ocean/plankton/Vish.hpp>
An input slot for Vish Objects, bound to a specific type.
The typical usage is
class MyObject : public Vish::Object { Vish::Input<int> MyInteger; MyObject() : MyInteger(this, "myvalue", 42) {} };
| Vish::Input::Input | ( | VObject * | that, |
| const string & | s, | ||
| const T & | initialValue, | ||
| int | EL = 0 |
||
| ) | [inline] |
Constructing an input.
| that | The VObject to which this slot is bound. |
| EL | the Expert level of this slot, which might be used for a GUI. |
| initialValue | The intial value of this slot's parameter. |
| Vish::Input::TypedSlot | ( | VObject * | that, |
| const string & | s, | ||
| const RefPtr< VCreationPreferences > & | VP, | ||
| int | prior | ||
| ) |
Construct a typed slot with Creation Preferences, but no initialization of the value.
| Vish::Input::TypedSlot | ( | VObject * | that, |
| const string & | s, | ||
| const VSlot::Empty & | , | ||
| int | prior = 0 |
||
| ) |
Special constructor that does not initialize the value of this input slot.
Rarely to be used, only for specific cases where initialization of a slot's type is non-trivial.
| Vish::Input::TypedSlot | ( | VObject * | that, |
| const string & | s, | ||
| const T & | initialValue, | ||
| const RefPtr< VCreationPreferences > & | VP, | ||
| int | prior = 0 |
||
| ) |
Declaration of constructor with creation preferences.
| initialValue | The intial value of this slot's parameter. |
1.7.5