#include #include #include #include "JAcoustics/JEmitterID.hh" #include "Jeep/JParser.hh" #include "Jeep/JMessage.hh" /** * Test application for emitter identification. */ int main(int argc, char **argv) { using namespace std; using namespace JPP; int id; string waveforms; int debug; try { JParser<> zap("Test application for emitter identification."); zap['D'] = make_field(id); zap['W'] = make_field(getEmitterID) = JPARSER::initialised(); zap['d'] = make_field(debug) = 3; zap(argc, argv); } catch(const exception &error) { FATAL(error.what() << endl); } cout << getEmitterID(id) << endl; return 0; }