#include <camera.hpp>
Public Member Functions | |
void | callAll (const std::vector< message_actions::MessageAction > &actions) |
CameraConverter (const std::string &name, const float &frequency, const qi::SessionPtr &session, const int &camera_source, const int &resolution, const bool &has_stereo=false) | |
void | registerCallback (const message_actions::MessageAction action, Callback_t cb) |
void | reset () |
~CameraConverter () | |
Private Types | |
typedef boost::function< void(sensor_msgs::ImagePtr, sensor_msgs::CameraInfo)> | Callback_t |
Private Attributes | |
std::map < message_actions::MessageAction, Callback_t > | callbacks_ |
sensor_msgs::CameraInfo | camera_info_ |
int | camera_source_ |
int | colorspace_ |
int | cv_mat_type_ |
std::string | handle_ |
sensor_msgs::ImagePtr | msg_ |
std::string | msg_colorspace_ |
std::string | msg_frameid_ |
qi::AnyObject | p_video_ |
int | resolution_ |
Definition at line 37 of file converters/camera.hpp.
typedef boost::function<void(sensor_msgs::ImagePtr, sensor_msgs::CameraInfo)> naoqi::converter::CameraConverter::Callback_t [private] |
Definition at line 40 of file converters/camera.hpp.
naoqi::converter::CameraConverter::CameraConverter | ( | const std::string & | name, |
const float & | frequency, | ||
const qi::SessionPtr & | session, | ||
const int & | camera_source, | ||
const int & | resolution, | ||
const bool & | has_stereo = false |
||
) |
Definition at line 183 of file converters/camera.cpp.
Definition at line 231 of file converters/camera.cpp.
void naoqi::converter::CameraConverter::callAll | ( | const std::vector< message_actions::MessageAction > & | actions | ) |
Definition at line 264 of file converters/camera.cpp.
void naoqi::converter::CameraConverter::registerCallback | ( | const message_actions::MessageAction | action, |
Callback_t | cb | ||
) |
Definition at line 259 of file converters/camera.cpp.
Definition at line 241 of file converters/camera.cpp.
std::map<message_actions::MessageAction, Callback_t> naoqi::converter::CameraConverter::callbacks_ [private] |
Definition at line 60 of file converters/camera.hpp.
sensor_msgs::CameraInfo naoqi::converter::CameraConverter::camera_info_ [private] |
Definition at line 75 of file converters/camera.hpp.
int naoqi::converter::CameraConverter::camera_source_ [private] |
Definition at line 64 of file converters/camera.hpp.
int naoqi::converter::CameraConverter::colorspace_ [private] |
Definition at line 66 of file converters/camera.hpp.
int naoqi::converter::CameraConverter::cv_mat_type_ [private] |
Definition at line 72 of file converters/camera.hpp.
std::string naoqi::converter::CameraConverter::handle_ [private] |
Definition at line 67 of file converters/camera.hpp.
sensor_msgs::ImagePtr naoqi::converter::CameraConverter::msg_ [private] |
Definition at line 76 of file converters/camera.hpp.
std::string naoqi::converter::CameraConverter::msg_colorspace_ [private] |
Definition at line 71 of file converters/camera.hpp.
std::string naoqi::converter::CameraConverter::msg_frameid_ [private] |
Definition at line 74 of file converters/camera.hpp.
qi::AnyObject naoqi::converter::CameraConverter::p_video_ [private] |
VideoDevice (Proxy) configurations
Definition at line 63 of file converters/camera.hpp.
int naoqi::converter::CameraConverter::resolution_ [private] |
Definition at line 65 of file converters/camera.hpp.