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

view position More...

#include <InternalTest.h>

Public Member Functions

int getDown () const
 get down value
int getLeft () const
 get left value
int getRight () const
 get right value
int getUp () const
 get up value
 Movement ()
 default constructor
 Movement (const std::string &up, const std::string &down, const std::string &left, const std::string &right)
 constructor

Private Attributes

int myDown = 0
 down value
int myLeft = 0
 left value
int myRight = 0
 right value
int myUp = 0
 up value

Detailed Description

view position

Definition at line 101 of file InternalTest.h.

Constructor & Destructor Documentation

◆ Movement() [1/2]

InternalTest::Movement::Movement ( )

default constructor

Definition at line 106 of file InternalTest.cpp.

◆ Movement() [2/2]

InternalTest::Movement::Movement ( const std::string & up,
const std::string & down,
const std::string & left,
const std::string & right )

constructor

Definition at line 109 of file InternalTest.cpp.

References myDown, myLeft, myRight, and myUp.

Member Function Documentation

◆ getDown()

int InternalTest::Movement::getDown ( ) const

get down value

Definition at line 125 of file InternalTest.cpp.

References myDown.

◆ getLeft()

int InternalTest::Movement::getLeft ( ) const

get left value

Definition at line 131 of file InternalTest.cpp.

References myLeft.

◆ getRight()

int InternalTest::Movement::getRight ( ) const

get right value

Definition at line 137 of file InternalTest.cpp.

References myRight.

◆ getUp()

int InternalTest::Movement::getUp ( ) const

get up value

Definition at line 119 of file InternalTest.cpp.

References myUp.

Field Documentation

◆ myDown

int InternalTest::Movement::myDown = 0
private

down value

Definition at line 128 of file InternalTest.h.

Referenced by getDown(), and Movement().

◆ myLeft

int InternalTest::Movement::myLeft = 0
private

left value

Definition at line 131 of file InternalTest.h.

Referenced by getLeft(), and Movement().

◆ myRight

int InternalTest::Movement::myRight = 0
private

right value

Definition at line 134 of file InternalTest.h.

Referenced by getRight(), and Movement().

◆ myUp

int InternalTest::Movement::myUp = 0
private

up value

Definition at line 125 of file InternalTest.h.

Referenced by getUp(), and Movement().


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