DARTPhysicsPrivate.hh
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2015-2016 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 _GAZEBO_DARTPHYSICS_PRIVATE_HH_
19 #define _GAZEBO_DARTPHYSICS_PRIVATE_HH_
20 
22 
23 namespace gazebo
24 {
25  namespace physics
26  {
30  {
33  : dtWorld(new dart::simulation::World())
34  {
35  }
36 
39  {
40  delete dtWorld;
41  }
42 
44  public: DARTPhysicsPrivate(const DARTPhysicsPrivate&) = delete;
45 
47  public: dart::simulation::World *dtWorld;
48  };
49  }
50 }
51 #endif
Definition: DARTPhysicsPrivate.hh:29
The world provides access to all other object within a simulated environment.
Definition: World.hh:68
DARTPhysicsPrivate()
Constructor.
Definition: DARTPhysicsPrivate.hh:32
~DARTPhysicsPrivate()
Default destructor.
Definition: DARTPhysicsPrivate.hh:38
dart::simulation::World * dtWorld
Pointer to DART World associated with this DART Physics.
Definition: DARTPhysicsPrivate.hh:47