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
52 virtual bool open(
const std::string& name) = 0;
65 virtual bool open(
const Contact& contact,
bool registerName =
true) = 0;
73 virtual bool addOutput(
const std::string& name) = 0;
83 virtual bool addOutput(
const std::string& name,
const std::string& carrier) = 0;
126 virtual std::string getName()
const;
319#ifndef YARP_NO_DEPRECATED
336 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...
An interface to the operating system, including Port based communication.
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.