EvValUpd Class Reference
[Scheduler]

update a MarSystem control value More...

#include <EvValUpd.h>

Inherits Marsyas::EvEvent.


Public Member Functions

virtual EvValUpdclone ()
 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.
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.


Detailed Description

update a MarSystem control value

Author:
Neil Burroughs inb@cs.uvic.ca

Definition at line 42 of file EvValUpd.h.


Member Function Documentation

EvValUpd * clone (  )  [virtual]

clone this event and all its parameters. This method must be implemented so that scheduled events may be copied.

Returns:
a pointer to a copy of this event

Implements EvEvent.

Definition at line 59 of file EvValUpd.cpp.

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.

Parameters:
cname the path name of the parameter to be modified.
value the value to be assigned

Reimplemented from EvEvent.

Definition at line 65 of file EvValUpd.cpp.

References EvEvent::checkupd(), Marsyas::tmcv_marsystem, Marsyas::tmcv_string, TmControlValue::toMarSystem(), and TmControlValue::toString().


The documentation for this class was generated from the following files:

Generated on Wed May 23 00:02:23 2012 for Marsyas by  doxygen 1.5.6