|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
10 #ifndef YARP_OS_IMPL_PORTCOREADAPTER_H
11 #define YARP_OS_IMPL_PORTCOREADAPTER_H
17 #ifndef YARP_NO_DEPRECATED // Since YARP 3.3
18 #define YARP_INCLUDING_DEPRECATED_HEADER_ON_PURPOSE
20 #undef YARP_INCLUDING_DEPRECATED_HEADER_ON_PURPOSE
21 #endif // YARP_NO_DEPRECATED
33 std::mutex stateMutex;
39 bool readResult {
false };
40 bool readActive {
false };
41 bool readBackground {
false };
42 bool willReply {
false };
43 bool closed {
false };
44 bool opened {
false };
45 bool replyDue {
false };
46 bool dropDue {
false };
51 int recWaitAfterSend { -1 };
52 bool usedForRead {
false };
53 bool usedForWrite {
false };
54 bool usedForRpc {
false };
63 #ifndef YARP_NO_DEPRECATED // Since YARP 3.3
89 #ifndef YARP_NO_DEPRECATED // Since YARP 3.3
111 #endif // YARP_OS_IMPL_PORTCOREADAPTER_H
#define YARP_WARNING_PUSH
Starts a temporary alteration of the enabled warnings.
PortCoreAdapter(Port &owner)
A class for thread synchronization and mutual exclusion.
void configAdminReader(PortReader &reader)
std::mutex * recCallbackLock
PortReaderCreator * checkReadCreator()
#define YARP_DEPRECATED
Expands to either the standard [[deprecated]] attribute or a compiler-specific decorator such as __at...
void configReadCreator(PortReaderCreator &creator)
void setOpen(bool opened)
Interface implemented by all objects that can write themselves to the network, such as Bottle objects...
A mini-server for network communication.
Interface implemented by all objects that can read themselves from the network, such as Bottle object...
yarp::os::Mutex * old_recCallbackLock
bool read(ConnectionReader &reader) override
Callback for data.
#define YARP_WARNING_POP
Ends a temporary alteration of the enabled warnings.
bool unconfigCallbackLock()
An interface for reading from a network connection.
void includeNodeInName(bool flag)
PortReader * checkAdminPortReader()
The main, catch-all namespace for YARP.
Basic wrapper for mutual exclusion.
PortReader * checkPortReader()
bool configCallbackLock(Mutex *lock)
#define YARP_DISABLE_DEPRECATED_WARNING
Disable deprecated warnings in the following code.
void configWaitAfterSend(bool waitAfterSend)
void configReader(PortReader &reader)
bool reply(PortWriter &writer, bool drop, bool interrupted)