8#ifndef ERECO_EVENT_SAMPLER_H
9#define ERECO_EVENT_SAMPLER_H
13#include <daq/rfarm/manager/RFConf.h>
14#include <daq/rfarm/manager/RFProcessManager.h>
15#include <daq/rfarm/manager/RFLogManager.h>
16#include <daq/rfarm/manager/RFServerBase.h>
18#include <framework/pcore/RingBuffer.h>
22#define MAXEVTSIZE 80000000
29 class ERecoEventSampler :
public RFServerBase {
31 explicit ERecoEventSampler(
const std::string& conffile);
37 ERecoEventSampler&
operator=(
const ERecoEventSampler&) =
delete;
40 int Configure(
NSMmsg*, NSMcontext*)
override;
41 int UnConfigure(
NSMmsg*, NSMcontext*)
override;
42 int Start(
NSMmsg*, NSMcontext*)
override;
43 int Stop(
NSMmsg*, NSMcontext*)
override;
50 std::string m_conffile;
ERecoEventSampler(const ERecoEventSampler &)=delete
Copy constructor (disabled).
ERecoEventSampler & operator=(const ERecoEventSampler &)=delete
Operator = (disabled).
Class to manage a Ring Buffer placed in an IPC shared memory.
Abstract base class for different kinds of events.