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;
180 virtual void Print (std::ostream &os)
const;
238 typedef std::map<OrganizationIdentifier,VscCallback>::iterator
VscCallbacksI;
std::istream & operator>>(std::istream &is, Angles &a)
initialize a struct Angles from input
virtual ~VendorSpecificContentManager(void)
void RegisterVscCallback(OrganizationIdentifier oi, VscCallback cb)
friend std::istream & operator>>(std::istream &is, const OrganizationIdentifier &oi)
input operator
VendorSpecificContentManager(void)
friend bool operator<(const OrganizationIdentifier &a, const OrganizationIdentifier &b)
less than operator
uint32_t Deserialize(Buffer::Iterator start)
Deserialize from buffer.
std::map< OrganizationIdentifier, VscCallback > VscCallbacks
VSC callback typedef.
OrganizationIdentifier(void)
enum OrganizationIdentifierType GetType(void) const
void SetType(enum OrganizationIdentifierType type)
iterator in a Buffer instance
a polymophic address class
void DeregisterVscCallback(OrganizationIdentifier &oi)
bool operator<(const EventId &a, const EventId &b)
uint8_t m_oi[5]
organization identifier
VscCallbacks m_callbacks
VSC callbacks.
VendorSpecificContentManager class.
uint8_t GetManagementId(void) const
friend bool operator==(const OrganizationIdentifier &a, const OrganizationIdentifier &b)
equality operator
the organization identifier is a public organizationally unique identifier assigned by the IEEE...
friend std::ostream & operator<<(std::ostream &os, const OrganizationIdentifier &oi)
output operator
std::ostream & operator<<(std::ostream &os, const Angles &a)
print a struct Angles to output
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.
Every class exported by the ns3 library is enclosed in the ns3 namespace.
Callback< bool, Ptr< WifiMac >, const OrganizationIdentifier &, Ptr< const Packet >, const Address & > VscCallback
bool IsVscCallbackRegistered(OrganizationIdentifier &oi)
virtual ~OrganizationIdentifier(void)
OrganizationIdentifier & operator=(const OrganizationIdentifier &oi)
assignment operator
VscCallback FindVscCallback(OrganizationIdentifier &oi)
static const uint8_t CATEGORY_OF_VSA
see IEEE 802.11-2007 chapter 7.3.1.11 Table 7-24—Category values
uint32_t GetSerializedSize(void) const
Get serialized size.
static std::vector< OrganizationIdentifier > OrganizationIdentifiers
the OIs
bool operator==(const EventId &a, const EventId &b)
OrganizationIdentifierType
OrganizationIdentifierType enumeration.
friend bool operator!=(const OrganizationIdentifier &a, const OrganizationIdentifier &b)
inequality operator
void Serialize(Buffer::Iterator start) const
Serialize to buffer.
a unique identifier for an interface.
#define ATTRIBUTE_HELPER_HEADER(type)
Declare the attribute value, accessor and checkers for class type.
enum OrganizationIdentifierType m_type
OI type.
std::map< OrganizationIdentifier, VscCallback >::iterator VscCallbacksI
VSC callback iterator typedef.