iso::synth::SynthCom Class Reference

#include <iso_synth_com.h>

Collaboration diagram for iso::synth::SynthCom:

Collaboration graph
[legend]
List of all members.

Public Member Functions

void createOSCControl (unsigned int pReceiverPort, const base::String &pSenderIP, unsigned int pSenderPort) throw (SynthException)
 create osc control
void createOSCControl (OSCControl *pControl, unsigned int pReceiverPort, const base::String &pSenderIP, unsigned int pSenderPort) throw (SynthException)
 create osc control
void registerAudioPort (const base::String &pSenderName, const AudioPort &pPort) throw (SynthException)
 register audio port for continous sending
void registerAudioPort (const base::String &pSenderName, const AudioPort &pPort, const math::Vector< sample > &pMinValue, const math::Vector< sample > &pMaxValue) throw (SynthException)
 register port for continous sending

Static Public Member Functions

static SynthComget ()
 get synth com singleton instance
static void destroy ()
 destroy synth com singleton instance

Protected Member Functions

 SynthCom ()
 default constructor
 ~SynthCom ()
 destructor

Protected Attributes

QTime mTime

Static Protected Attributes

static SynthComsSynthCom
 singleton instance

Constructor & Destructor Documentation

SynthCom::SynthCom (  )  [protected]

default constructor

SynthCom::~SynthCom (  )  [protected]

destructor


Member Function Documentation

SynthCom & SynthCom::get (  )  [static]

get synth com singleton instance

Returns:
synth com

void SynthCom::destroy (  )  [static]

destroy synth com singleton instance

void SynthCom::createOSCControl ( unsigned int  pReceiverPort,
const base::String &  pSenderIP,
unsigned int  pSenderPort 
) throw (SynthException)

create osc control

Parameters:
pReceiverPort receiver port number
pSenderIP sender ip address
pSenderPort sender port number
Exceptions:
SynthException failed to create osc control

void SynthCom::createOSCControl ( OSCControl pControl,
unsigned int  pReceiverPort,
const base::String &  pSenderIP,
unsigned int  pSenderPort 
) throw (SynthException)

create osc control

Parameters:
pControl OSCControl
pReceiverPort receiver port number
pSenderIP sender ip address
pSenderPort sender port number
Exceptions:
FlockException failed to create osc control

void SynthCom::registerAudioPort ( const base::String &  pSenderName,
const AudioPort pPort 
) throw (SynthException)

register audio port for continous sending

Parameters:
pSenderName network sender name
pPort audio port
Exceptions:
SynthException failed to register port
send raw port data

void SynthCom::registerAudioPort ( const base::String &  pSenderName,
const AudioPort pPort,
const math::Vector< sample > &  pMinValue,
const math::Vector< sample > &  pMaxValue 
) throw (SynthException)

register port for continous sending

Parameters:
pSenderName network sender name
pPort port
pMinValue minimum parameter value
pMaxValue maximum parameter value
Exceptions:
SynthException failed to register port
send normalized port data


Member Data Documentation

SynthCom * SynthCom::sSynthCom [static, protected]

singleton instance

QTime iso::synth::SynthCom::mTime [protected]


The documentation for this class was generated from the following files:
Generated on Fri Feb 25 14:18:41 2011 for synth by  doxygen 1.5.1