![]() |
SUMO - Simulation of Urban MObility
|
#include <AGSchool.h>
Public Member Functions | |
bool | acceptThisAge (int age) |
bool | addNewChild () |
AGSchool (int capacity_, AGPosition pos, int beginAge, int endAge, int open, int close) | |
int | getBeginAge () |
int | getClosingHour () |
int | getEndAge () |
int | getOpeningHour () |
int | getPlaces () |
AGPosition | getPosition () |
void | print () const |
bool | removeChild () |
Private Attributes | |
int | beginAge |
int | capacity |
int | closing |
int | endAge |
int | initCapacity |
AGPosition | location |
int | opening |
Definition at line 43 of file AGSchool.h.
|
inline |
Definition at line 45 of file AGSchool.h.
References acceptThisAge(), addNewChild(), getBeginAge(), getClosingHour(), getEndAge(), getOpeningHour(), getPlaces(), getPosition(), print(), and removeChild().
bool AGSchool::acceptThisAge | ( | int | age | ) |
bool AGSchool::addNewChild | ( | ) |
Definition at line 54 of file AGSchool.cpp.
References capacity.
Referenced by AGSchool(), and AGChild::setSchool().
int AGSchool::getBeginAge | ( | ) |
int AGSchool::getClosingHour | ( | ) |
Definition at line 95 of file AGSchool.cpp.
References closing.
Referenced by AGSchool(), and AGChild::getSchoolClosing().
int AGSchool::getEndAge | ( | ) |
int AGSchool::getOpeningHour | ( | ) |
Definition at line 100 of file AGSchool.cpp.
References opening.
Referenced by AGSchool(), and AGChild::getSchoolOpening().
int AGSchool::getPlaces | ( | ) |
AGPosition AGSchool::getPosition | ( | ) |
Definition at line 90 of file AGSchool.cpp.
References location.
Referenced by AGSchool(), and AGChild::getSchoolLocation().
void AGSchool::print | ( | ) | const |
Definition at line 44 of file AGSchool.cpp.
References beginAge, capacity, closing, endAge, and opening.
Referenced by AGSchool().
bool AGSchool::removeChild | ( | ) |
Definition at line 63 of file AGSchool.cpp.
References capacity, and initCapacity.
Referenced by AGSchool(), and AGChild::leaveSchool().
|
private |
Definition at line 65 of file AGSchool.h.
Referenced by acceptThisAge(), getBeginAge(), and print().
|
private |
Definition at line 66 of file AGSchool.h.
Referenced by addNewChild(), getPlaces(), print(), and removeChild().
|
private |
Definition at line 69 of file AGSchool.h.
Referenced by getClosingHour(), and print().
|
private |
Definition at line 65 of file AGSchool.h.
Referenced by getEndAge(), and print().
|
private |
Definition at line 67 of file AGSchool.h.
Referenced by removeChild().
|
private |
Definition at line 68 of file AGSchool.h.
Referenced by getPosition().
|
private |
Definition at line 69 of file AGSchool.h.
Referenced by getOpeningHour(), and print().