EpcTools
An event based multi-threaded C++ development framework.
Classes
eqbase.h File Reference

Provides base class support for sending and receiving messages via a message queue. More...

#include "ebase.h"
#include "eerror.h"
#include "esynch.h"
#include "etime.h"
#include "etimer.h"
#include "emsg.h"

Go to the source code of this file.

Classes

class  EQueueMessage
 Represents a message to be written to/read from a message queue. More...
 
class  EQueueBase
 The message queue base class. More...
 

Detailed Description

Provides base class support for sending and receiving messages via a message queue.

This custom FIFO message queue implementation stores the data in a buffer either allocated from the heap or from shared memory. The private queue, allocated from the heap, can be accessed by any thread in the same process, while the public queue, allocated from shared memory, can be accessed from any process running on the same machine. The EMessage class serializes/deserializes the data to/from the queue.