1
#pragma once
2

            
3
#include "event2/event_struct.h"
4

            
5
namespace Envoy {
6
namespace Event {
7

            
8
/**
9
 * Base class for libevent event implementations. The event struct is embedded inside of this class
10
 * and derived classes are expected to assign it inside of the constructor.
11
 */
12
class ImplBase {
13
protected:
14
  ~ImplBase();
15

            
16
  event raw_event_;
17
};
18

            
19
} // namespace Event
20
} // namespace Envoy