A Discrete-Event Network Simulator
API
ns3::VendorSpecificContentManager Class Reference

VendorSpecificContentManager class. More...

#include "vendor-specific-action.h"

+ Collaboration diagram for ns3::VendorSpecificContentManager:

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 213 of file vendor-specific-action.h.

Member Typedef Documentation

◆ VscCallbacks

VSC callback typedef.

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

◆ VscCallbacksI

VSC callback iterator typedef.

Definition at line 246 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().

+ Here is the caller graph for this function:

◆ 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().

+ Here is the caller graph for this function:

◆ 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().

+ Here is the caller graph for this function:

◆ 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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ m_callbacks

VscCallbacks ns3::VendorSpecificContentManager::m_callbacks
private

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