gaf.cc File Reference

#include <template.h>
#include <gaf/gaf.h>
#include <random.h>
#include <address.h>
#include <mobilenode.h>
#include <god.h>
#include <phy.h>
#include <wireless-phy.h>
#include <energy-model.h>

Include dependency graph for gaf.cc:

Go to the source code of this file.

Data Structures

class  GAFAgentClass
class  GAFHeaderClass
class  GAFPartnerClass

Functions

static double gafjitter (double max, int be_random_)

Variables

GAFAgentClass class_gafagent
GAFHeaderClass class_gafhdr
GAFPartnerClass class_gafparnter


Function Documentation

static double gafjitter double  max,
int  be_random_
[inline, static]
 

Definition at line 88 of file gaf.cc.

References Random::uniform().

Referenced by GAFAgent::command(), and GAFAgent::duty_timeout().

00089 {
00090   return (be_random_ ? Random::uniform(max) : max);
00091 }

Here is the call graph for this function:


Variable Documentation

GAFAgentClass class_gafagent [static]
 

GAFHeaderClass class_gafhdr [static]
 

GAFPartnerClass class_gafparnter [static]
 


Generated on Tue Mar 6 16:52:54 2007 for ns2 Network Simulator 2.29 by  doxygen 1.4.6