#include <omni-antenna.h>
Inheritance diagram for OmniAntenna:


Public Member Functions | |
| OmniAntenna () | |
| virtual double | getTxGain (double, double, double, double) |
| virtual double | getRxGain (double, double, double, double) |
| virtual Antenna * | copy () |
| virtual void | release () |
| void | insert (struct an_head *head) |
| virtual double | getX () |
| virtual double | getY () |
| virtual double | getZ () |
Protected Attributes | |
| double | Gt_ |
| double | Gr_ |
| double | X_ |
| double | Y_ |
| double | Z_ |
|
|
Definition at line 50 of file omni-antenna.cc.
|
|
|
Reimplemented from Antenna. Definition at line 63 of file omni-antenna.h.
00065 {Rx,Tx}Gain that this one would at this point
00066 // in time. This is needed b/c if a pkt is sent with a directable
00067 // antenna, this antenna may be have been redirected by the time we
00068 // call getTxGain on the copy to determine if the pkt is received.
00069 {
00070 // since the Gt and Gr are constant w.r.t time, we can just return
00071 // this object itself
00072 return this;
00073 }
|
|
||||||||||||||||||||
|
Reimplemented from Antenna. Definition at line 56 of file omni-antenna.h. References Gr_.
00059 {
00060 return Gr_;
00061 }
|
|
||||||||||||||||||||
|
Reimplemented from Antenna. Definition at line 50 of file omni-antenna.h. References Gt_.
00053 {
00054 return Gt_;
00055 }
|
|
|
Definition at line 78 of file antenna.h. References Antenna::X_. Referenced by TwoRayGround::Pr(), Shadowing::Pr(), ShadowingVis::Pr(), and FreeSpace::Pr().
00078 {return X_;}
|
|
|
Definition at line 79 of file antenna.h. References Antenna::Y_. Referenced by TwoRayGround::Pr(), Shadowing::Pr(), ShadowingVis::Pr(), and FreeSpace::Pr().
00079 {return Y_;}
|
|
|
Definition at line 80 of file antenna.h. References Antenna::Z_. Referenced by TwoRayGround::Pr(), Shadowing::Pr(), and FreeSpace::Pr().
00080 {return Z_;}
|
|
|
Definition at line 74 of file antenna.h. References LIST_INSERT_HEAD.
00074 {
00075 LIST_INSERT_HEAD(head, this, link);
00076 }
|
|
|
Reimplemented from Antenna. Definition at line 75 of file omni-antenna.h.
00077 {
00078 // don't do anything
00079 }
|
|
|
Definition at line 83 of file omni-antenna.h. Referenced by getRxGain(), and OmniAntenna(). |
|
|
Definition at line 82 of file omni-antenna.h. Referenced by getTxGain(), and OmniAntenna(). |
|
|
Definition at line 86 of file antenna.h. Referenced by Antenna::Antenna(), and Antenna::getX(). |
|
|
Definition at line 87 of file antenna.h. Referenced by Antenna::Antenna(), and Antenna::getY(). |
|
|
Definition at line 88 of file antenna.h. Referenced by Antenna::Antenna(), and Antenna::getZ(). |
1.3.3