Belle II Software development
createshm.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
9#include <stdio.h>
10#include <stdlib.h>
11
12#include "daq/rfarm/manager/RFSharedMem.h"
13
14using namespace Belle2;
15using namespace std;
16
17int main(int argc, char** argv)
18{
19 if (argc < 2) {
20 printf("createrb : rbufname \n");
21 exit(-1);
22 }
23 new RFSharedMem(argv[1]); // returns shm
24}
25
26
27
Abstract base class for different kinds of events.
STL namespace.