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

#include <AGBus.h>

Public Member Functions

 AGBus (int depTime)
 
 AGBus (std::string name, int depTime)
 
int getDeparture ()
 
std::string getName ()
 
void print () const
 
void setName (std::string name)
 

Private Attributes

int myDepartureTime
 
std::string myName
 

Detailed Description

Definition at line 34 of file AGBus.h.

Constructor & Destructor Documentation

◆ AGBus() [1/2]

AGBus::AGBus ( std::string  name,
int  depTime 
)
inline

Definition at line 36 of file AGBus.h.

◆ AGBus() [2/2]

AGBus::AGBus ( int  depTime)
inline

Definition at line 39 of file AGBus.h.

Member Function Documentation

◆ getDeparture()

int AGBus::getDeparture ( )

Definition at line 39 of file AGBus.cpp.

References myDepartureTime.

◆ getName()

std::string AGBus::getName ( )

Definition at line 44 of file AGBus.cpp.

References myName.

◆ print()

void AGBus::print ( ) const

Definition at line 49 of file AGBus.cpp.

References myDepartureTime, and myName.

◆ setName()

void AGBus::setName ( std::string  name)

Definition at line 34 of file AGBus.cpp.

References myName.

Field Documentation

◆ myDepartureTime

int AGBus::myDepartureTime
private

Definition at line 48 of file AGBus.h.

Referenced by getDeparture(), and print().

◆ myName

std::string AGBus::myName
private

Definition at line 47 of file AGBus.h.

Referenced by getName(), print(), and setName().


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