9#include "daq/rfarm/event/Sock2Rb.h"
21 m_evtbuf =
new char[MAXEVTSIZE];
25Sock2Rb::~Sock2Rb(
void)
39 if (msg->
type() == MSG_TERMINATE) {
Class to manage streamed object.
int paddedSize() const
Same as size(), but as size of an integer array.
ERecordType type() const
Get record type.
char * buffer()
Get buffer address.
Class to manage a Ring Buffer placed in an IPC shared memory.
int insq(const int *buf, int size, bool checkTx=false)
Append a buffer to the RingBuffer.
int ReceiveEvent(void)
Event function.
Sock2Rb(std::string rbuf, int port)
Constuctor and Destructor.
Abstract base class for different kinds of events.