Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
Public Member Functions | Data Fields
storeSimulation Class Reference
Inheritance diagram for storeSimulation:
Inheritance graph
[legend]
Collaboration diagram for storeSimulation:
Collaboration graph
[legend]

Public Member Functions

 storeSimulation ()
 
bool canSeat (unsigned int numberOfPeople)
 
void order (unsigned int numberOfScoops)
 
void leave (unsigned int numberOfPeople)
 
- Public Member Functions inherited from simulation
 simulation ()
 
void run ()
 
void scheduleEvent (event *newEvent)
 

Data Fields

unsigned int freeChairs
 
double profit
 
- Data Fields inherited from simulation
unsigned int time
 

Additional Inherited Members

- Protected Attributes inherited from simulation
std::priority_queue< event *, std::vector< event *, std::allocator< event * > >, eventComparator > eventQueue
 

Detailed Description

Definition at line 88 of file icecream.cpp.

Constructor & Destructor Documentation

◆ storeSimulation()

storeSimulation::storeSimulation ( )
inline

Definition at line 90 of file icecream.cpp.

Member Function Documentation

◆ canSeat()

bool storeSimulation::canSeat ( unsigned int  numberOfPeople)

Definition at line 178 of file icecream.cpp.

◆ leave()

void storeSimulation::leave ( unsigned int  numberOfPeople)

Definition at line 205 of file icecream.cpp.

◆ order()

void storeSimulation::order ( unsigned int  numberOfScoops)

Definition at line 196 of file icecream.cpp.

Field Documentation

◆ freeChairs

unsigned int storeSimulation::freeChairs

Definition at line 96 of file icecream.cpp.

◆ profit

double storeSimulation::profit

Definition at line 97 of file icecream.cpp.


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