TransmitterVisualPrivate.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 _TRANSMITTERVISUAL_PRIVATE_HH_
19 #define _TRANSMITTERVISUAL_PRIVATE_HH_
20 
21 #include <vector>
22 
23 #include "gazebo/msgs/MessageTypes.hh"
26 
27 namespace gazebo
28 {
29  namespace rendering
30  {
33  {
36 
39 
41  public: DynamicLines *points;
42 
45  public: bool isFirst;
46 
48  public: std::vector<rendering::VisualPtr> vectorLink;
49 
51  public: std::vector<event::ConnectionPtr> connections;
52 
54  public: boost::mutex mutex;
55 
57  public: boost::shared_ptr<msgs::PropagationGrid const> gridMsg;
58 
60  public: bool receivedMsg;
61  };
62  }
63 }
64 #endif
Class for drawing lines that can change.
Definition: DynamicLines.hh:43
bool receivedMsg
True if we have received a message.
Definition: TransmitterVisualPrivate.hh:60
Private data for the Visual class.
Definition: VisualPrivate.hh:57
boost::shared_ptr< Subscriber > SubscriberPtr
Definition: TransportTypes.hh:53
Forward declarations for transport.
std::vector< event::ConnectionPtr > connections
All the event connections.
Definition: TransmitterVisualPrivate.hh:51
boost::shared_ptr< msgs::PropagationGrid const > gridMsg
The current contact message.
Definition: TransmitterVisualPrivate.hh:57
boost::mutex mutex
Mutex to protect the contact message.
Definition: TransmitterVisualPrivate.hh:54
DynamicLines * points
Renders the points representing the signal strength.
Definition: TransmitterVisualPrivate.hh:41
bool isFirst
Use for allocate the visuals for the grid only the first time you receive the grid.
Definition: TransmitterVisualPrivate.hh:45
boost::shared_ptr< Node > NodePtr
Definition: TransportTypes.hh:57
Private data for the Transmitter Visual class.
Definition: TransmitterVisualPrivate.hh:32
transport::SubscriberPtr signalPropagationSub
Subscription to the propagation data.
Definition: TransmitterVisualPrivate.hh:38
std::vector< rendering::VisualPtr > vectorLink
Store the list of visuals.
Definition: TransmitterVisualPrivate.hh:48
transport::NodePtr node
Pointer to a node that handles communication.
Definition: TransmitterVisualPrivate.hh:35