6#ifndef YARP_OS_ABSTRACTCONTACTABLE_H
7#define YARP_OS_ABSTRACTCONTACTABLE_H
38 bool open(
const std::string& name)
override;
41 bool open(
const Contact& contact,
bool registerName =
true)
override;
44 bool addOutput(
const std::string& name)
override;
47 bool addOutput(
const std::string& name,
const std::string& carrier)
override;
50 bool addOutput(
const Contact& contact)
override;
53 void close()
override;
56 void interrupt()
override;
59 void resume()
override;
65 std::string getName()
const override;
68 bool setEnvelope(
PortWriter& envelope)
override;
71 bool getEnvelope(
PortReader& envelope)
override;
74 int getInputCount()
override;
77 int getOutputCount()
override;
86 void resetReporter()
override;
89 bool isWriting()
override;
95 void setAdminReader(
PortReader& reader)
override;
104 void setRpcMode(
bool expectRpc)
override;
107 Type getType()
override;
110 void promiseType(
const Type&
typ)
override;
116 void releaseProperties(
Property* prop)
override;
120 const PortWriter* callback =
nullptr)
const override;
125 const PortWriter* callback =
nullptr)
const override;
128 bool read(
PortReader& reader,
bool willReply =
false)
override;
134 bool replyAndDrop(
PortWriter& writer)
override;
137 void includeNodeInName(
bool flag)
override;
140 bool setCallbackLock(std::mutex* mutex =
nullptr)
override;
143 bool removeCallbackLock()
override;
146 bool lockCallback()
override;
149 bool tryLockCallback()
override;
152 void unlockCallback()
override;
A mini-server for performing network communication in the background.
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 mini-server for network communication.
A class for storing options and configuration information.
An interface to the operating system, including Port based communication.