NVIDIA DeepStream SDK API Reference

6.4 Release
CaptureTimeRules Class Reference

Detailed Description

Definition at line 30 of file capture_time_rules.h.

Public Member Functions

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_ ()
 

Member Function Documentation

◆ 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
pathcontaining the time rules
default_second_intervalWhen 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: