VANET Simulator
 All Classes Functions Variables
Public Member Functions | List of all members
vanetsim.scenario.events.BlockingObject Class Reference
Inheritance diagram for vanetsim.scenario.events.BlockingObject:
vanetsim.scenario.LaneObject

Public Member Functions

 BlockingObject (int lane, boolean direction, Street street, double position)
 
void removeFromLane ()
 
- Public Member Functions inherited from vanetsim.scenario.LaneObject
int getX ()
 
int getY ()
 
int getCurSpeed ()
 
double getCurPosition ()
 
int getCurLane ()
 
Street getCurStreet ()
 
boolean getCurDirection ()
 
LaneObject getNext ()
 
LaneObject getPrevious ()
 
void setNext (LaneObject next)
 
void setPrevious (LaneObject previous)
 

Additional Inherited Members

- Protected Member Functions inherited from vanetsim.scenario.LaneObject
void calculatePosition ()
 
- Protected Attributes inherited from vanetsim.scenario.LaneObject
LaneObject previous_
 
LaneObject next_
 
int curX_
 
int curY_
 
double curSpeed_ = 0.0
 
double curPosition_
 
int curLane_ = 1
 
Street curStreet_
 
boolean curDirection_ = true
 

Constructor & Destructor Documentation

vanetsim.scenario.events.BlockingObject.BlockingObject ( int  lane,
boolean  direction,
Street  street,
double  position 
)
inline

Instantiates a new blocking object.

Parameters
lanethe lane number (1..n)
directionthe direction
streetthe street
positionthe position on the street

Member Function Documentation

void vanetsim.scenario.events.BlockingObject.removeFromLane ( )
inline

Remove this BlockingObject from it's current lane.


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