Allow to log statistics samples as a event operation
[anna.git] / example / diameter / launcher / Launcher.hpp
index af8a07a..dcc684d 100644 (file)
@@ -59,6 +59,7 @@ class Launcher : public anna::comm::Application {
 
   // Start time:
   anna::time::Date a_start_time;
+  std::string a_initialWorkingDirectory;
 
   // Core engines:
   MyCommunicator *a_communicator;
@@ -77,11 +78,16 @@ class Launcher : public anna::comm::Application {
 
   const anna::Millisecond &getADMLMinResolution() const throw() { return a_admlMinResolution; }
 
+  std::string getSignalUSR2InputFile() const throw();
+  std::string getSignalUSR2OutputFile() const throw();
+
   void servicesFromXML(const anna::xml::Node* servicesNode, bool eventOperation) throw(anna::RuntimeException);
   anna::Millisecond checkTimeMeasure(const std::string &parameter, const std::string &value) throw(anna::RuntimeException);
   void initialize() throw(anna::RuntimeException); // HTTP
   void run() throw(anna::RuntimeException);
 
+
+
 public:
   Launcher();
   //~Launcher(); TODO
@@ -106,6 +112,8 @@ public:
   MyCommunicator *getCommunicator() throw() { return a_communicator; }
   void eventOperation(const std::string &, std::string &) throw(anna::RuntimeException);
   void forceCountersRecord() throw(anna::RuntimeException) { if (a_counterRecorderClock) a_counterRecorderClock->tick(); }
+  void logStatisticsSamples(const std::string &conceptsList) throw();
+
 
   anna::xml::Node* asXML(anna::xml::Node* parent) const throw();
   void resetStatistics() throw();