YARP
Yet Another Robot Platform
yarp::dev::AudioRecorderStatus::Editor Class Reference

#include <yarp/dev/AudioRecorderStatus.h>

+ Inheritance diagram for yarp::dev::AudioRecorderStatus::Editor:

Public Member Functions

 Editor ()
 
 Editor (AudioRecorderStatus &obj)
 
 ~Editor () override
 
 Editor (const Editor &rhs)=delete
 
 Editor (Editor &&rhs)=delete
 
Editoroperator= (const Editor &rhs)=delete
 
Editoroperator= (Editor &&rhs)=delete
 
bool edit (AudioRecorderStatus &obj, bool dirty=true)
 
bool isValid () const
 
AudioRecorderStatusstate ()
 
void start_editing ()
 
void begin ()
 
void stop_editing ()
 
void end ()
 
void set_enabled (const bool enabled)
 
bool get_enabled () const
 
virtual bool will_set_enabled ()
 
virtual bool did_set_enabled ()
 
void set_current_buffer_size (const size_t current_buffer_size)
 
size_t get_current_buffer_size () const
 
virtual bool will_set_current_buffer_size ()
 
virtual bool did_set_current_buffer_size ()
 
void set_max_buffer_size (const size_t max_buffer_size)
 
size_t get_max_buffer_size () const
 
virtual bool will_set_max_buffer_size ()
 
virtual bool did_set_max_buffer_size ()
 
void clean ()
 
bool read (yarp::os::ConnectionReader &connection) override
 Read this object from a network connection. More...
 
bool write (yarp::os::ConnectionWriter &connection) const override
 Write this object to a network connection. More...
 
- Public Member Functions inherited from yarp::os::Wire
yarp::os::WireLinkyarp ()
 Get YARP state associated with this object. More...
 
const yarp::os::WireLinkyarp () const
 Get YARP state associated with this object (const version). More...
 
- Public Member Functions inherited from yarp::os::PortReader
virtual ~PortReader ()
 Destructor. More...
 
virtual Type getReadType () const
 
- Public Member Functions inherited from yarp::os::PortWriter
virtual ~PortWriter ()
 Destructor. More...
 
virtual void onCompletion () const
 This is called when the port has finished all writing operations. More...
 
virtual void onCommencement () const
 This is called when the port is about to begin writing operations. More...
 
virtual yarp::os::Type getWriteType () const
 

Detailed Description

Definition at line 72 of file AudioRecorderStatus.h.

Constructor & Destructor Documentation

◆ Editor() [1/4]

yarp::dev::AudioRecorderStatus::Editor::Editor ( )

Definition at line 95 of file AudioRecorderStatus.cpp.

◆ Editor() [2/4]

yarp::dev::AudioRecorderStatus::Editor::Editor ( AudioRecorderStatus obj)

Definition at line 105 of file AudioRecorderStatus.cpp.

◆ ~Editor()

yarp::dev::AudioRecorderStatus::Editor::~Editor ( )
override

Definition at line 114 of file AudioRecorderStatus.cpp.

◆ Editor() [3/4]

yarp::dev::AudioRecorderStatus::Editor::Editor ( const Editor rhs)
delete

◆ Editor() [4/4]

yarp::dev::AudioRecorderStatus::Editor::Editor ( Editor &&  rhs)
delete

Member Function Documentation

◆ begin()

void yarp::dev::AudioRecorderStatus::Editor::begin ( )
inline

Definition at line 106 of file AudioRecorderStatus.h.

◆ clean()

void yarp::dev::AudioRecorderStatus::Editor::clean ( )

Definition at line 244 of file AudioRecorderStatus.cpp.

◆ did_set_current_buffer_size()

bool yarp::dev::AudioRecorderStatus::Editor::did_set_current_buffer_size ( )
virtual

Definition at line 210 of file AudioRecorderStatus.cpp.

◆ did_set_enabled()

bool yarp::dev::AudioRecorderStatus::Editor::did_set_enabled ( )
virtual

Definition at line 182 of file AudioRecorderStatus.cpp.

◆ did_set_max_buffer_size()

