-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBike.cxx
More file actions
28 lines (25 loc) · 780 Bytes
/
Bike.cxx
File metadata and controls
28 lines (25 loc) · 780 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: Bike.cxx
// Author: Enhope
// Date: 31-05-2019
//-----------------------------------------------------------------------------
#include <factory_method_pattern/Bike.hxx>
#include <plog/Log.h>
//-----------------------------------------------------------------------------
Bike::Bike(std::string name, unsigned int price)
:
Toy(name, price)
{
PLOGD;
}
//-----------------------------------------------------------------------------
Bike::~Bike()
{
PLOGD;
}
//-----------------------------------------------------------------------------
void Bike::showProduct()
{
PLOGD;
PLOGI << "Bike product show. Name: " << this->getName() << ", price: " << this->getPrice();
}