|
Stride Reference Manual
1.0
|
#include <Person.h>

Public Types | |
| using | uint = unsigned int |
Public Member Functions | |
| Traveller (const PersonType &home_person, PersonType *new_person, const string &home_sim_id, const string &destination_sim_id, uint home_simulator_index) | |
| Traveller (const Traveller &other_traveller) | |
| const PersonType & | getHomePerson () const |
| PersonType * | getNewPerson () const |
| string | getHomeSimulatorId () const |
| uint | getHomeSimulatorIndex () const |
| string | getDestinationSimulatorId () const |
Private Attributes | |
| string | m_home_simulator_id |
| The id of the home simulator. More... | |
| string | m_destination_simulator_id |
| The id of the destination simulator. More... | |
| uint | m_home_simulator_index |
| The index of the person in the home simulator. More... | |
| PersonType | m_home_person |
| The person in the region of origin. More... | |
| PersonType * | m_new_person |
| The person when he travelled to the other region. More... | |
| using stride::Traveller< PersonType >::uint = unsigned int |
Definition at line 17 of file Traveller.h.
|
inline |
Definition at line 19 of file Traveller.h.
|
inline |
Definition at line 25 of file Traveller.h.
|
inline |
Definition at line 31 of file Traveller.h.
|
inline |
Definition at line 35 of file Traveller.h.
Referenced by stride::Simulator::hostForeignTravellers().
|
inline |
Definition at line 39 of file Traveller.h.
|
inline |
Definition at line 43 of file Traveller.h.
|
inline |
Definition at line 47 of file Traveller.h.
|
private |
The id of the home simulator.
Definition at line 52 of file Traveller.h.
|
private |
The id of the destination simulator.
Definition at line 53 of file Traveller.h.
|
private |
The index of the person in the home simulator.
Definition at line 54 of file Traveller.h.
|
private |
The person in the region of origin.
Definition at line 56 of file Traveller.h.
|
private |
The person when he travelled to the other region.
Definition at line 57 of file Traveller.h.