Belle II Software
development
Rb2Sock.h
1
/**************************************************************************
2
* basf2 (Belle II Analysis Software Framework) *
3
* Author: The Belle II Collaboration *
4
* *
5
* See git log for contributors and copyright holders. *
6
* This file is licensed under LGPL-3.0, see LICENSE.md. *
7
**************************************************************************/
8
#pragma once
9
10
#include <string>
11
12
#include "framework/pcore/RingBuffer.h"
13
#include "daq/dataflow/EvtSocket.h"
14
15
#define RBUFSIZE 100000000
16
17
namespace
Belle2
{
23
class
Rb2Sock
{
24
public
:
26
Rb2Sock
(std::string rbuf, std::string dest,
int
port);
27
~Rb2Sock
(
void
);
28
30
int
SendEvent
(
void
);
31
32
private
:
33
RingBuffer
* m_rbuf;
34
EvtSocketSend
* m_sock;
35
char
* m_evtbuf;
36
37
};
38
40
}
Belle2::EvtSocketSend
Definition:
EvtSocket.h:26
Belle2::Rb2Sock
Definition:
Rb2Sock.h:23
Belle2::Rb2Sock::SendEvent
int SendEvent(void)
Event function.
Definition:
Rb2Sock.cc:31
Belle2::RingBuffer
Class to manage a Ring Buffer placed in an IPC shared memory.
Definition:
RingBuffer.h:39
Belle2
Abstract base class for different kinds of events.
Definition:
MillepedeAlgorithm.h:17
daq
rfarm
event
include
Rb2Sock.h
Generated on Fri Nov 8 2024 02:35:23 for Belle II Software by
1.9.6