Marsyas  0.5.0-beta1
Public Member Functions | Friends
EvGetUpd Class Reference

get a control value and use it to update another More...

#include <EvGetUpd.h>

Inherits EvEvent.

Public Member Functions

virtual EvGetUpdclone ()
 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.
 EvGetUpd (MarSystem *src, std::string scname, MarSystem *tgt, std::string tcname)
 EvGetUpd (EvGetUpd &e)
MarSystemgetSource () const
std::string getSrcCName () const
MarSystemgetTarget () const
std::string getTgtCName () const
void setEvent (MarSystem *src, std::string scname, MarSystem *tgt, std::string tcname)
void setSource (MarSystem *ms)
void setSrcCName (std::string cname)
void setTarget (MarSystem *ms)
void setTgtCName (std::string cname)
virtual ~EvGetUpd ()

Friends

std::ostream & operator<< (std::ostream &, EvEvent &)
std::istream & operator>> (std::istream &, EvEvent &)

Detailed Description

get a control value and use it to update another

Author:
Neil Burroughs inb@cs.uvic.ca

Definition at line 41 of file EvGetUpd.h.


Constructor & Destructor Documentation

EvGetUpd ( MarSystem src,
std::string  scname,
MarSystem tgt,
std::string  tcname 
)

Definition at line 25 of file EvGetUpd.cpp.

EvGetUpd ( EvGetUpd e)

Definition at line 30 of file EvGetUpd.cpp.

~EvGetUpd ( ) [virtual]

Definition at line 34 of file EvGetUpd.cpp.


Member Function Documentation

EvGetUpd * 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 54 of file EvGetUpd.cpp.

void dispatch ( ) [virtual]

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.

Implements EvEvent.

Definition at line 46 of file EvGetUpd.cpp.

MarSystem* getSource ( ) const [inline]

Definition at line 57 of file EvGetUpd.h.

std::string getSrcCName ( ) const [inline]

Definition at line 55 of file EvGetUpd.h.

MarSystem* getTarget ( ) const [inline]

Definition at line 58 of file EvGetUpd.h.

std::string getTgtCName ( ) const [inline]

Definition at line 56 of file EvGetUpd.h.

void setEvent ( MarSystem src,
std::string  scname,
MarSystem tgt,
std::string  tcname 
)

Definition at line 37 of file EvGetUpd.cpp.

void setSource ( MarSystem ms) [inline]

Definition at line 62 of file EvGetUpd.h.

void setSrcCName ( std::string  cname) [inline]

Definition at line 60 of file EvGetUpd.h.

void setTarget ( MarSystem ms) [inline]

Definition at line 63 of file EvGetUpd.h.

void setTgtCName ( std::string  cname) [inline]

Definition at line 61 of file EvGetUpd.h.


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  ,
EvEvent  
) [friend]

Reimplemented from EvEvent.

std::istream& operator>> ( std::istream &  ,
EvEvent  
) [friend]

Reimplemented from EvEvent.


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