CARMA C++
IPQbasicTypeFileBuffer.h
Go to the documentation of this file.
1 
6 #ifndef CARMA_UTIL_IPQBASICTYPEFILEBUFFER_H
7 #define CARMA_UTIL_IPQBASICTYPEFILEBUFFER_H
8 
10 
11 namespace carma {
12  namespace util {
13 
23  public:
24 
37  IPQbasicTypeFileBuffer( void * localElement,
38  int elementSize,
39  const std::string & filename,
40  bool isCreator = false,
41  int nElements = 0 );
42 
46  virtual ~IPQbasicTypeFileBuffer( );
47 
50  };
51 
52  } // End of namespace util
53 } // End of namespace carma
54 #endif // CARMA_UTIL_IPQBASICTYPEFILEBUFFER_H
carma::util::IPQfileBuffer classes for basic types.
virtual ~IPQbasicTypeFileBuffer()
Destructor.
IPQbasicTypeFileBuffer(void *localElement, int elementSize, const std::string &filename, bool isCreator=false, int nElements=0)
Constructor.
IPQ (InterProcessQueue) provides a generic way for information to be shared between processes or thre...
unsigned int read()
Read the oldest unread element from the queue.
Shared memory storage mechanism.
Definition: IPQfileBuffer.h:29
void write()
Put an element into the queue.