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

Interaction with MarSystem running in real time. More...

#include <runner.h>

Public Member Functions

void addController (OscProvider *)
Controlcontrol (const std::string &path)
bool isRunning () const
void removeController (OscProvider *)
 Runner (MarSystem *system)
void setRtPriorityEnabled (bool on)
void start (unsigned int ticks=0)
void stop ()
bool subscribe (const std::string &path, OscSubscriber *)
MarSystemsystem ()
void unsubscribe (const std::string &path, OscSubscriber *)
void wait ()
 ~Runner ()

Friends

class Control
class RunnerThread

Detailed Description

Interaction with MarSystem running in real time.

Author:
Jakob Leben (jakob.leben@gmail.com)

Definition at line 48 of file runner.h.


Constructor & Destructor Documentation

Runner ( Marsyas::MarSystem system)

Definition at line 132 of file runner.cpp.

~Runner ( )

Definition at line 142 of file runner.cpp.


Member Function Documentation

void addController ( OscProvider controller)

Definition at line 182 of file runner.cpp.

Control * control ( const std::string &  path)

Definition at line 226 of file runner.cpp.

bool isRunning ( ) const [inline]

Definition at line 62 of file runner.h.

void removeController ( OscProvider controller)

Definition at line 193 of file runner.cpp.

void setRtPriorityEnabled ( bool  on) [inline]

Definition at line 57 of file runner.h.

void start ( unsigned int  ticks = 0)

Definition at line 149 of file runner.cpp.

void stop ( )

Definition at line 159 of file runner.cpp.

bool subscribe ( const std::string &  path,
OscSubscriber subscriber 
)

Definition at line 204 of file runner.cpp.

MarSystem* system ( ) [inline]

Definition at line 55 of file runner.h.

void unsubscribe ( const std::string &  path,
OscSubscriber subscriber 
)

Definition at line 215 of file runner.cpp.

void wait ( )

Definition at line 171 of file runner.cpp.


Friends And Related Function Documentation

friend class Control [friend]

Definition at line 75 of file runner.h.

friend class RunnerThread [friend]

Definition at line 76 of file runner.h.


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