A Discrete-Event Network Simulator
API
ns3::PyViz::TransmissionSampleKey Struct Reference

TransmissionSampleKey structure. More...

+ Collaboration diagram for ns3::PyViz::TransmissionSampleKey:

Public Member Functions

bool operator< (TransmissionSampleKey const &other) const
 less than operator More...
 
bool operator== (TransmissionSampleKey const &other) const
 equality operator More...
 

Public Attributes

Ptr< Channelchannel
 channel More...
 
Ptr< Nodereceiver
 NULL if broadcast. More...
 
Ptr< Nodetransmitter
 transmitter More...
 

Detailed Description

TransmissionSampleKey structure.

Definition at line 257 of file pyviz.h.

Member Function Documentation

◆ operator<()

bool ns3::PyViz::TransmissionSampleKey::operator< ( PyViz::TransmissionSampleKey const &  other) const

less than operator

Parameters
otherobject to compare
Returns
true if less than

Definition at line 350 of file pyviz.cc.

References channel, receiver, and transmitter.

◆ operator==()

bool ns3::PyViz::TransmissionSampleKey::operator== ( PyViz::TransmissionSampleKey const &  other) const

equality operator

Parameters
otherobject to compare
Returns
true if equal

Definition at line 378 of file pyviz.cc.

References third::channel, channel, receiver, and transmitter.

Member Data Documentation

◆ channel

Ptr<Channel> ns3::PyViz::TransmissionSampleKey::channel

channel

Definition at line 275 of file pyviz.h.

Referenced by operator<(), and operator==().

◆ receiver

Ptr<Node> ns3::PyViz::TransmissionSampleKey::receiver

NULL if broadcast.

Definition at line 274 of file pyviz.h.

Referenced by operator<(), and operator==().

◆ transmitter

Ptr<Node> ns3::PyViz::TransmissionSampleKey::transmitter

transmitter

Definition at line 273 of file pyviz.h.

Referenced by operator<(), and operator==().


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