bool yarp::dev::AudioRecorderStatus::Editor::did_set_max_buffer_size ( )
virtual

Definition at line 238 of file AudioRecorderStatus.cpp.

◆ edit()

bool yarp::dev::AudioRecorderStatus::Editor::edit ( AudioRecorderStatus obj,
bool  dirty = true 
)

Definition at line 122 of file AudioRecorderStatus.cpp.

◆ end()

void yarp::dev::AudioRecorderStatus::Editor::end ( )
inline

Definition at line 117 of file AudioRecorderStatus.h.

◆ get_current_buffer_size()

size_t yarp::dev::AudioRecorderStatus::Editor::get_current_buffer_size ( ) const

Definition at line 198 of file AudioRecorderStatus.cpp.

◆ get_enabled()

bool yarp::dev::AudioRecorderStatus::Editor::get_enabled ( ) const

Definition at line 170 of file AudioRecorderStatus.cpp.

◆ get_max_buffer_size()

size_t yarp::dev::AudioRecorderStatus::Editor::get_max_buffer_size ( ) const

Definition at line 226 of file AudioRecorderStatus.cpp.

◆ isValid()

bool yarp::dev::AudioRecorderStatus::Editor::isValid ( ) const

Definition at line 134 of file AudioRecorderStatus.cpp.

◆ operator=() [1/2]

Editor& yarp::dev::AudioRecorderStatus::Editor::operator= ( const Editor rhs)
delete

◆ operator=() [2/2]

Editor& yarp::dev::AudioRecorderStatus::Editor::operator= ( Editor &&  rhs)
delete

◆ read()

bool yarp::dev::AudioRecorderStatus::Editor::read ( yarp::os::ConnectionReader reader)
overridevirtual

Read this object from a network connection.

Override this for your particular class.

Parameters
readeran interface to the network connection for reading
Returns
true iff the object is successfully read

Implements yarp::os::PortReader.

Definition at line 250 of file AudioRecorderStatus.cpp.

◆ set_current_buffer_size()

void yarp::dev::AudioRecorderStatus::Editor::set_current_buffer_size ( const size_t  current_buffer_size)

Definition at line 188 of file AudioRecorderStatus.cpp.

◆ set_enabled()

void yarp::dev::AudioRecorderStatus::Editor::set_enabled ( const bool  enabled)

Definition at line 160 of file AudioRecorderStatus.cpp.

◆ set_max_buffer_size()

void yarp::dev::AudioRecorderStatus::Editor::set_max_buffer_size ( const size_t  max_buffer_size)

Definition at line 216 of file AudioRecorderStatus.cpp.

◆ start_editing()

void yarp::dev::AudioRecorderStatus::Editor::start_editing ( )

Definition at line 146 of file AudioRecorderStatus.cpp.

◆ state()

AudioRecorderStatus & yarp::dev::AudioRecorderStatus::Editor::state ( )

Definition at line 140 of file AudioRecorderStatus.cpp.

◆ stop_editing()

void yarp::dev::AudioRecorderStatus::Editor::stop_editing ( )

Definition at line 152 of file AudioRecorderStatus.cpp.

◆ will_set_current_buffer_size()

bool yarp::dev::AudioRecorderStatus::Editor::will_set_current_buffer_size ( )
virtual

Definition at line 204 of file AudioRecorderStatus.cpp.

◆ will_set_enabled()

bool yarp::dev::AudioRecorderStatus::Editor::will_set_enabled ( )
virtual

Definition at line 176 of file AudioRecorderStatus.cpp.

◆ will_set_max_buffer_size()

bool yarp::dev::AudioRecorderStatus::Editor::will_set_max_buffer_size ( )
virtual

Definition at line 232 of file AudioRecorderStatus.cpp.

◆ write()

bool yarp::dev::AudioRecorderStatus::Editor::write ( yarp::os::ConnectionWriter writer) const
overridevirtual

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
writeran interface to the network connection for writing
Returns
true iff the object is successfully written

Implements yarp::os::PortWriter.

Definition at line 392 of file AudioRecorderStatus.cpp.


The documentation for this class was generated from the following files: