10 #ifndef YARP_OS_CONTACTABLE_H
11 #define YARP_OS_CONTACTABLE_H
18 #ifndef YARP_NO_DEPRECATED
19 #define YARP_INCLUDING_DEPRECATED_HEADER_ON_PURPOSE
21 #undef YARP_INCLUDING_DEPRECATED_HEADER_ON_PURPOSE
56 virtual bool open(
const std::string& name) = 0;
69 virtual bool open(
const Contact& contact,
bool registerName =
true) = 0;
77 virtual bool addOutput(
const std::string& name) = 0;
87 virtual bool addOutput(
const std::string& name,
const std::string& carrier) = 0;
130 virtual std::string getName()
const;
321 #ifndef YARP_NO_DEPRECATED
338 virtual
bool setCallbackLock(
yarp::os::
Mutex* mutex) = 0;
Basic wrapper for mutual exclusion.
Interface implemented by all objects that can read themselves from the network, such as Bottle object...
A base class for objects that want information about port status changes.
Interface implemented by all objects that can write themselves to the network, such as Bottle objects...
A class for storing options and configuration information.
#define YARP_DEPRECATED_MSG(MSG)
Expands to either the standard [[deprecated]] attribute or a compiler-specific decorator such as __at...
The main, catch-all namespace for YARP.
#define YARP_WARNING_POP
Ends a temporary alteration of the enabled warnings.
#define YARP_WARNING_PUSH
Starts a temporary alteration of the enabled warnings.
#define YARP_DISABLE_DEPRECATED_WARNING
Disable deprecated warnings in the following code.