30 IDevice() : m_DeviceOpened(
false) {}
40 virtual bool open() = 0;
45 virtual void close() = 0;
50 inline bool isOpened() {
return m_DeviceOpened; }
78 std::string filterAsString;
88 virtual bool setFilter(std::string filterAsString) = 0;
98 #endif // PCAPPP_DEVICE virtual bool setFilter(GeneralFilter &filter)
Definition: Device.h:76
Definition: PointerVector.h:24
PointerVector< RawPacket > RawPacketVector
Definition: Device.h:17
virtual bool clearFilter()=0
bool isOpened()
Definition: Device.h:50
Definition: PcapFilter.h:72
virtual void parseToString(std::string &result)=0
The main namespace for the PcapPlusPlus lib.