11 #include <boost/asio.hpp>
12 #include <boost/bind.hpp>
13 #include <boost/shared_ptr.hpp>
17 #include "toalib/km3_toa_lib.hpp"
20 #define BSWAP_64(x) (((uint64_t)(x) << 56) |\
21 (((uint64_t)(x) << 40) & 0xff000000000000ULL) |\
22 (((uint64_t)(x) << 24) & 0xff0000000000ULL) |\
23 (((uint64_t)(x) << 8) & 0xff00000000ULL) |\
24 (((uint64_t)(x) >> 8) & 0xff000000ULL) |\
25 (((uint64_t)(x) >> 24) & 0xff0000ULL) |\
26 (((uint64_t)(x) >> 40) & 0xff00ULL) |\
27 ((uint64_t)(x) >> 56))
37 KM3NeT_DOM( boost::asio::io_service& io_service,\
65 typedef boost::shared_ptr<KM3NeT_DOM>
pDOM;
static const int DEBUG_LEVEL
KM3NeT_Audio_Channel ch_n1
void overlap(T p, T q, const double Tmax_s)
Empty overlapping events.
KM3NeT_DOM(boost::asio::io_service &io_service, callback_send_toa callback, std::string &debug_path, std::size_t window=STD_WINDOW, std::size_t overlap=STD_OVERLAP)
void Set_test(uint32_t id)
boost::asio::io_service::strand strand_
void Handle_samples_async(uint8_t *buffer, uint32_t length)
uint32_t audio_word_size_
void Check_time(Audio_Header header)
boost::shared_ptr< KM3NeT_DOM > pDOM
void Set_test(uint32_t id)
void Add_probe(pProbe probe, std::size_t id, std::size_t threshold)
void Handle_samples(uint8_t *buffer, uint32_t length)
void Check_time_async(Audio_Header header)
boost::shared_ptr< KM3::TOALIB::CTOAFinder::probeSignalT > pProbe
KM3NeT_Audio_Channel ch_n2
boost::function< void(ToA_Packet packet)> callback_send_toa