Public Member Functions | Private Types | Private Member Functions | Private Attributes
screen_grab::ScreenGrab Class Reference
Inheritance diagram for screen_grab::ScreenGrab:
Inheritance graph
[legend]

List of all members.

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_

Detailed Description

Definition at line 85 of file screengrab_ros_node.cpp.


Member Typedef Documentation

typedef dynamic_reconfigure::Server<screen_grab::ScreenGrabConfig> screen_grab::ScreenGrab::ReconfigureServer [private]

Definition at line 96 of file screengrab_ros_node.cpp.


Constructor & Destructor Documentation

Definition at line 141 of file screengrab_ros_node.cpp.


Member Function Documentation

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.

void screen_grab::ScreenGrab::spinOnce ( const ros::TimerEvent e) [private]

Definition at line 309 of file screengrab_ros_node.cpp.

Definition at line 220 of file screengrab_ros_node.cpp.


Member Data Documentation

XColor screen_grab::ScreenGrab::col [private]

Definition at line 123 of file screengrab_ros_node.cpp.

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.

Definition at line 115 of file screengrab_ros_node.cpp.

Definition at line 107 of file screengrab_ros_node.cpp.

Definition at line 91 of file screengrab_ros_node.cpp.

Definition at line 121 of file screengrab_ros_node.cpp.

Definition at line 110 of file screengrab_ros_node.cpp.

Definition at line 89 of file screengrab_ros_node.cpp.

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.

Definition at line 117 of file screengrab_ros_node.cpp.

Definition at line 94 of file screengrab_ros_node.cpp.

Definition at line 106 of file screengrab_ros_node.cpp.

Definition at line 104 of file screengrab_ros_node.cpp.

Definition at line 122 of file screengrab_ros_node.cpp.

Definition at line 105 of file screengrab_ros_node.cpp.


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


screen_grab
Author(s):
autogenerated on Fri Feb 12 2016 00:23:26