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.

References myX, and myY.

◆ ViewPosition() [3/3]

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

parameter constructor

Definition at line 53 of file InternalTest.cpp.

References myX, and myY.

Member Function Documentation

◆ getX()

int InternalTest::ViewPosition::getX ( ) const

get x value

Definition at line 60 of file InternalTest.cpp.

References myX.

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.

References myY.

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.

Referenced by getX(), ViewPosition(), and ViewPosition().

◆ myY

int InternalTest::ViewPosition::myY = 0
private

y value

Definition at line 66 of file InternalTest.h.

Referenced by getY(), ViewPosition(), and ViewPosition().


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