image_flip_nodelet.cpp
Go to the documentation of this file.
1 /*
2  * Copyright 2017 Fraunhofer Institute for Manufacturing Engineering and Automation (IPA)
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9 
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 
18 //##################
19 //#### includes ####
20 
21 // ROS includes
22 #include <ros/ros.h>
23 #include <nodelet/nodelet.h>
24 
25 // image flip code
27 
28 // this should really be in the implementation (.cpp file)
30 
31 namespace cob_image_flip
32 {
34 {
35 protected:
38 
39 public:
40 
42  {
43  image_flip_ = 0;
44  };
45 
47  {
48  if (image_flip_ != 0)
49  delete image_flip_;
50  };
51 
52  virtual void onInit()
53  {
54  // Create a handle for this node, initialize node
56 
57  // Create ImageFlip class instance
59  }
60 };
61 }
62 
63 // watch the capitalization carefully
cob_image_flip::ImageFlipNodelet::image_flip_
ImageFlip * image_flip_
Definition: image_flip_nodelet.cpp:37
ros.h
nodelet::Nodelet::getPrivateNodeHandle
ros::NodeHandle & getPrivateNodeHandle() const
class_list_macros.h
cob_image_flip
Definition: image_flip.h:48
PLUGINLIB_EXPORT_CLASS
#define PLUGINLIB_EXPORT_CLASS(class_type, base_class_type)
cob_image_flip::ImageFlipNodelet::ImageFlipNodelet
ImageFlipNodelet()
Definition: image_flip_nodelet.cpp:41
cob_image_flip::ImageFlipNodelet::node_handle_
ros::NodeHandle node_handle_
Definition: image_flip_nodelet.cpp:36
cob_image_flip::ImageFlipNodelet::~ImageFlipNodelet
~ImageFlipNodelet()
Definition: image_flip_nodelet.cpp:46
cob_image_flip::ImageFlip
Definition: image_flip.h:50
nodelet::Nodelet
nodelet.h
cob_image_flip::ImageFlipNodelet
Definition: image_flip_nodelet.cpp:33
image_flip.h
cob_image_flip::ImageFlipNodelet::onInit
virtual void onInit()
Definition: image_flip_nodelet.cpp:52
ros::NodeHandle


cob_image_flip
Author(s): Richard Bormann
autogenerated on Mon Aug 1 2022 02:23:16