Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
GNEMoveResult Class Reference

move result More...

#include <GNEMoveElement.h>

Collaboration diagram for GNEMoveResult:
[legend]

Public Member Functions

void clearLanes ()
 clear lanes
 
 GNEMoveResult (const GNEMoveOperation *moveOperation)
 constructor
 
 ~GNEMoveResult ()
 destructor
 

Data Fields

double firstLaneOffset
 lane offset
 
std::vector< int > geometryPointsToMove
 shape points to move (of shapeToMove)
 
const GNELanenewFirstLane
 new first Lane
 
double newFirstPos
 new first position
 
const GNELanenewSecondLane
 new second Lane
 
double newSecondPos
 new second position
 
const GNEMoveOperation::OperationType operationType
 move operation
 
double secondLaneOffset
 lane offset
 
PositionVector shapeToUpdate
 shape to update (edited in moveElement)
 

Private Member Functions

 GNEMoveResult (const GNEMoveResult &)=delete
 Invalidated copy constructor.
 

Detailed Description

move result

Definition at line 180 of file GNEMoveElement.h.

Constructor & Destructor Documentation

◆ GNEMoveResult() [1/2]

GNEMoveResult::GNEMoveResult ( const GNEMoveOperation moveOperation)

constructor

Definition at line 161 of file GNEMoveElement.cpp.

◆ ~GNEMoveResult()

GNEMoveResult::~GNEMoveResult ( )

destructor

Definition at line 171 of file GNEMoveElement.cpp.

◆ GNEMoveResult() [2/2]

GNEMoveResult::GNEMoveResult ( const GNEMoveResult )
privatedelete

Invalidated copy constructor.

Member Function Documentation

◆ clearLanes()

void GNEMoveResult::clearLanes ( )

clear lanes

Definition at line 175 of file GNEMoveElement.cpp.

References firstLaneOffset, newFirstLane, newSecondLane, and secondLaneOffset.

Referenced by GNEMoveElement::commitMove(), and GNEMoveElement::moveElement().

Here is the caller graph for this function:

Field Documentation

◆ firstLaneOffset

◆ geometryPointsToMove

std::vector<int> GNEMoveResult::geometryPointsToMove

◆ newFirstLane

◆ newFirstPos

◆ newSecondLane

const GNELane* GNEMoveResult::newSecondLane

new second Lane

Definition at line 214 of file GNEMoveElement.h.

Referenced by clearLanes(), and GNEMoveElement::commitMove().

◆ newSecondPos

◆ operationType

◆ secondLaneOffset

double GNEMoveResult::secondLaneOffset

lane offset

Definition at line 211 of file GNEMoveElement.h.

Referenced by clearLanes(), and GNEMoveElement::commitMove().

◆ shapeToUpdate


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