A CommEffect entry holds the NEM Id of a transmitter and the link effects to apply to received transmission.  
 More...
#include <commeffect.h>
A CommEffect entry holds the NEM Id of a transmitter and the link effects to apply to received transmission. 
- Note
 - Instances are immutable 
 
Definition at line 52 of file commeffect.h.
 
◆ CommEffect()
  
  
      
        
          | EMANE::Events::CommEffect::CommEffect  | 
          ( | 
          NEMId  | 
          nemId,  | 
         
        
           | 
           | 
          const Microseconds &  | 
          lattency,  | 
         
        
           | 
           | 
          const Microseconds &  | 
          jitter,  | 
         
        
           | 
           | 
          float  | 
          fProbabilityLoss,  | 
         
        
           | 
           | 
          float  | 
          fProbabilityDuplicate,  | 
         
        
           | 
           | 
          std::uint64_t  | 
          u64UnicastBitRate,  | 
         
        
           | 
           | 
          std::uint64_t  | 
          u64BroadcastBitRate  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
Creates a CommEffect instance
- Parameters
 - 
  
    | nemId | NEM Id of the transmitter  | 
    | lattency | Latency in microseconds  | 
    | jitter | Jitter in microseconds  | 
    | fProbabilityLoss | Probability of loss  | 
    | fProbabilityDuplicate | Probability of duplication  | 
    | u64UnicastBitRate | Unicast bitrate in bps  | 
    | u64BroadcastBitRate | Broadcast bitrate in bps  | 
  
   
Definition at line 34 of file commeffect.inl.
 
 
◆ getBroadcastBitRate()
  
  
      
        
          | std::uint64_t EMANE::Events::CommEffect::getBroadcastBitRate  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Gets the broadcast bitrate in bps
- Returns
 - bitrate 
 
Definition at line 86 of file commeffect.inl.
 
 
◆ getJitter()
◆ getLatency()
Gets the latency in microseconds
- Returns
 - latency 
 
Definition at line 56 of file commeffect.inl.
 
 
◆ getNEMId()
◆ getProbabilityDuplicate()
  
  
      
        
          | float EMANE::Events::CommEffect::getProbabilityDuplicate  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Gets the duplication probability
- Returns
 - probability 
 
Definition at line 74 of file commeffect.inl.
 
 
◆ getProbabilityLoss()
  
  
      
        
          | float EMANE::Events::CommEffect::getProbabilityLoss  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Gets the loss probability
- Returns
 - probability 
 
Definition at line 68 of file commeffect.inl.
 
 
◆ getUnicastBitRate()
  
  
      
        
          | std::uint64_t EMANE::Events::CommEffect::getUnicastBitRate  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Getst the unicast bitrate in bps
- Returns
 - bitrate 
 
Definition at line 80 of file commeffect.inl.
 
 
The documentation for this class was generated from the following files: