19 #ifndef Vendor_Specific_Action_H
20 #define Vendor_Specific_Action_H
24 #include "ns3/header.h"
25 #include "ns3/packet.h"
26 #include "ns3/pointer.h"
27 #include "ns3/attribute.h"
28 #include "ns3/attribute-helper.h"
29 #include "ns3/address.h"
34 class VendorSpecificContentManager;
188 virtual void Print (std::ostream &os)
const;
246 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
uint32_t GetSerializedSize(void) const
Get serialized size.
OrganizationIdentifier & operator=(const OrganizationIdentifier &oi)
Assignment operator.
friend std::ostream & operator<<(std::ostream &os, const OrganizationIdentifier &oi)
output operator
OrganizationIdentifier(void)
enum OrganizationIdentifierType m_type
OI type.
enum OrganizationIdentifierType GetType(void) const
void Serialize(Buffer::Iterator start) const
Serialize to buffer.
virtual ~OrganizationIdentifier(void)
friend bool operator<(const OrganizationIdentifier &a, const OrganizationIdentifier &b)
less than operator
uint32_t Deserialize(Buffer::Iterator start)
Deserialize from buffer.
uint8_t GetManagementId(void) const
uint8_t m_oi[5]
organization identifier
friend bool operator==(const OrganizationIdentifier &a, const OrganizationIdentifier &b)
equality operator
void SetType(enum OrganizationIdentifierType type)
a unique identifier for an interface.
VendorSpecificContentManager class.
void RegisterVscCallback(OrganizationIdentifier oi, VscCallback cb)
std::map< OrganizationIdentifier, VscCallback > VscCallbacks
VSC callback typedef.
bool IsVscCallbackRegistered(OrganizationIdentifier &oi)
VendorSpecificContentManager(void)
VscCallback FindVscCallback(OrganizationIdentifier &oi)
std::map< OrganizationIdentifier, VscCallback >::iterator VscCallbacksI
VSC callback iterator typedef.
void DeregisterVscCallback(OrganizationIdentifier &oi)
VscCallbacks m_callbacks
VSC callbacks.
virtual ~VendorSpecificContentManager(void)
#define ATTRIBUTE_HELPER_HEADER(type)
Declare the attribute value, accessor and checkers for class type
Every class exported by the ns3 library is enclosed in the ns3 namespace.
static std::vector< OrganizationIdentifier > OrganizationIdentifiers
the OIs
bool operator==(const EventId &a, const EventId &b)
bool operator<(const EventId &a, const EventId &b)
bool operator!=(Callback< R, T1, T2, T3, T4, T5, T6, T7, T8, T9 > a, Callback< R, T1, T2, T3, T4, T5, T6, T7, T8, T9 > b)
Inequality test.
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