ImagesViewPrivate.hh
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2012-2015 Open Source Robotics Foundation
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 #ifndef _IMAGESVIEW_PRIVATE_HH_
18 #define _IMAGESVIEW_PRIVATE_HH_
19 
20 #include <vector>
21 #include <utility>
22 #include <boost/thread/mutex.hpp>
23 
25 #include "gazebo/gui/qt.h"
26 
27 namespace gazebo
28 {
29  namespace gui
30  {
33  {
35  public: std::vector<ImageFrame *> images;
36 
38  public: QGridLayout *frameLayout;
39 
41  public: boost::mutex mutex;
42 
44  public: bool clearImages;
45 
47  public: std::vector<std::pair<int, int> > addImage;
48  };
49  }
50 }
51 
52 #endif
std::vector< std::pair< int, int > > addImage
Vector of image sizes to add.
Definition: ImagesViewPrivate.hh:47
QGridLayout * frameLayout
Pointer to the frame containing the images.
Definition: ImagesViewPrivate.hh:38
boost::mutex mutex
Mutex to protect the image vectors.
Definition: ImagesViewPrivate.hh:41
bool clearImages
Set to true to clear the images from the widget.
Definition: ImagesViewPrivate.hh:44
Private data for the ImagesView class.
Definition: ImagesViewPrivate.hh:32
std::vector< ImageFrame * > images
Storage mechansim for image data.
Definition: ImagesViewPrivate.hh:35