10 #ifndef YARP_OS_IMPL_PORTCOREADAPTER_H
11 #define YARP_OS_IMPL_PORTCOREADAPTER_H
17 #ifndef YARP_NO_DEPRECATED
18 #define YARP_INCLUDING_DEPRECATED_HEADER_ON_PURPOSE
20 #undef YARP_INCLUDING_DEPRECATED_HEADER_ON_PURPOSE
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
89 #ifndef YARP_NO_DEPRECATED
An interface for reading from a network connection.
Basic wrapper for mutual exclusion.
Interface implemented by all objects that can read themselves from the network, such as Bottle object...
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 thread synchronization and mutual exclusion.
PortReaderCreator * checkReadCreator()
void includeNodeInName(bool flag)
void configWaitAfterSend(bool waitAfterSend)
void configReadCreator(PortReaderCreator &creator)
void configAdminReader(PortReader &reader)
bool configCallbackLock(Mutex *lock)
bool reply(PortWriter &writer, bool drop, bool interrupted)
PortReader * checkAdminPortReader()
std::mutex * recCallbackLock
yarp::os::Mutex * old_recCallbackLock
PortReader * checkPortReader()
PortCoreAdapter(Port &owner)
bool unconfigCallbackLock()
void configReader(PortReader &reader)
void setOpen(bool opened)
bool read(ConnectionReader &reader) override
Callback for data.
#define YARP_DEPRECATED
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.