#include <EvExpr.h>
Inherits Marsyas::EvEvent.
Public Member Functions | |
| virtual EvExpr * | clone () |
| clone this event and all its parameters. This method must be implemented so that scheduled events may be copied. | |
| void | dispatch () |
| the action to be performed by the event. This method is called when the event is due. Since Marsyas is not threaded, this method will block so be careful not to do too much. | |
| virtual bool | repeat () |
| report if the event is to be repeated | |
| void | setTimer (TmTimer *t) |
| set the timer on which this event is scheduled. This method is called by the timer's post method when the scheduled event is posted on the timer. | |
| void | updctrl (std::string cname, TmControlValue value) |
| update event parameters dynamically. Parameters of the event may be updated while the event is on the heap. The support for modifiable parameters is dependent on the implementation of concrete events. Unsupported parameter updates should generate warnings. | |
Definition at line 44 of file EvExpr.h.
| EvExpr * clone | ( | ) | [virtual] |
clone this event and all its parameters. This method must be implemented so that scheduled events may be copied.
Implements EvEvent.
Definition at line 69 of file EvExpr.cpp.
| bool repeat | ( | ) | [virtual] |
report if the event is to be repeated
Reimplemented from EvEvent.
Definition at line 75 of file EvExpr.cpp.
References Expr::repeat().
| void setTimer | ( | TmTimer * | t | ) | [virtual] |
set the timer on which this event is scheduled. This method is called by the timer's post method when the scheduled event is posted on the timer.
| t | the timer on which this event is posted. |
Reimplemented from EvEvent.
Definition at line 47 of file EvExpr.cpp.
References Expr::post(), Expr::setTimer(), EvEvent::setTimer(), and EvEvent::timer_.
| void updctrl | ( | std::string | cname, | |
| TmControlValue | value | |||
| ) | [virtual] |
update event parameters dynamically. Parameters of the event may be updated while the event is on the heap. The support for modifiable parameters is dependent on the implementation of concrete events. Unsupported parameter updates should generate warnings.
| cname | the path name of the parameter to be modified. | |
| value | the value to be assigned |
Reimplemented from EvEvent.
Definition at line 88 of file EvExpr.cpp.
1.5.6