commore  1.0.6-SNAPSHOT
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SHMListenerSender.cpp File Reference
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <ctype.h>
#include <assert.h>
#include <algorithm>
#include "../AutoRef.h"
#include "../Listener.h"
#include "../Sender.h"
#include "../Error.h"
#include "../Tuple.h"
#include "../GlobVar.h"
#include "System.h"
#include "commore/Thread.h"
#include "SharedMemory.h"
#include "../CriticalSection.h"
#include "../CommBuffer.h"
#include "../IOBStream.h"

Classes

struct  MemoryBuffer
 
class  SHMPipe
 
class  SHMConnectionServer
 
class  SHMConnectionClient
 
class  SHMListener
 
class  SHMSender
 
class  ListenerFactorySHM
 
class  SenderFactorySHM
 

Namespaces

 commore
 

Typedefs

typedef AutoRef
< SHMConnectionServer
PSHMConnectionServer
 
typedef AutoRef
< SHMConnectionClient
PSHMConnectionClient
 

Enumerations

enum  { NO_TIMEOUT_VALUE = -1 }
 

Functions

 CMR_FILE_DECLARE ()
 
size_t make_shm_size (size_t size)
 
bool check_pid (unsigned int pid)
 
int commore::enable_shm ()
 

Variables

const size_t CMR_IPC_FILE_MAP_SIZE = 1024
 

Typedef Documentation

Enumeration Type Documentation

anonymous enum
Enumerator
NO_TIMEOUT_VALUE 

Function Documentation

bool check_pid ( unsigned int  pid)
CMR_FILE_DECLARE ( )
size_t make_shm_size ( size_t  size)

Variable Documentation

const size_t CMR_IPC_FILE_MAP_SIZE = 1024