yarpAudioPlayer_IDL Interface. More...
Inheritance diagram for yarpAudioPlayer_IDL:Public Member Functions | |
| virtual yarp::os::ApplicationNetworkProtocolVersion | getLocalProtocolVersion () |
| virtual yarp::os::ApplicationNetworkProtocolVersion | getRemoteProtocolVersion () |
| virtual bool | checkProtocolVersion () |
| yarpAudioPlayer_IDL () | |
| virtual bool | play (const std::string &filename) |
| Play the given audio file. | |
| virtual bool | test (const std::string &type="sine", const double duration=1, const double frequency=440, const std::int16_t amplitude=30000, const std::int16_t sampling_rate=16000, const std::int16_t channels=1) |
| Generate and send a test sound. | |
| virtual std::vector< std::string > | help (const std::string &functionName="--all") |
| bool | read (yarp::os::ConnectionReader &connection) override |
| Read this object from a network connection. | |
Public Member Functions inherited from yarp::os::Wire | |
| yarp::os::WireLink & | yarp () |
| Get YARP state associated with this object. | |
| const yarp::os::WireLink & | yarp () const |
| Get YARP state associated with this object (const version). | |
Public Member Functions inherited from yarp::os::PortReader | |
| virtual | ~PortReader () |
| Destructor. | |
| virtual Type | getReadType () const |
yarpAudioPlayer_IDL Interface.
Definition at line 23 of file yarpAudioPlayer_IDL.h.
| yarpAudioPlayer_IDL::yarpAudioPlayer_IDL | ( | ) |
Definition at line 591 of file yarpAudioPlayer_IDL.cpp.
|
virtual |
Definition at line 81 of file yarpAudioPlayer_IDL.cpp.
|
virtual |
Definition at line 96 of file yarpAudioPlayer_IDL.cpp.
|
virtual |
Definition at line 66 of file yarpAudioPlayer_IDL.cpp.
|
virtual |
Definition at line 617 of file yarpAudioPlayer_IDL.cpp.
|
virtual |
Play the given audio file.
Reimplemented in PlayerModule.
Definition at line 596 of file yarpAudioPlayer_IDL.cpp.
|
overridevirtual |
Read this object from a network connection.
Override this for your particular class.
| reader | an interface to the network connection for reading |
Implements yarp::os::PortReader.
Definition at line 649 of file yarpAudioPlayer_IDL.cpp.
|
virtual |
Generate and send a test sound.
| type | can be "sine" , "sawtooth" , "squarewave" |
| duration | the duration of the sound in seconds |
| frequency | the signal in hertz |
| amplitude | the amplitude of the signal (16 bit) |
| channels | number of channels |
| sampling_rate | signal sampling rate (samples/s) |
Reimplemented in PlayerModule.
Definition at line 606 of file yarpAudioPlayer_IDL.cpp.