YARP
Yet Another Robot Platform
Port.cpp File Reference
+ Include dependency graph for Port.cpp:

Go to the source code of this file.

Macros

#define IMPL()   (*reinterpret_cast<yarp::os::impl::PortCoreAdapter*>(needImplementation()))
 
#define SET_FLAG(implementation, mask, val)    IMPL().setFlags((IMPL().getFlags() & (~(mask))) + ((val) ? (mask) : 0))
 

Macro Definition Documentation

◆ IMPL

#define IMPL ( )    (*reinterpret_cast<yarp::os::impl::PortCoreAdapter*>(needImplementation()))

Definition at line 46 of file Port.cpp.

◆ SET_FLAG

#define SET_FLAG (   implementation,
  mask,
  val 
)     IMPL().setFlags((IMPL().getFlags() & (~(mask))) + ((val) ? (mask) : 0))

Definition at line 601 of file Port.cpp.