Classes | Namespaces | Defines | Functions
v4lctl_node.cpp File Reference
#include <ros/ros.h>
#include <dynamic_reconfigure/server.h>
#include <uavc_v4lctl/v4lctlNodeDynConfig.h>
#include <uavc_v4lctl/v4lctlSet.h>
#include <uavc_v4lctl/v4lctlGet.h>
#include <opencv2/opencv.hpp>
#include <boost/algorithm/string/replace.hpp>
#include <boost/regex.hpp>
#include <sstream>
#include <map>
Include dependency graph for v4lctl_node.cpp:

Go to the source code of this file.

Classes

class  uavc_v4lctl::v4lctlNode

Namespaces

namespace  uavc_v4lctl

Defines

#define V4LCTL_GET_BOOL(name, default)   (defaults || (s=v4lctlGet(name)).empty() ? default : boost::regex_match(s, boost::regex("^on$")))
#define V4LCTL_GET_INT(name, default)   (defaults || (s=v4lctlGet(name)).empty() ? default : atoi(s.c_str()))
#define V4LCTL_GET_PERCENT(name, default, max)   (defaults || (s=v4lctlGet(name)).empty() ? default : (atoi(s.c_str()) * 100 / max))
#define V4LCTL_GET_STRING(name, default)   (defaults || (s=v4lctlGet(name)).empty() ? default : s)
#define YAML_NAME_TO_OPT(s)   boost::replace_all_copy(boost::replace_all_copy(s,"-","\""),"_"," ")
#define YAML_OPT_TO_NAME(s)   boost::replace_all_copy(boost::replace_all_copy(s,"\"","-")," ","_")

Functions

int main (int argc, char **argv)

Define Documentation

#define V4LCTL_GET_BOOL (   name,
  default 
)    (defaults || (s=v4lctlGet(name)).empty() ? default : boost::regex_match(s, boost::regex("^on$")))
#define V4LCTL_GET_INT (   name,
  default 
)    (defaults || (s=v4lctlGet(name)).empty() ? default : atoi(s.c_str()))
#define V4LCTL_GET_PERCENT (   name,
  default,
  max 
)    (defaults || (s=v4lctlGet(name)).empty() ? default : (atoi(s.c_str()) * 100 / max))
#define V4LCTL_GET_STRING (   name,
  default 
)    (defaults || (s=v4lctlGet(name)).empty() ? default : s)
#define YAML_NAME_TO_OPT (   s)    boost::replace_all_copy(boost::replace_all_copy(s,"-","\""),"_"," ")

Definition at line 81 of file v4lctl_node.cpp.

#define YAML_OPT_TO_NAME (   s)    boost::replace_all_copy(boost::replace_all_copy(s,"\"","-")," ","_")

Definition at line 80 of file v4lctl_node.cpp.


Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 315 of file v4lctl_node.cpp.



uavc_v4lctl
Author(s): Patrick Feuser
autogenerated on Wed Apr 20 2016 06:04:29