Line data Source code
1 : #include "wibmod/WIB1/AddressTable.hh"
2 : #include "wibmod/WIB1/AddressTableException.hh"
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 :
9 0 : AddressTable::AddressTable(std::string const& addressTableName, std::string const& deviceAddress, uint16_t offset)
10 : {
11 0 : fileLevel = 0;
12 0 : io = new BNL_UDP;
13 0 : io->Setup(deviceAddress, offset);
14 0 : io->SetWriteAck(true);
15 0 : LoadFile(addressTableName);
16 0 : }
|