25 IDevice() : m_DeviceOpened(
false)
42 return m_DeviceOpened;
65 std::string filterAsString;
75 virtual bool setFilter(std::string filterAsString) = 0;
Definition: PcapFilter.h:134
virtual void parseToString(std::string &result)=0
bool isOpened()
Definition: Device.h:40
virtual void close()=0
Close the device.
virtual bool clearFilter()=0
virtual bool setFilter(std::string filterAsString)=0
virtual bool setFilter(GeneralFilter &filter)
Definition: Device.h:63
Definition: PointerVector.h:50
The main namespace for the PcapPlusPlus lib.
PointerVector< RawPacket > RawPacketVector
A vector of pointers to RawPacket.
Definition: Device.h:14