-class TRAFFCOUNTER {
-public:
- virtual ~TRAFFCOUNTER() {}
- virtual void Process(const RAW_PACKET & rawPacket) = 0;
- virtual size_t RulesCount() const = 0;
+namespace STG
+{
+
+struct RawPacket;
+
+struct TraffCounter {
+ virtual ~TraffCounter() = default;
+
+ virtual void process(const RawPacket& rawPacket) = 0;
+ virtual size_t rulesCount() const = 0;