Definition at line 20 of file capture_time_rules.h.
|
| void | init (const std::string &path, unsigned default_second_interval) |
| | Fills the time rules with the content of the file in path. More...
|
| |
| t_duration | getCurrentTimeInterval () |
| | Compute the correct time interval using the local computer time. More...
|
| |
| bool | is_init_ () |
| |
◆ getCurrentTimeInterval()
| t_duration CaptureTimeRules::getCurrentTimeInterval |
( |
| ) |
|
Compute the correct time interval using the local computer time.
- Returns
- the computed time interval to skip for current time
◆ init()
| void CaptureTimeRules::init |
( |
const std::string & |
path, |
|
|
unsigned |
default_second_interval |
|
) |
| |
Fills the time rules with the content of the file in path.
- Parameters
-
| path | containing the time rules |
| default_second_interval | When no rules are present for a certain time interval, this default duration is used. |
◆ is_init_()
| bool CaptureTimeRules::is_init_ |
( |
| ) |
|
- Returns
- True if the construction of the the object went well. False otherwise
The documentation for this class was generated from the following file: