Marsyas  0.5.0-beta1
Public Member Functions
PWMSource Class Reference

PWMSource generates a PWM wave which outputs ones and zeros. More...

#include <PWMSource.h>

Inherits MarSystem.

Public Member Functions

MarSystemclone () const
void myProcess (realvec &in, realvec &out)
 Processes data.
 PWMSource (std::string name)
 ~PWMSource ()

Detailed Description

PWMSource generates a PWM wave which outputs ones and zeros.

Controls:

Definition at line 40 of file PWMSource.h.


Constructor & Destructor Documentation

PWMSource ( std::string  name)

Definition at line 24 of file PWMSource.cpp.

~PWMSource ( )

Definition at line 34 of file PWMSource.cpp.


Member Function Documentation

MarSystem * clone ( ) const [virtual]

Implements MarSystem.

Definition at line 39 of file PWMSource.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 62 of file PWMSource.cpp.


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