A Discrete-Event Network Simulator
API
CoordinationTestListener Class Reference

CoordinationTestListener is used to test channel coordination events. More...

+ Inheritance diagram for CoordinationTestListener:
+ Collaboration diagram for CoordinationTestListener:

Public Member Functions

 CoordinationTestListener (ChannelCoordinationTestCase *coordinatorTest)
 Constructor. More...
 
virtual ~CoordinationTestListener (void)
 
virtual void NotifyCchSlotStart (Time duration)
 
virtual void NotifyGuardSlotStart (Time duration, bool cchi)
 
virtual void NotifySchSlotStart (Time duration)
 
- Public Member Functions inherited from ns3::ChannelCoordinationListener
virtual ~ChannelCoordinationListener (void)
 
- Public Member Functions inherited from ns3::SimpleRefCount< ChannelCoordinationListener >
 SimpleRefCount ()
 Default constructor. More...
 
 SimpleRefCount (const SimpleRefCount &o[[maybe_unused]])
 Copy constructor. More...
 
uint32_t GetReferenceCount (void) const
 Get the reference count of the object. More...
 
SimpleRefCountoperator= ([[maybe_unused]] const SimpleRefCount &o)
 Assignment operator. More...
 
void Ref (void) const
 Increment the reference count. More...
 
void Unref (void) const
 Decrement the reference count. More...
 

Public Attributes

ChannelCoordinationTestCasem_coordinatorTest
 coordinator test More...
 

Detailed Description

CoordinationTestListener is used to test channel coordination events.

Definition at line 91 of file mac-extension-test-suite.cc.

Constructor & Destructor Documentation

◆ CoordinationTestListener()

CoordinationTestListener::CoordinationTestListener ( ChannelCoordinationTestCase coordinatorTest)
inline

Constructor.

Parameters
coordinatorTestchannel coordination test case

Definition at line 99 of file mac-extension-test-suite.cc.

◆ ~CoordinationTestListener()

virtual CoordinationTestListener::~CoordinationTestListener ( void  )
inlinevirtual

Definition at line 103 of file mac-extension-test-suite.cc.

Member Function Documentation

◆ NotifyCchSlotStart()

virtual void CoordinationTestListener::NotifyCchSlotStart ( Time  duration)
inlinevirtual
Parameters
durationthe CCH access time (CCHI - GI) continues,

Implements ns3::ChannelCoordinationListener.

Definition at line 106 of file mac-extension-test-suite.cc.

◆ NotifyGuardSlotStart()

virtual void CoordinationTestListener::NotifyGuardSlotStart ( Time  duration,
bool  cchi 
)
inlinevirtual
Parameters
durationthe time Guard access time (GI) continues
cchiindicate whether the guard slot is in the GI of CCHI or SCHI.

Implements ns3::ChannelCoordinationListener.

Definition at line 114 of file mac-extension-test-suite.cc.

◆ NotifySchSlotStart()

virtual void CoordinationTestListener::NotifySchSlotStart ( Time  duration)
inlinevirtual
Parameters
durationthe SCH access time (SCHI - GI) continues,

Implements ns3::ChannelCoordinationListener.

Definition at line 110 of file mac-extension-test-suite.cc.

Member Data Documentation

◆ m_coordinatorTest

ChannelCoordinationTestCase* CoordinationTestListener::m_coordinatorTest

coordinator test

Definition at line 118 of file mac-extension-test-suite.cc.


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