Class MEAL::Axis

template<class Type>
class Axis : public MEAL::Argument

Public Functions

inline Value *new_Value(const Type &value)

Return a new instance of the Value of this argument.

inline Value get_Value(const Type &value)

Return an instance of the Value of this argument.

inline void set_value(const Type &value)

Set the value of the argument represented by this axis.

inline Type get_value() const

Get the value of the argument represented by this axis.

Public Members

Callback<Type> signal

The mechanism by which methods are connected.

class Value : public MEAL::Argument::Value

A value of the independent variable represented by Axis.

This class implements the apply method of the Argument::Value base class by calling the send method of its Axis.

Public Functions

inline Value(const Type &_value)

Construct with value.

inline void set_value(const Type &_value)

Set the value of this instance.

inline Type get_value() const

Get the value of this instance.

inline operator Type() const

Get the value of this instance by implicit cast.

inline virtual void apply() const override

Apply the value.

inline virtual std::string get_string() const override

Return a string representation of the value, if posssible.