edu.cmu.emulator.world
Class IsotropicAntenna
java.lang.Object
edu.cmu.emulator.world.MovableObject
edu.cmu.emulator.world.Antenna
edu.cmu.emulator.world.IsotropicAntenna
public class IsotropicAntenna
- extends Antenna
Implementation of the behavior of an Isotropic antenna.
Extends the basic Antenna object.
Fields inherited from class edu.cmu.emulator.world.MovableObject |
accelerationMPS2, attributeMap, children, dirOrientation, groupWorker, ID_ACCELERATION_MPS2, ID_ORIENTATION, ID_POSITION, ID_ROTATION, ID_VELOCITY_MPS, name, navigator, OM_PARENT, OM_VELOCITY, orientation, orientationMode, parent, position, rotation, segmentEndMillis, segmentEndPos, segmentListenerManager, segmentStartMillis, segmentStartPos, uName, velocityMPS |
Constructor Summary |
IsotropicAntenna(EmuNIC emuNIC,
int hwXmitPower,
int emuPortID,
int antennaIndex,
int elementN)
|
Method Summary |
double |
getGain(double[] direction)
Abstract method that returns the Gain of the antenna in the direction
specified. |
Methods inherited from class edu.cmu.emulator.world.MovableObject |
addChild, addSegmentListener, addWaypointListener, addWaypointListener, endSegment, fixOrientation, getAbsAcceleration, getAbsAcceleration, getAbsOrientation, getAbsOrientation, getAbsPosition, getAbsPosition, getAbsRotation, getAbsRotation, getAbsVelocity, getAbsVelocity, getAcceleration, getAttribute, getChild, getDistance, getName, getNumChildren, getOrientation, getOrientation, getOrientationMode, getParent, getPosition, getRotation, getUName, getVelocity, isMoving, moveToOverTime, moveToOverTime, moveToOverTime, moveToOverTime, moveToWithSpeed, moveToWithSpeed, moveToWithSpeed, notifySegmentListeners, removeSegmentListener, removeWaypointListener, setAttribute, setName, setOrientationMode, setStationaryAtPos, setUName, startRoute, startSegment, stopInPlace, update |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IsotropicAntenna
public IsotropicAntenna(EmuNIC emuNIC,
int hwXmitPower,
int emuPortID,
int antennaIndex,
int elementN)
getGain
public double getGain(double[] direction)
- Description copied from class:
Antenna
- Abstract method that returns the Gain of the antenna in the direction
specified. This method needs to be overridden by all subclasses.
- Specified by:
getGain
in class Antenna
- Parameters:
direction
- The EVector representation of the antenna orientation
- Returns:
- The calculated value of the Antenna gain.
Copyright © 2013. All Rights Reserved.