9 #ifndef YARP_DEV_AUDIOBUFFERSIZE_H
10 #define YARP_DEV_AUDIOBUFFERSIZE_H
21 template <
typename SAMPLE>
22 class CircularAudioBuffer;
27 template <
typename SAMPLE>
34 size_t getBytes() {
return m_samples * m_channels * m_depth; }
bool write(const yarp::os::idl::WireWriter &writer) const override
bool write(yarp::os::ConnectionWriter &writer) const override
Write this object to a network connection.
bool read(yarp::os::idl::WireReader &reader) override
size_t getBufferElements()
bool read(yarp::os::ConnectionReader &reader) override
Read this object from a network connection.
bool write(const yarp::os::idl::WireWriter &writer) const override
bool read(yarp::os::idl::WireReader &reader) override
An interface for reading from a network connection.
An interface for writing to a network connection.
IDL-friendly connection reader.
IDL-friendly connection writer.
The main, catch-all namespace for YARP.