auxiliary
 All Classes Namespaces Files Functions Typedefs Enumerations Enumerator Macros
Public Member Functions | List of all members
auxiliary::image_fetcher Class Reference

An implementation of image fetcher. More...

#include <image_fetcher.hpp>

Public Member Functions

void open (const std::string &path)
 Open file or directory. More...
 
void open_pack (const std::string &path)
 
void open (int device_id)
 Connect to device. More...
 
bool grab ()
 Grabs the next frame from video file or directory. More...
 
template<typename pixel_type >
void retrieve (Image< pixel_type > &image)
 Decodes and returns the grabbed video frame or image. More...
 
std::string current_directory () const
 Get current directory. More...
 

Detailed Description

An implementation of image fetcher.

Member Function Documentation

std::string auxiliary::image_fetcher::current_directory ( ) const
inline

Get current directory.

bool auxiliary::image_fetcher::grab ( )
inline

Grabs the next frame from video file or directory.

void auxiliary::image_fetcher::open ( const std::string &  path)
inline

Open file or directory.

void auxiliary::image_fetcher::open ( int  device_id)
inline

Connect to device.

void auxiliary::image_fetcher::open_pack ( const std::string &  path)
inline
template<typename pixel_type >
void auxiliary::image_fetcher::retrieve ( Image< pixel_type > &  image)
inline

Decodes and returns the grabbed video frame or image.


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