A Discrete-Event Network Simulator
API
Public Member Functions | Private Types | Private Attributes | List of all members
ns3::VendorSpecificContentManager Class Reference

VendorSpecificContentManager class. More...

#include "vendor-specific-action.h"

Public Member Functions

 VendorSpecificContentManager (void)
 
virtual ~VendorSpecificContentManager (void)
 
void DeregisterVscCallback (OrganizationIdentifier &oi)
 
VscCallback FindVscCallback (OrganizationIdentifier &oi)
 
bool IsVscCallbackRegistered (OrganizationIdentifier &oi)
 
void RegisterVscCallback (OrganizationIdentifier oi, VscCallback cb)
 

Private Types

typedef std::map< OrganizationIdentifier, VscCallbackVscCallbacks
 VSC callback typedef. More...
 
typedef std::map< OrganizationIdentifier, VscCallback >::iterator VscCallbacksI
 VSC callback iterator typedef. More...
 

Private Attributes

VscCallbacks m_callbacks
 VSC callbacks. More...
 

Detailed Description

VendorSpecificContentManager class.

Definition at line 205 of file vendor-specific-action.h.

Member Typedef Documentation

◆ VscCallbacks

VSC callback typedef.

Definition at line 236 of file vendor-specific-action.h.

◆ VscCallbacksI

VSC callback iterator typedef.

Definition at line 238 of file vendor-specific-action.h.

Constructor & Destructor Documentation

◆ VendorSpecificContentManager()

ns3::VendorSpecificContentManager::VendorSpecificContentManager ( void  )

Definition at line 341 of file vendor-specific-action.cc.

References NS_LOG_FUNCTION.

◆ ~VendorSpecificContentManager()

ns3::VendorSpecificContentManager::~VendorSpecificContentManager ( void  )
virtual

Definition at line 346 of file vendor-specific-action.cc.

References NS_LOG_FUNCTION.

Member Function Documentation

◆ DeregisterVscCallback()

void ns3::VendorSpecificContentManager::DeregisterVscCallback ( OrganizationIdentifier oi)
Parameters
oithe specific OrganizationIdentifier when receive management information by VendorSpecificAction management frame.

Definition at line 363 of file vendor-specific-action.cc.

References m_callbacks, and NS_LOG_FUNCTION.

Referenced by ns3::OcbWifiMac::RemoveReceiveVscCallback().

◆ FindVscCallback()

VscCallback ns3::VendorSpecificContentManager::FindVscCallback ( OrganizationIdentifier oi)
Parameters
oithe specific OrganizationIdentifier when receive management information by VendorSpecificAction management frame.
Returns
VscCallback

Definition at line 385 of file vendor-specific-action.cc.

References m_callbacks, NS_LOG_FUNCTION, and ns3::null_callback.

Referenced by ns3::OcbWifiMac::Receive().

◆ IsVscCallbackRegistered()

bool ns3::VendorSpecificContentManager::IsVscCallbackRegistered ( OrganizationIdentifier oi)
Parameters
oithe specific OrganizationIdentifier when receive management information by VendorSpecificAction management frame.
Returns
true if registered

Definition at line 370 of file vendor-specific-action.cc.

References m_callbacks, NS_LOG_FUNCTION, and ns3::OrganizationIdentifiers.

Referenced by RegisterVscCallback().

◆ RegisterVscCallback()

void ns3::VendorSpecificContentManager::RegisterVscCallback ( OrganizationIdentifier  oi,
VscCallback  cb 
)
Parameters
oithe specific OrganizationIdentifier when receive management information by VendorSpecificAction management frame.
cbthe receive callback when oi related management packets are received

Definition at line 352 of file vendor-specific-action.cc.

References IsVscCallbackRegistered(), m_callbacks, NS_LOG_FUNCTION, and NS_LOG_WARN.

Referenced by ns3::OcbWifiMac::AddReceiveVscCallback().

Member Data Documentation

◆ m_callbacks

VscCallbacks ns3::VendorSpecificContentManager::m_callbacks
private

The documentation for this class was generated from the following files: