logo
Main Page | Namespaces | Classes | Compounds | Files | Compound Members | Related

SynthCore::Output Class Reference

Output is a generic connector endpoint. More...

#include <Output.h>

List of all members.

Public Methods

void ConnectTo (Input *I)
 Output (Module *host)
 Constructor takes pointer to host module.

 ~Output ()
 Destructor.

float read ()
 This will return the buffer value.

void loadXML (string tagName, XMLNode *n)
 Load values from XMLNode.

std::string getXML (std::string tag, int indent=0)
 Save state to XML string.

void write (float val)
 Write shold be called from Host Modules Update()-function.


Public Attributes

float value
 This buffers the output value.

ModuleHostModule
 We live in this host.


Detailed Description

Output is a generic connector endpoint.

Output is a generic connector endpoint Connects to an input. Every module contains a number of inputs/outputs

Definition at line 33 of file Output.h.


Member Function Documentation

void SynthCore::Output::ConnectTo Input   I
 

This is a bit obsolete, Since outputs can be connected to severel inputs. Dont use it.

Todo:
Remove this!

Definition at line 69 of file Input.cpp.

References SynthCore::Input::ConnectFrom(), and value.


The documentation for this class was generated from the following files:
Syntopia Project. Visit the web page, or the SourceForge page.
Docs made by Doxygen. Email: Mikael Christensen