Add TODOs
This commit is contained in:
parent
9312ed335f
commit
843aa42159
@ -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";
|
||||
|
@ -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_);
|
||||
|
||||
|
@ -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:
|
||||
};
|
||||
|
||||
|
||||
|
@ -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
|
||||
};
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user