|
| using | funcptr_t = bool(*)(const std::string &, const double, const double, const std::int16_t, const std::int16_t, const std::int16_t) |
| |
Definition at line 176 of file yarpAudioPlayer_IDL.cpp.
◆ funcptr_t
◆ yarpAudioPlayer_IDL_test_helper() [1/2]
| yarpAudioPlayer_IDL_test_helper::yarpAudioPlayer_IDL_test_helper |
( |
| ) |
|
|
default |
◆ yarpAudioPlayer_IDL_test_helper() [2/2]
| yarpAudioPlayer_IDL_test_helper::yarpAudioPlayer_IDL_test_helper |
( |
const std::string & |
type, |
|
|
const double |
duration, |
|
|
const double |
frequency, |
|
|
const std::int16_t |
amplitude, |
|
|
const std::int16_t |
sampling_rate, |
|
|
const std::int16_t |
channels |
|
) |
| |
◆ call()
◆ read()
Read this object from a network connection.
Override this for your particular class.
- Parameters
-
| reader | an interface to the network connection for reading |
- Returns
- true iff the object is successfully read
Implements yarp::os::Portable.
Definition at line 417 of file yarpAudioPlayer_IDL.cpp.
◆ write()
Write this object to a network connection.
Override this for your particular class. Be aware that depending on the nature of the connections a port has, and what protocol they use, and how efficient the YARP implementation is, this method may be called once, twice, or many times, as the result of a single call to Port::write
- Parameters
-
| writer | an interface to the network connection for writing |
- Returns
- true iff the object is successfully written
Implements yarp::os::Portable.
Definition at line 412 of file yarpAudioPlayer_IDL.cpp.
◆ cmd
| Command yarpAudioPlayer_IDL_test_helper::cmd |
◆ reply
| Reply yarpAudioPlayer_IDL_test_helper::reply |
◆ s_cmd_len
| constexpr size_t yarpAudioPlayer_IDL_test_helper::s_cmd_len {7} |
|
staticconstexpr |
◆ s_help
| constexpr const char* yarpAudioPlayer_IDL_test_helper::s_help |
|
staticconstexpr |
Initial value:{
"Generate and send a test sound\n"
"@param type can be \"sine\" , \"sawtooth\" , \"squarewave\"\n"
"@param duration the duration of the sound in seconds\n"
"@param frequency the signal in hertz\n"
"@param amplitude the amplitude of the signal (16 bit)\n"
"@param channels number of channels\n"
"@param sampling_rate signal sampling rate (samples/s)\n"
"@return true/false on success/failure"
}
Definition at line 240 of file yarpAudioPlayer_IDL.cpp.
◆ s_prototype
| constexpr const char* yarpAudioPlayer_IDL_test_helper::s_prototype {"bool yarpAudioPlayer_IDL::test(const std::string& type, const double duration, const double frequency, const std::int16_t amplitude, const std::int16_t sampling_rate, const std::int16_t channels)"} |
|
staticconstexpr |
◆ s_reply_len
| constexpr size_t yarpAudioPlayer_IDL_test_helper::s_reply_len {1} |
|
staticconstexpr |
◆ s_tag
| constexpr const char* yarpAudioPlayer_IDL_test_helper::s_tag {"test"} |
|
staticconstexpr |
◆ s_tag_len
| constexpr size_t yarpAudioPlayer_IDL_test_helper::s_tag_len {1} |
|
staticconstexpr |
The documentation for this class was generated from the following file: