11 #ifndef YARP_THRIFT_GENERATOR_STRUCT_AUDIOPLAYERSTATUS_H
12 #define YARP_THRIFT_GENERATOR_STRUCT_AUDIOPLAYERSTATUS_H
51 const size_t current_buffer_size,
52 const size_t max_buffer_size);
102 void start_editing();
104 #ifndef YARP_NO_DEPRECATED
115 #ifndef YARP_NO_DEPRECATED
124 void set_enabled(
const bool enabled);
125 bool get_enabled()
const;
126 virtual bool will_set_enabled();
127 virtual bool did_set_enabled();
130 void set_current_buffer_size(
const size_t current_buffer_size);
131 size_t get_current_buffer_size()
const;
132 virtual bool will_set_current_buffer_size();
133 virtual bool did_set_current_buffer_size();
136 void set_max_buffer_size(
const size_t max_buffer_size);
137 size_t get_max_buffer_size()
const;
138 virtual bool will_set_max_buffer_size();
139 virtual bool did_set_max_buffer_size();
158 bool is_dirty_enabled;
159 bool is_dirty_current_buffer_size;
160 bool is_dirty_max_buffer_size;
170 void mark_dirty_enabled();
171 void mark_dirty_current_buffer_size();
172 void mark_dirty_max_buffer_size();
175 void dirty_flags(
bool flag);
Editor(const Editor &rhs)=delete
Editor(Editor &&rhs)=delete
Editor & operator=(const Editor &rhs)=delete
Editor & operator=(Editor &&rhs)=delete
AudioPlayerStatus: A class used to describe the status of an audio player device.
size_t current_buffer_size
the size of the audio buffer [samples]
size_t max_buffer_size
the max_size of the audio buffer [samples]
bool enabled
true if the playback is currently enabled
yarp::os::idl::Unwrapped< AudioPlayerStatus > unwrapped
An interface for reading from a network connection.
An interface for writing to a network connection.
Interface implemented by all objects that can write themselves to the network, such as Bottle objects...
Base class for IDL client/server.
A "tamed" Portable, that promises to serialize itself in an IDL-friendly way.
IDL-friendly connection reader.
IDL-friendly connection writer.
#define YARP_DEPRECATED_MSG(MSG)
Expands to either the standard [[deprecated]] attribute or a compiler-specific decorator such as __at...
std::string toString(const T &value)
convert an arbitrary type to string.
bool isValid()
Check if time is valid (non-zero).
bool read(ImageOf< PixelRgb > &dest, const std::string &src, image_fileformat format=FORMAT_ANY)
bool write(const ImageOf< PixelRgb > &src, const std::string &dest, image_fileformat format=FORMAT_PPM)
The main, catch-all namespace for YARP.