Add TODOs
This commit is contained in:
		@@ -23,7 +23,7 @@ void Customer::gen_monthly(){
 | 
				
			|||||||
    std::cout << "NAME: " << name << " card code: " << card_code << "\n";
 | 
					    std::cout << "NAME: " << name << " card code: " << card_code << "\n";
 | 
				
			||||||
    std::cout << "-------------------------------------------------\n";
 | 
					    std::cout << "-------------------------------------------------\n";
 | 
				
			||||||
    for (auto& i : park_instances) {
 | 
					    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 << i;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    std::cout << "-------------------------------------------------\n\n";
 | 
					    std::cout << "-------------------------------------------------\n\n";
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -24,7 +24,7 @@ public:
 | 
				
			|||||||
    string card_code;
 | 
					    string card_code;
 | 
				
			||||||
    void clock_in(int s_id);
 | 
					    void clock_in(int s_id);
 | 
				
			||||||
    void clock_out(int s_id);
 | 
					    void clock_out(int s_id);
 | 
				
			||||||
    // void gen_weekly();
 | 
					    // void gen_weekly(); TODO: this
 | 
				
			||||||
    void gen_monthly();
 | 
					    void gen_monthly();
 | 
				
			||||||
    Customer(int id_, string name_, string card_code_);
 | 
					    Customer(int id_, string name_, string card_code_);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -12,10 +12,8 @@ class Park_spot {
 | 
				
			|||||||
    public:
 | 
					    public:
 | 
				
			||||||
    int id;
 | 
					    int id;
 | 
				
			||||||
    bool taken;
 | 
					    bool taken;
 | 
				
			||||||
    Customer* parked;
 | 
					    Customer* parked; //TODO: think about memory management
 | 
				
			||||||
    Park_spot(int id_);
 | 
					    Park_spot(int id_);
 | 
				
			||||||
    void clock(Customer* c_customer);
 | 
					    void clock(Customer* c_customer);
 | 
				
			||||||
    private:
 | 
					    private:
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 
 | 
				
			|||||||
@@ -31,6 +31,7 @@ public:
 | 
				
			|||||||
private:
 | 
					private:
 | 
				
			||||||
    high_resolution_clock::time_point start;
 | 
					    high_resolution_clock::time_point start;
 | 
				
			||||||
    high_resolution_clock::time_point end;
 | 
					    high_resolution_clock::time_point end;
 | 
				
			||||||
 | 
					    //TODO: discuss pros cons of using chrono, ctime, or 3th party lib
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user