ANNA Suite  2020b
Multipurpose development suite for Telco applications
CounterRecorder.hpp
Go to the documentation of this file.
1 // ANNA - Anna is Not Nothingness Anymore //
2 // //
3 // (c) Copyright 2005-2015 Eduardo Ramos Testillano & Francisco Ruiz Rayo //
4 // //
5 // See project site at http://redmine.teslayout.com/projects/anna-suite //
6 // See accompanying file LICENSE or copy at http://www.teslayout.com/projects/public/anna.LICENSE //
7 
8 
9 #ifndef anna_core_oam_CounterRecorder_hpp
10 #define anna_core_oam_CounterRecorder_hpp
11 
12 #include <string>
13 
15 
16 namespace anna {
17 
18 namespace oam {
19 
20 class Counter;
21 
29 public:
33  virtual void open() noexcept(false) = 0;
34 
40  virtual void apply(const Counter& counter) noexcept(false) = 0;
41 
45  virtual void close() = 0;
46 
51  virtual std::string asString() const = 0;
52 };
53 
54 }
55 }
56 
57 #endif
58 
virtual void apply(const Counter &counter) noexcept(false)=0
virtual void open() noexcept(false)=0
unsigned int Counter
Definition: defines.hpp:20
virtual void close()=0
Definition: Counter.hpp:25
Definition: CounterRecorder.hpp:28
Definition: app.hpp:12
virtual std::string asString() const =0