ofxPDSP
pdsp::osc::Output Class Reference
Inheritance diagram for pdsp::osc::Output:
pdsp::Preparable

Public Member Functions

void openPort (const std::string &hostname, int port)
 open the port with the given index More...
 
void close () override
 shuts down the output
 
bool isConnected ()
 return true if the port has been sucessfully opened
 
void setVerbose (bool verbose)
 enable or disable diagnostic messages More...
 
pdsp::ExtSequencer & address (std::string oscAddress)
 patch a pdsp::ScoreSection::out_message() method to the result of this method for message to the serial out
 

Protected Member Functions

void prepareToPlay (int expectedBufferSize, double sampleRate) override
 
void releaseResources () override
 

Additional Inherited Members

- Static Public Member Functions inherited from pdsp::Preparable
static double getGlobalSampleRate ()
 

Member Function Documentation

◆ openPort()

void pdsp::osc::Output::openPort ( const std::string &  hostname,
int  port 
)

open the port with the given index

Parameters
[in]hostnameOSC hostname
[in]portOSC port

◆ setVerbose()

void pdsp::osc::Output::setVerbose ( bool  verbose)

enable or disable diagnostic messages

Parameters
[in]verbosetrue for enabling, false for disabling

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