Add TODOs

This commit is contained in:
TinyAtoms 2019-05-28 13:57:33 -03:00
parent 9312ed335f
commit 843aa42159
4 changed files with 5 additions and 6 deletions

View File

@ -23,7 +23,7 @@ void Customer::gen_monthly(){
std::cout << "NAME: " << name << " card code: " << card_code << "\n";
std::cout << "-------------------------------------------------\n";
for (auto& i : park_instances) {
// need some logic to only include from this month
// TODO: need some logic to only include from this month
std::cout << i;
}
std::cout << "-------------------------------------------------\n\n";

View File

@ -24,7 +24,7 @@ public:
string card_code;
void clock_in(int s_id);
void clock_out(int s_id);
// void gen_weekly();
// void gen_weekly(); TODO: this
void gen_monthly();
Customer(int id_, string name_, string card_code_);

View File

@ -12,10 +12,8 @@ class Park_spot {
public:
int id;
bool taken;
Customer* parked;
Customer* parked; //TODO: think about memory management
Park_spot(int id_);
void clock(Customer* c_customer);
private:
};
};

View File

@ -31,6 +31,7 @@ public:
private:
high_resolution_clock::time_point start;
high_resolution_clock::time_point end;
//TODO: discuss pros cons of using chrono, ctime, or 3th party lib
};