DAQpp::Event Class Reference
[Monitoring tools]

class Event. More...

#include <Monitor.h>

List of all members.

Public Member Functions

 Event (int s, const char *d)
 Event (const Event &e)
Eventoperator= (const Event &e)
 Asignment operator.
 ~Event ()
int size () const
 Returns the size of the data.
const char * data () const
 A pointr to the data buffer.
void * operator new (size_t)
 new is overloaded
void operator delete (void *)
 overloaded new operator

Private Member Functions

void cpy (const Event &e)
 used internally to implement copy, construction and assignment
void free_data ()

Private Attributes

int _size
 size of the buffer
char * _data
 pointer to the buffer

Static Private Attributes

static std::allocator< Eventevent_allocator
 The event allocator.
static std::allocator< char > data_allocator
 The data allocator.

Detailed Description

class Event.

The event class is just a buffer where the data of a given event can be stored. It is in fact the class that Monitor will use to build the buffer of event that can be used to monitor the run.

Carlos Lacasta

Member Function Documentation

void DAQpp::Event::operator delete ( void *  anEvent  )  [inline]

overloaded new operator

delete is overloaded

References event_allocator.

The documentation for this class was generated from the following files:

Generated on Mon Apr 21 10:00:04 2008 for DAQ++ by  doxygen 1.5.5