1 #ifndef __JACOUSTICS__JSUPEREVT__ 
    2 #define __JACOUSTICS__JSUPEREVT__ 
   24 namespace JACOUSTICS {}
 
   25 namespace JPP { 
using namespace JACOUSTICS; }
 
   27 namespace JACOUSTICS {
 
  104         out << 
object.counter;
 
  153         in >> 
object.counter;
 
  173         out << 
object.counter;
 
  174         out << 
object.string;
 
  177         out << 
object.weight;
 
  207       out << static_cast<const JEvt&>(event);
 
  209       for (JSuperEvt::tx_type::const_iterator 
i = event.
tx.begin(); 
i != 
event.tx.end(); ++
i) {
 
  210         out << setw(2)     << 
i->id       << 
' ' 
  211             << setw(6)     << 
i->counter  << 
' ' 
  212             << 
FIXED(20,6) << 
i->toe      << endl;
 
  215       for (JSuperEvt::rx_type::const_iterator 
i = event.
rx.begin(); 
i != 
event.rx.end(); ++
i) {
 
  216         out << setw(2)     << 
i->id       << 
' ' 
  217             << setw(6)     << 
i->counter  << 
' ' 
  218             << setw(4)     << 
i->string   << 
' ' 
  219             << setw(2)     << 
i->floor    << 
' ' 
  220             << 
FIXED(20,6) << 
i->toa      << 
' ' 
  221             << 
FIXED( 5,2) << 
i->weight   << endl;
 
Interface for binary output. 
 
rx_t(const int id, const int counter, const int string, const int floor, const double toa, const double weight)
 
friend std::ostream & operator<<(std::ostream &out, const JSuperEvt &event)
Write super event to output. 
 
friend JWriter & operator<<(JWriter &out, const rx_t &object)
Write transmission to output. 
 
Auxiliary data structure for floating point format specification. 
 
ClassDefOverride(JSuperEvt, 1)
 
virtual JWriter & write(JWriter &out) const override
Write to output. 
 
Forward declaration of binary output. 
 
friend JWriter & operator<<(JWriter &out, const tx_t &object)
Write emission to output. 
 
tx_t(const int id, const int counter, const double toe)
 
friend JReader & operator>>(JReader &in, tx_t &object)
Read emission from input. 
 
Interface for binary input. 
 
JSuperEvt()
Default constructor. 
 
Acoustic super event fit. 
 
std::vector< rx_t > rx_type
 
then fatal Wrong number of arguments fi set_variable DETECTOR $argv[1] set_variable INPUT_FILE $argv[2] eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY JAcoustics sh $DETECTOR_ID source JAcousticsToolkit sh CHECK_EXIT_CODE typeset A EMITTERS get_tripods $WORKDIR tripod txt EMITTERS get_transmitters $WORKDIR transmitter txt EMITTERS for EMITTER in
 
virtual JWriter & write(JWriter &out) const override
Write to output. 
 
virtual JReader & read(JReader &in) override
Read from input. 
 
friend JReader & operator>>(JReader &in, rx_t &object)
Read transmission from input. 
 
JSuperEvt(const JEvt &event)
Constructor. 
 
std::vector< tx_t > tx_type
 
STD extensions for binary I/O. 
 
virtual JReader & read(JReader &in) override
Read from input.