EMANE  1.2.1
EMANE::Transmitter Class Reference

Holds transmitter id and power level. More...

#include <transmitter.h>

Public Member Functions

 Transmitter (NEMId id, double dPowerdBm)
 
 Transmitter (const Transmitter &rhs)
 
EMANE::NEMId getNEMId () const
 
double getPowerdBm () const
 

Detailed Description

Holds transmitter id and power level.

Note
Instances are immutable

Definition at line 49 of file transmitter.h.

Constructor & Destructor Documentation

◆ Transmitter() [1/2]

EMANE::Transmitter::Transmitter ( NEMId  id,
double  dPowerdBm 
)
inline

Creates a Transmitter instance

Parameters
idNEM id of the transmitter
dPowerdBmPower level of the transmitter in dBm

Definition at line 34 of file transmitter.inl.

◆ Transmitter() [2/2]

EMANE::Transmitter::Transmitter ( const Transmitter rhs)
inline

Creates a Transmitter instance by copy

Definition at line 40 of file transmitter.inl.

Member Function Documentation

◆ getNEMId()

EMANE::NEMId EMANE::Transmitter::getNEMId ( ) const
inline

Gets the transmitter id

Returns
NEM Id

Definition at line 45 of file transmitter.inl.

◆ getPowerdBm()

double EMANE::Transmitter::getPowerdBm ( ) const
inline

Gets the transmitter power in dBm

return power

Definition at line 51 of file transmitter.inl.


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