X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=include%2Fanna%2Ftest%2FControl.hpp;h=6d366ec2da6617fb08019d8c01dad6d98640d929;hp=81c08af8e21b720d6f39c6731ff3e8298e72d8e2;hb=5a6cba5fde2b2f538a7515f8293cc0a8d9589dfa;hpb=af9c86ffb0e28d35ad94d99c5f77e41578c972b4 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;