nx_server_plugin_sdk 1.0 Server Plugin SDK

Public Member Functions | List of all members
DirContentsManager Class Reference

Manages information about image directory contents: Provides file list, generates timestamps of files, keep track of directory contents. More...

`#include <dir_contents_manager.h>`

## Public Member Functions
| DirContentsManager (const std::string &imageDir, unsigned int frameDurationUsec)
std::map< nxcip::UsecUTCTimestamp, std::string > | dirContents () const
void | add (const nxcip::UsecUTCTimestamp &timestamp, const std::string &filePath)
nxcip::UsecUTCTimestamp | minTimestamp () const
nxcip::UsecUTCTimestamp | maxTimestamp () const

## Detailed Description

Manages information about image directory contents: Provides file list, generates timestamps of files, keep track of directory contents.

## Member Function Documentation

## ◆ dirContents()

std::map< nxcip::UsecUTCTimestamp, std::string > DirContentsManager::dirContents | ( |  | ) | const

Returns
  map<timestamp, file full path>

The documentation for this class was generated from the following files:

- samples/device/image_library_plugin/src/dir_contents_manager.h
- samples/device/image_library_plugin/src/dir_contents_manager.cpp