CamCap  v0.0.1-2379
C++ camera capture library and tool
main.cpp File Reference

Command-line tool that uses libcamcap to access web cams. More...

#include <map>
#include <string>
#include <vector>
#include <iostream>
#include <iomanip>
#include <fstream>
#include <sstream>
#include <CamCap.hpp>
#include <thread>
#include <chrono>
#include <unistd.h>
#include <sys/ioctl.h>
Include dependency graph for main.cpp:

Typedefs

typedef std::vector< std::string > VStr
 Vector of strings. More...
 
typedef std::map< std::string, std::string > MStr
 Map of strings. More...
 

Functions

void usage (const std::string &fname)
 Display usage text on the camcap tool. More...
 
int main (int argc, char *argv[])
 

Detailed Description

Command-line tool that uses libcamcap to access web cams.

Typedef Documentation

◆ VStr

typedef std::vector<std::string> VStr

Vector of strings.

◆ MStr

typedef std::map<std::string, std::string> MStr

Map of strings.

Function Documentation

◆ usage()

void usage ( const std::string &  fname)

Display usage text on the camcap tool.

Referenced by main().

Here is the caller graph for this function:

◆ main()