All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
BuildingItem.hh
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2012-2014 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 _BUILDING_ITEM_HH_
19 #define _BUILDING_ITEM_HH_
20 
21 #include "gazebo/util/system.hh"
22 
23 namespace gazebo
24 {
25  namespace gui
26  {
29 
34  {
36  public: BuildingItem();
37 
39  public: ~BuildingItem();
40 
42  public: int GetLevel() const;
43 
46  public: void SetLevel(int _level);
47 
50  public: double GetLevelBaseHeight() const;
51 
55  public: void SetLevelBaseHeight(double _height);
56 
58  protected: int level;
59 
61  protected: double levelBaseHeight;
62  };
64  }
65 }
66 
67 #endif
int level
Level that this building item is in.
Definition: BuildingItem.hh:58
Base class of a items that have building level properties such as the level number and level height...
Definition: BuildingItem.hh:33
double levelBaseHeight
Base height of the level.
Definition: BuildingItem.hh:61
#define GAZEBO_VISIBLE
Use to represent "symbol visible" if supported.
Definition: system.hh:48