Marsyas  0.5.0-beta1
Public Member Functions
PlotSink Class Reference

Text output sink Output input data at each tick to sequence numbered text files, to Marsyas messages (default = stdout), and as a MATLAB plot if MATLAB engine is being used. More...

#include <PlotSink.h>

Inherits MarSystem.

Public Member Functions

MarSystemclone () const
void myProcess (realvec &in, realvec &out)
 Processes data.
void myUpdate (MarControlPtr sender)
 Updates internal state due to a control change.
 PlotSink (std::string name)
 PlotSink (const PlotSink &a)
 ~PlotSink ()

Detailed Description

Text output sink Output input data at each tick to sequence numbered text files, to Marsyas messages (default = stdout), and as a MATLAB plot if MATLAB engine is being used.

Controls:

Definition at line 55 of file PlotSink.h.


Constructor & Destructor Documentation

PlotSink ( std::string  name)

Definition at line 34 of file PlotSink.cpp.

PlotSink ( const PlotSink a)

Definition at line 41 of file PlotSink.cpp.

~PlotSink ( )

Definition at line 55 of file PlotSink.cpp.


Member Function Documentation

MarSystem * clone ( ) const [virtual]

Implements MarSystem.

Definition at line 65 of file PlotSink.cpp.

void myProcess ( realvec in,
realvec out 
) [virtual]

Processes data.

Parameters:
inInput data to read.
outOutput data to write.

Implement this method in subclass to define specific data processing.

Implements MarSystem.

Definition at line 109 of file PlotSink.cpp.

void myUpdate ( MarControlPtr  sender) [virtual]

Updates internal state due to a control change.

Parameters:
senderThe control that triggered the update; more precisely, any control passed to the update() method - could be an invalid one.

Implement this method in subclass to define specific response to control changes.

Reimplemented from MarSystem.

Definition at line 87 of file PlotSink.cpp.


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