My Project
src
passenger_factory.h
Go to the documentation of this file.
1
7
#ifndef SRC_PASSENGER_FACTORY_H_
8
#define SRC_PASSENGER_FACTORY_H_
9
10
11
/*******************************************************************************
12
* Includes
13
******************************************************************************/
14
#include <string>
15
16
#include "
src/passenger.h
"
17
18
/*******************************************************************************
19
* Class Definitions
20
******************************************************************************/
27
class
PassengerFactory
{
28
public
:
39
static
Passenger
*
Generate
(
int
,
int
);
40
private
:
46
static
std::string NameGeneration();
47
};
48
#endif // SRC_PASSENGER_FACTORY_H_
PassengerFactory::Generate
static Passenger * Generate(int, int)
Generation of a passenger with a randomized name and random destination within bounds.
Definition:
passenger_factory.cc:57
PassengerFactory
The main class for the generation of passengers.
Definition:
passenger_factory.h:25
Passenger
The main class to define passenger.
Definition:
passenger.h:17
passenger.h
Generated by
1.8.16