X-Git-Url: https://git.teslayout.com/public/public/public/?a=blobdiff_plain;f=include%2Fanna%2Ftest%2FControl.hpp;h=6d366ec2da6617fb08019d8c01dad6d98640d929;hb=f34b8069233e9e09208339bb79d8576c1ff962e1;hp=81c08af8e21b720d6f39c6731ff3e8298e72d8e2;hpb=93366a0bda79e6fd6e7dad6316bfcf8cc82f5731;p=anna.git diff --git a/include/anna/test/Control.hpp b/include/anna/test/Control.hpp index 81c08af..6d366ec 100644 --- a/include/anna/test/Control.hpp +++ b/include/anna/test/Control.hpp @@ -34,19 +34,19 @@ class Control : public Mutex { public: Control (comm::Communicator* engine); - void setDelay (const Millisecond delay) throw () { a_delay = delay; } - void setMaxMessage (const int maxMessage) throw () { a_maxMessage = maxMessage; } + void setDelay (const Millisecond delay) { a_delay = delay; } + void setMaxMessage (const int maxMessage) { a_maxMessage = maxMessage; } - int getMaxMessage () const throw () { return a_maxMessage; } + int getMaxMessage () const { return a_maxMessage; } - bool canContinue (const comm::socket::Client& clientSocket) throw (RuntimeException); - void delay () throw (RuntimeException); - Millisecond latency (const Millisecond& init) throw (RuntimeException); + bool canContinue (const comm::socket::Client& clientSocket) noexcept(false); + void delay () noexcept(false); + Millisecond latency (const Millisecond& init) noexcept(false); - void report () throw (); - void stop () throw (RuntimeException); + void report () ; + void stop () noexcept(false); - xml::Node* asXML (xml::Node* parent) throw (); + xml::Node* asXML (xml::Node* parent) ; private: comm::Communicator& a_engine;