7 #ifndef YARP_OS_CONTACTABLE_H
8 #define YARP_OS_CONTACTABLE_H
15 #ifndef YARP_NO_DEPRECATED
16 #define YARP_INCLUDING_DEPRECATED_HEADER_ON_PURPOSE
18 #undef YARP_INCLUDING_DEPRECATED_HEADER_ON_PURPOSE
53 virtual bool open(
const std::string& name) = 0;
66 virtual bool open(
const Contact& contact,
bool registerName =
true) = 0;
74 virtual bool addOutput(
const std::string& name) = 0;
84 virtual bool addOutput(
const std::string& name,
const std::string& carrier) = 0;
127 virtual std::string getName()
const;
320 #ifndef YARP_NO_DEPRECATED
337 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.