LaserVisualPrivate.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 
18 #ifndef _LASERVISUAL_PRIVATE_HH_
19 #define _LASERVISUAL_PRIVATE_HH_
20 
21 #include <vector>
22 
23 #include "gazebo/msgs/MessageTypes.hh"
26 
27 namespace gazebo
28 {
29  namespace rendering
30  {
31  class DynamicLines;
32 
35  {
38 
41 
43  public: std::vector<DynamicLines *> rayFans;
44 
46  public: boost::mutex mutex;
47 
49  public: bool receivedMsg;
50 
52  public: boost::shared_ptr<msgs::LaserScanStamped const> laserMsg;
53 
56  };
57  }
58 }
59 #endif
boost::shared_ptr< Connection > ConnectionPtr
Definition: CommonTypes.hh:144
Private data for the Visual class.
Definition: VisualPrivate.hh:56
boost::shared_ptr< Subscriber > SubscriberPtr
Definition: TransportTypes.hh:53
Forward declarations for transport.
transport::NodePtr node
Pointer to a node that handles communication.
Definition: LaserVisualPrivate.hh:37
Private data for the Laser Visual class.
Definition: LaserVisualPrivate.hh:34
boost::shared_ptr< msgs::LaserScanStamped const > laserMsg
The current contact message.
Definition: LaserVisualPrivate.hh:52
transport::SubscriberPtr laserScanSub
Subscription to the laser data.
Definition: LaserVisualPrivate.hh:40
boost::shared_ptr< Node > NodePtr
Definition: TransportTypes.hh:57
boost::mutex mutex
Mutex to protect the contact message.
Definition: LaserVisualPrivate.hh:46
std::vector< DynamicLines * > rayFans
Renders the laser data.
Definition: LaserVisualPrivate.hh:43
event::ConnectionPtr connection
Pre render connection.
Definition: LaserVisualPrivate.hh:55
bool receivedMsg
True if we have received a message.
Definition: LaserVisualPrivate.hh:49