8 #include "circ/Circservice.h"
10 #include "MuCalDecode/CalibEvent.h"
11 #include "MuCalDecode/CalibUti.h"
16 : m_port (port), m_bufferName (buffer_name), m_bufferSize (buffer_size)
20 writable.push_back(
'\0');
32 std::vector<char> writable(m_bufferName.begin(), m_bufferName.end());
33 writable.push_back(
'\0');
35 CircCloseCircConnection_t (m_port, &*writable.begin() , m_cid);
45 if ((
ptr = CircReserve_t (m_cid, event_size )) != (
char *) -1)
48 int bufsize =
event.dumpWords (
buff, event_size);
50 (void) CircValidate_t (m_cid,
ptr, bufsize);