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