18 #ifndef Vendor_Specific_Action_H
19 #define Vendor_Specific_Action_H
21 #include "ns3/address.h"
22 #include "ns3/attribute-helper.h"
23 #include "ns3/attribute.h"
24 #include "ns3/header.h"
25 #include "ns3/packet.h"
26 #include "ns3/pointer.h"
35 class VendorSpecificContentManager;
189 void Print(std::ostream& os)
const override;
252 typedef std::map<OrganizationIdentifier, VscCallback>::iterator
VscCallbacksI;
a polymophic address class
iterator in a Buffer instance
the organization identifier is a public organizationally unique identifier assigned by the IEEE.
friend bool operator!=(const OrganizationIdentifier &a, const OrganizationIdentifier &b)
inequality operator
OrganizationIdentifierType
OrganizationIdentifierType enumeration.
friend std::istream & operator>>(std::istream &is, const OrganizationIdentifier &oi)
input operator
OrganizationIdentifier & operator=(const OrganizationIdentifier &oi)
Assignment operator.
friend std::ostream & operator<<(std::ostream &os, const OrganizationIdentifier &oi)
output operator
uint32_t GetSerializedSize() const
Get serialized size.
void Serialize(Buffer::Iterator start) const
Serialize to buffer.
friend bool operator<(const OrganizationIdentifier &a, const OrganizationIdentifier &b)
less than operator
virtual ~OrganizationIdentifier()
uint32_t Deserialize(Buffer::Iterator start)
Deserialize from buffer.
OrganizationIdentifierType GetType() const
uint8_t m_oi[5]
organization identifier
OrganizationIdentifierType m_type
OI type.
friend bool operator==(const OrganizationIdentifier &a, const OrganizationIdentifier &b)
equality operator
void SetType(OrganizationIdentifierType type)
uint8_t GetManagementId() const
a unique identifier for an interface.
VendorSpecificContentManager class.
void RegisterVscCallback(OrganizationIdentifier oi, VscCallback cb)
bool IsVscCallbackRegistered(OrganizationIdentifier &oi)
VscCallback FindVscCallback(OrganizationIdentifier &oi)
virtual ~VendorSpecificContentManager()
std::map< OrganizationIdentifier, VscCallback >::iterator VscCallbacksI
VSC callback iterator typedef.
void DeregisterVscCallback(OrganizationIdentifier &oi)
std::map< OrganizationIdentifier, VscCallback > VscCallbacks
VSC callback typedef.
VscCallbacks m_callbacks
VSC callbacks.
VendorSpecificContentManager()
Every class exported by the ns3 library is enclosed in the ns3 namespace.
static std::vector< OrganizationIdentifier > OrganizationIdentifiers
the OIs
bool operator!=(Callback< R, Args... > a, Callback< R, Args... > b)
Inequality test.
bool operator==(const EventId &a, const EventId &b)
ATTRIBUTE_HELPER_HEADER(ValueClassTest)
bool operator<(const EventId &a, const EventId &b)
std::istream & operator>>(std::istream &is, Angles &a)
std::ostream & operator<<(std::ostream &os, const Angles &a)
Callback< bool, Ptr< WifiMac >, const OrganizationIdentifier &, Ptr< const Packet >, const Address & > VscCallback
static const uint8_t CATEGORY_OF_VSA
see IEEE 802.11-2007 chapter 7.3.1.11 Table 7-24—Category values