Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
InternalTest::ViewPosition Class Reference

view position More...

#include <InternalTest.h>

Public Member Functions

int getX () const
 get x value
 
int getY () const
 get y value
 
 ViewPosition ()
 default constructor
 
 ViewPosition (const int xValue, const int yValue)
 parameter constructor (string)
 
 ViewPosition (const std::string &xValue, const std::string &yValue)
 parameter constructor
 

Private Attributes

int myX = 0
 x value
 
int myY = 0
 y value
 

Detailed Description

view position

Definition at line 43 of file InternalTest.h.

Constructor & Destructor Documentation

◆ ViewPosition() [1/3]

InternalTest::ViewPosition::ViewPosition ( )

default constructor

Definition at line 44 of file InternalTest.cpp.

◆ ViewPosition() [2/3]

InternalTest::ViewPosition::ViewPosition ( const int  xValue,
const int  yValue 
)

parameter constructor (string)

Definition at line 47 of file InternalTest.cpp.

◆ ViewPosition() [3/3]

InternalTest::ViewPosition::ViewPosition ( const std::string &  xValue,
const std::string &  yValue 
)

parameter constructor

Definition at line 53 of file InternalTest.cpp.

Member Function Documentation

◆ getX()

int InternalTest::ViewPosition::getX ( ) const

get x value

Definition at line 60 of file InternalTest.cpp.

Referenced by InternalTestStep::buildMouseClickEvent(), InternalTestStep::buildMouseMoveEvent(), InternalTest::interpolateViewPositions(), and InternalTestStep::writeClickInfo().

Here is the caller graph for this function:

◆ getY()

int InternalTest::ViewPosition::getY ( ) const

get y value

Definition at line 66 of file InternalTest.cpp.

Referenced by InternalTestStep::buildMouseClickEvent(), InternalTestStep::buildMouseMoveEvent(), InternalTest::interpolateViewPositions(), and InternalTestStep::writeClickInfo().

Here is the caller graph for this function:

Field Documentation

◆ myX

int InternalTest::ViewPosition::myX = 0
private

x value

Definition at line 63 of file InternalTest.h.

◆ myY

int InternalTest::ViewPosition::myY = 0
private

y value

Definition at line 66 of file InternalTest.h.


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