1 #ifndef KM3NET_AUDIO_CHANNEL_H_ 
    2 #define KM3NET_AUDIO_CHANNEL_H_ 
   12 #include <boost/asio.hpp> 
   13 #include <boost/bind.hpp> 
   14 #include <boost/function.hpp> 
   17 #include "toalib/km3_toa_lib.hpp" 
   21 typedef boost::shared_ptr<KM3::TOALIB::CTOAFinder::probeSignalT>    
pProbe;
 
   25 #define MAX_DUMP_SIZE 4194304 
   35                                                                                                                                                         std::string& debug_path,\
 
   41     void                                                                                        Append(real_type sample);
 
std::string debug_files_path_
 
void Set_test(uint32_t id)
 
static const int DEBUG_LEVEL
 
void Analysis(ToA_Packet packet, real_type *buffer, uint32_t length)
 
KM3::TOALIB::CTOAFinder finder_
 
callback_send_toa send_toa_
 
void Append(real_type sample)
 
std::vector< std::size_t > probes_id_
 
void Check_time(Audio_Header header)
 
void Add_probe(pProbe probe, std::size_t id, std::size_t threshold)
 
virtual ~KM3NeT_Audio_Channel()
 
std::map< std::size_t, std::size_t > thresholds_
 
KM3NeT_Audio_Channel(boost::asio::io_service &io_service, callback_send_toa callback, uint32_t id, std::string &debug_path, uint32_t window=STD_WINDOW, uint32_t overlap=STD_OVERLAP)
 
void Open_test_file(uint32_t id, uint8_t ch)
 
boost::shared_ptr< KM3::TOALIB::CTOAFinder::probeSignalT > pProbe
 
std::pair< std::size_t, std::size_t > threshold_entry
 
void Check_time(Audio_Header header)
 
boost::function< void(ToA_Packet packet)> callback_send_toa
 
boost::asio::io_service::strand strand_