YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
shmem Namespace Reference

Classes

class  NamedSemaphore
 A named inter-process semaphore. More...
 
class  SharedMemory
 A named shared memory segment. More...
 
class  Socket
 A minimal IPv4 TCP socket. More...
 

Functions

std::string objectName (const char *kind, int port, int index=-1)
 Build the name of a named inter-process object.
 

Function Documentation

◆ objectName()

std::string shmem::objectName ( const char *  kind,
int  port,
int  index = -1 
)

Build the name of a named inter-process object.

Parameters
kindthe kind of object (e.g. "data", "mtx", "sem")
portthe port used as a key for the connection
indexan optional index (ignored if negative)

Definition at line 135 of file ShmemPlatform.cpp.