63 bool open(
const std::string& name)
override;
66 bool open(
const Contact& contact,
bool registerName =
true)
override;
71 bool sharedOpen(
Port& port);
82 bool openFake(
const std::string& name);
85 bool addOutput(
const std::string& name)
override;
88 bool addOutput(
const std::string& name,
const std::string& carrier)
override;
91 bool addOutput(
const Contact& contact)
override;
94 void close()
override;
97 void interrupt()
override;
100 void resume()
override;
103 Contact where()
const override;
107 const PortWriter* callback =
nullptr)
const override;
112 const PortWriter* callback =
nullptr)
const override;
115 bool read(
PortReader& reader,
bool willReply =
false)
override;
121 bool replyAndDrop(
PortWriter& writer)
override;
127 void setAdminReader(
PortReader& reader)
override;
150 bool isWriting()
override;
153 bool setEnvelope(
PortWriter& envelope)
override;
156 bool getEnvelope(
PortReader& envelope)
override;
159 int getInputCount()
override;
162 int getOutputCount()
override;
165 void getReport(
PortReport& reporter)
override;
168 void setReporter(
PortReport& reporter)
override;
171 void resetReporter()
override;
182 void setAdminMode(
bool adminMode =
true);
191 void setRpcMode(
bool expectRpc)
override;
203 bool setTimeout(
float timeout);
206 Type getType()
override;
209 void promiseType(
const Type&
typ)
override;
215 void releaseProperties(
Property* prop)
override;
223 bool setCallbackLock(std::mutex* mutex =
nullptr)
override;
226 bool removeCallbackLock()
override;
229 bool lockCallback()
override;
232 bool tryLockCallback()
override;
235 void unlockCallback()
override;
241 void* needImplementation()
const;
243 bool open(
const Contact& contact,
RandScalar * implementation(void *t)
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.