-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPlane.cxx
More file actions
28 lines (25 loc) · 787 Bytes
/
Plane.cxx
File metadata and controls
28 lines (25 loc) · 787 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
//-----------------------------------------------------------------------------
// File: Plane.cxx
// Author: Enhope
// Date: 31-05-2019
//-----------------------------------------------------------------------------
#include <factory_method_pattern/Plane.hxx>
#include <plog/Log.h>
//-----------------------------------------------------------------------------
Plane::Plane(std::string name, unsigned int price)
:
Toy(name, price)
{
PLOGD;
}
//-----------------------------------------------------------------------------
Plane::~Plane()
{
PLOGD;
}
//-----------------------------------------------------------------------------
void Plane::showProduct()
{
PLOGD;
PLOGI << "Plane product show. Name: " << this->getName() << ", price: " << this->getPrice();
}