API documentation  2.0rc1
Public Member Functions | List of all members
client::OscillatorNode Class Reference

#include <clientlib.h>

Inherits client::AudioNode.

Public Member Functions

AudioParamget_detune ()
 
AudioParamget_frequency ()
 
EventListenerget_onended ()
 
void set_onended (EventListener *)
 
Stringget_type ()
 
void set_type (const String &)
 
void setPeriodicWave (PeriodicWave *periodicWave)
 
void start ()
 
void start (double when)
 
void stop ()
 
void stop (double when)
 
void addEventListener (const String &type, EventListener *listener)
 
void addEventListener (const String &type, EventListener *listener, bool options)
 
void addEventListener (const String &type, EventListener *listener, AddEventListenerOptions *options)
 
void addEventListener (const String &type, EventListenerObject *listener)
 
void addEventListener (const String &type, EventListenerObject *listener, AddEventListenerOptions *options)
 
void removeEventListener (const String &type, EventListener *listener)
 
void removeEventListener (const String &type, EventListener *listener, bool options)
 
void removeEventListener (const String &type, EventListener *listener, EventListenerOptions *options)
 
void removeEventListener (const String &type, EventListenerObject *listener)
 
void removeEventListener (const String &type, EventListenerObject *listener, EventListenerOptions *options)
 
OscillatorNodeget_prototype ()
 
void set_prototype (OscillatorNode *)
 
 OscillatorNode ()
 
- Public Member Functions inherited from client::AudioNode
double get_channelCount ()
 
void set_channelCount (double)
 
Stringget_channelCountMode ()
 
void set_channelCountMode (const String &)
 
Stringget_channelInterpretation ()
 
void set_channelInterpretation (const String &)
 
AudioContextget_context ()
 
double get_numberOfInputs ()
 
double get_numberOfOutputs ()
 
AudioNodeconnect (AudioNode *destination)
 
AudioNodeconnect (AudioNode *destination, double output)
 
AudioNodeconnect (AudioNode *destination, double output, double input)
 
void connect (AudioParam *destination)
 
void connect (AudioParam *destination, double output)
 
void disconnect ()
 
void disconnect (double output)
 
void disconnect (AudioNode *destination)
 
void disconnect (AudioNode *destination, double output)
 
void disconnect (AudioNode *destination, double output, double input)
 
void disconnect (AudioParam *destination)
 
void disconnect (AudioParam *destination, double output)
 
AudioNodeget_prototype ()
 
void set_prototype (AudioNode *)
 
 AudioNode ()
 
- Public Member Functions inherited from client::EventTarget
void addEventListener (const String &type, EventListener *listener)
 
void addEventListener (const String &type, EventListener *listener, bool options)
 
void addEventListener (const String &type, EventListener *listener, AddEventListenerOptions *options)
 
void addEventListener (const String &type, EventListenerObject *listener)
 
void addEventListener (const String &type, EventListenerObject *listener, AddEventListenerOptions *options)
 
bool dispatchEvent (Event *evt)
 
void removeEventListener (const String &type)
 
void removeEventListener (const String &type, EventListener *listener)
 
void removeEventListener (const String &type, EventListener *listener, EventListenerOptions *options)
 
void removeEventListener (const String &type, EventListener *listener, bool options)
 
void removeEventListener (const String &type, EventListenerObject *listener)
 
void removeEventListener (const String &type, EventListenerObject *listener, bool options)
 
EventTargetget_prototype ()
 
void set_prototype (EventTarget *)
 
 EventTarget ()
 
- Public Member Functions inherited from client::Object
 Object ()
 
template<typename T >
valueOf ()
 
 operator double () const
 
Objectoperator[] (const client::String &name) const
 
void set_ (const client::String &name, Object *v)
 
template<typename T , typename = typename std::enable_if<std::is_arithmetic<T>::value, T>::type>
void set_ (const client::String &name, T v)
 
bool hasOwnProperty (const client::String &name)
 

Constructor & Destructor Documentation

◆ OscillatorNode()

client::OscillatorNode::OscillatorNode ( )

Member Function Documentation

◆ addEventListener() [1/5]

void client::OscillatorNode::addEventListener ( const String type,
EventListener listener 
)

◆ addEventListener() [2/5]

void client::OscillatorNode::addEventListener ( const String type,
EventListener listener,
bool  options 
)

◆ addEventListener() [3/5]

void client::OscillatorNode::addEventListener ( const String type,
EventListener listener,
AddEventListenerOptions options 
)

◆ addEventListener() [4/5]

void client::OscillatorNode::addEventListener ( const String type,
EventListenerObject listener 
)

◆ addEventListener() [5/5]

void client::OscillatorNode::addEventListener ( const String type,
EventListenerObject listener,
AddEventListenerOptions options 
)

◆ get_detune()

AudioParam* client::OscillatorNode::get_detune ( )

◆ get_frequency()

AudioParam* client::OscillatorNode::get_frequency ( )

◆ get_onended()

EventListener* client::OscillatorNode::get_onended ( )

◆ get_prototype()

OscillatorNode* client::OscillatorNode::get_prototype ( )

◆ get_type()

String* client::OscillatorNode::get_type ( )

◆ removeEventListener() [1/5]

void client::OscillatorNode::removeEventListener ( const String type,
EventListener listener 
)

◆ removeEventListener() [2/5]

void client::OscillatorNode::removeEventListener ( const String type,
EventListener listener,
bool  options 
)

◆ removeEventListener() [3/5]

void client::OscillatorNode::removeEventListener ( const String type,
EventListener listener,
EventListenerOptions options 
)

◆ removeEventListener() [4/5]

void client::OscillatorNode::removeEventListener ( const String type,
EventListenerObject listener 
)

◆ removeEventListener() [5/5]

void client::OscillatorNode::removeEventListener ( const String type,
EventListenerObject listener,
EventListenerOptions options 
)

◆ set_onended()

void client::OscillatorNode::set_onended ( EventListener )

◆ set_prototype()

void client::OscillatorNode::set_prototype ( OscillatorNode )

◆ set_type()

void client::OscillatorNode::set_type ( const String )

◆ setPeriodicWave()

void client::OscillatorNode::setPeriodicWave ( PeriodicWave periodicWave)

◆ start() [1/2]

void client::OscillatorNode::start ( )

◆ start() [2/2]

void client::OscillatorNode::start ( double  when)

◆ stop() [1/2]

void client::OscillatorNode::stop ( )

◆ stop() [2/2]

void client::OscillatorNode::stop ( double  when)