YARP
Yet Another Robot Platform
yarp::dev::IMultipleWrapper Class Referenceabstract

Interface for an object that can wrap/attach to to another. More...

#include <yarp/dev/Wrapper.h>

+ Inheritance diagram for yarp::dev::IMultipleWrapper:

Detailed Description

Interface for an object that can wrap/attach to to another.

This is useful for example when an object refers internally to another device, but you want to decouple the creation of the two objects. In this case you first creates the two objects separately then you can attach one to the other. This class is similar to IWrapper, but allows attaching to more than one object by subsequent calls to attach.

Definition at line 67 of file Wrapper.h.

Public Member Functions

virtual ~IMultipleWrapper ()
 Destructor. More...
 
virtual bool attachAll (const PolyDriverList &p)=0
 Attach to a list of objects. More...
 
virtual bool detachAll ()=0
 Detach the object (you must have first called attach). More...
 

Constructor & Destructor Documentation

◆ ~IMultipleWrapper()

virtual yarp::dev::IMultipleWrapper::~IMultipleWrapper ( )
inlinevirtual

Destructor.

Definition at line 73 of file Wrapper.h.

Member Function Documentation

◆ attachAll()

◆ detachAll()


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