CrowdSenSim  1.1
Functions
ClockManagement.cc File Reference
#include "../Headers/ClockManagement.h"
#include <time.h>

Functions

tm controlTime (tm ref_time_, int minutes_trav_)
 

Function Documentation

tm controlTime ( tm  ref_time_tm_,
int  minutes_trav_ 
)

Updates the current value of ref_time_tm

Inputs: -ref_time_tm: time to update -minutes_trav_: minutes to add

Returns an object of the struct tm

It checks the travel time