Public Member Functions | |
virtual void | onInit () |
ScreenGrab () | |
bool | spin () |
Private Types | |
typedef dynamic_reconfigure::Server < screen_grab::ScreenGrabConfig > | ReconfigureServer |
Private Member Functions | |
void | callback (screen_grab::ScreenGrabConfig &config, uint32_t level) |
void | checkRoi (int &x_offset, int &y_offset, int &width, int &height) |
void | roiCallback (const sensor_msgs::RegionOfInterest::ConstPtr &msg) |
void | spinOnce (const ros::TimerEvent &e) |
void | updateConfig () |
Private Attributes | |
XColor | col |
Display * | display |
boost::recursive_mutex | dr_mutex_ |
bool | first_error_ |
int | height_ |
ros::Subscriber | roi_sub_ |
Screen * | screen |
int | screen_h_ |
ros::Publisher | screen_pub_ |
int | screen_w_ |
boost::shared_ptr < ReconfigureServer > | server_ |
ros::Timer | timer_ |
double | update_rate_ |
int | width_ |
int | x_offset_ |
XImage * | xImageSample |
int | y_offset_ |
Definition at line 85 of file screengrab_ros_node.cpp.
typedef dynamic_reconfigure::Server<screen_grab::ScreenGrabConfig> screen_grab::ScreenGrab::ReconfigureServer [private] |
Definition at line 96 of file screengrab_ros_node.cpp.
Definition at line 141 of file screengrab_ros_node.cpp.
void screen_grab::ScreenGrab::callback | ( | screen_grab::ScreenGrabConfig & | config, |
uint32_t | level | ||
) | [private] |
Definition at line 197 of file screengrab_ros_node.cpp.
void screen_grab::ScreenGrab::checkRoi | ( | int & | x_offset, |
int & | y_offset, | ||
int & | width, | ||
int & | height | ||
) | [private] |
Definition at line 161 of file screengrab_ros_node.cpp.
void screen_grab::ScreenGrab::onInit | ( | ) | [virtual] |
Implements nodelet::Nodelet.
Definition at line 235 of file screengrab_ros_node.cpp.
void screen_grab::ScreenGrab::roiCallback | ( | const sensor_msgs::RegionOfInterest::ConstPtr & | msg | ) | [private] |
Definition at line 151 of file screengrab_ros_node.cpp.
bool screen_grab::ScreenGrab::spin | ( | ) |
void screen_grab::ScreenGrab::spinOnce | ( | const ros::TimerEvent & | e | ) | [private] |
Definition at line 309 of file screengrab_ros_node.cpp.
void screen_grab::ScreenGrab::updateConfig | ( | ) | [private] |
Definition at line 220 of file screengrab_ros_node.cpp.
XColor screen_grab::ScreenGrab::col [private] |
Definition at line 123 of file screengrab_ros_node.cpp.
Display* screen_grab::ScreenGrab::display [private] |
Definition at line 120 of file screengrab_ros_node.cpp.
boost::recursive_mutex screen_grab::ScreenGrab::dr_mutex_ [private] |
Definition at line 112 of file screengrab_ros_node.cpp.
bool screen_grab::ScreenGrab::first_error_ [private] |
Definition at line 115 of file screengrab_ros_node.cpp.
int screen_grab::ScreenGrab::height_ [private] |
Definition at line 107 of file screengrab_ros_node.cpp.
Definition at line 91 of file screengrab_ros_node.cpp.
Screen* screen_grab::ScreenGrab::screen [private] |
Definition at line 121 of file screengrab_ros_node.cpp.
int screen_grab::ScreenGrab::screen_h_ [private] |
Definition at line 110 of file screengrab_ros_node.cpp.
Definition at line 89 of file screengrab_ros_node.cpp.
int screen_grab::ScreenGrab::screen_w_ [private] |
Definition at line 109 of file screengrab_ros_node.cpp.
boost::shared_ptr< ReconfigureServer > screen_grab::ScreenGrab::server_ [private] |
Definition at line 97 of file screengrab_ros_node.cpp.
ros::Timer screen_grab::ScreenGrab::timer_ [private] |
Definition at line 117 of file screengrab_ros_node.cpp.
double screen_grab::ScreenGrab::update_rate_ [private] |
Definition at line 94 of file screengrab_ros_node.cpp.
int screen_grab::ScreenGrab::width_ [private] |
Definition at line 106 of file screengrab_ros_node.cpp.
int screen_grab::ScreenGrab::x_offset_ [private] |
Definition at line 104 of file screengrab_ros_node.cpp.
XImage* screen_grab::ScreenGrab::xImageSample [private] |
Definition at line 122 of file screengrab_ros_node.cpp.
int screen_grab::ScreenGrab::y_offset_ [private] |
Definition at line 105 of file screengrab_ros_node.cpp.