Belle II Software development
createrb.cc
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#include <string>
9
10#include <stdio.h>
11#include <stdlib.h>
12
13#include "framework/pcore/RingBuffer.h"
14
15#define RBUFSIZE 100000000
16#define MAXEVTSIZE 400000000
17
18using namespace Belle2;
19using namespace std;
20
21int main(int argc, char** argv)
22{
23 if (argc < 2) {
24 printf("createrb : rbufname \n");
25 exit(-1);
26 }
27 new RingBuffer(argv[1], RBUFSIZE);
28}
29
30
31
Class to manage a Ring Buffer placed in an IPC shared memory.
Definition: RingBuffer.h:39
Abstract base class for different kinds of events.
STL namespace.