DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
AddressTable.cpp
Go to the documentation of this file.
3#include <boost/algorithm/string/case_conv.hpp> //to_upper
4#include <boost/regex.hpp> //regex
5#include <boost/tokenizer.hpp> //tokenizer
6#include <fstream>
7#include <stdlib.h> //strtoul & getenv
8
9AddressTable::AddressTable(std::string const& addressTableName, std::string const& deviceAddress, uint16_t offset)
10{
11 fileLevel = 0;
12 io = new BNL_UDP;
13 io->Setup(deviceAddress, offset);
14 io->SetWriteAck(true);
15 LoadFile(addressTableName);
16}
void LoadFile(std::string const &, std::string const &prefix="", uint16_t offset=0)
BNL_UDP * io
void SetWriteAck(bool val)
Definition BNL_UDP.hh:22
void Setup(std::string const &address, uint16_t port_offset=0)
Definition BNL_UDP.cpp:104
double offset