Public Member Functions | Private Attributes
DeliveryMan Class Reference

Delivery man. More...

#include <delivery_man.hpp>

List of all members.

Public Member Functions

void DeliverPackage (std::size_t distance)
 Deliver a package.
 DeliveryMan (std::size_t speed)
 Initialize a delivery man instance.

Private Attributes

std::size_t _speed
 Delivery man speed from 1 to 10.

Detailed Description

Delivery man.

Definition at line 7 of file delivery_man.hpp.


Constructor & Destructor Documentation

DeliveryMan::DeliveryMan ( std::size_t  speed) [inline]

Initialize a delivery man instance.

Parameters:
speedDelivery man speed from 1 to 10.

Definition at line 29 of file delivery_man.hpp.


Member Function Documentation

void DeliveryMan::DeliverPackage ( std::size_t  distance) [inline]

Deliver a package.

Parameters:
distanceDistance the package has to travel.

Definition at line 13 of file delivery_man.hpp.


Member Data Documentation

std::size_t DeliveryMan::_speed [private]

Delivery man speed from 1 to 10.

Definition at line 35 of file delivery_man.hpp.


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


hayai
Author(s): Nick Bruun
autogenerated on Thu Jun 6 2019 18:13:43