ns3::SortTimeSlots Class Reference

This class sorts time slots within TBTP into increasing order based on start time. More...

#include "satellite-tbtp-container.h"

Public Member Functions

 SortTimeSlots ()
 
bool operator() (Ptr< SatTimeSlotConf > p1, Ptr< SatTimeSlotConf > p2)
 Operator overload for sorting function. More...
 

Detailed Description

This class sorts time slots within TBTP into increasing order based on start time.

Definition at line 41 of file satellite-tbtp-container.h.

Constructor & Destructor Documentation

◆ SortTimeSlots()

ns3::SortTimeSlots::SortTimeSlots ( )
inline

Definition at line 44 of file satellite-tbtp-container.h.

Member Function Documentation

◆ operator()()

bool ns3::SortTimeSlots::operator() ( Ptr< SatTimeSlotConf p1,
Ptr< SatTimeSlotConf p2 
)
inline

Operator overload for sorting function.

Parameters
p1Time slot configuration
p2Time slot configuration
Returns
Start time of p1 < Start time of p2

Definition at line 54 of file satellite-tbtp-container.h.


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