Last change
on this file since 98 was
88,
checked in by Torben Dannhauer, 14 years ago
|
Moved memory leak detection from source file to headerfile. Its still in the class but at least not in the source file.
The leak detection works, but the false positives are not stopped.
Use Linux/Valgrind? to make your final leak detection beyond the easy first approach in MSVC
|
File size:
1.2 KB
|
Rev | Line | |
---|
[32] | 1 | #pragma once |
---|
| 2 | /* -*-c++-*- osgVisual - Copyright (C) 2009-2010 Torben Dannhauer |
---|
| 3 | * |
---|
| 4 | * This library is based on OpenSceneGraph, open source and may be redistributed and/or modified under |
---|
| 5 | * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or |
---|
| 6 | * (at your option) any later version. The full license is in LICENSE file |
---|
| 7 | * included with this distribution, and on the openscenegraph.org website. |
---|
| 8 | * |
---|
| 9 | * osgVisual requires for some proprietary modules a license from the correspondig manufacturer. |
---|
| 10 | * You have to aquire licenses for all used proprietary modules. |
---|
| 11 | * |
---|
| 12 | * This library is distributed in the hope that it will be useful, |
---|
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
| 15 | * OpenSceneGraph Public License for more details. |
---|
| 16 | */ |
---|
| 17 | |
---|
| 18 | #include <osg/CoordinateSystemNode> |
---|
| 19 | #include <osg/Geode> |
---|
| 20 | #include <osg/Geometry> |
---|
| 21 | #include <osg/Node> |
---|
| 22 | |
---|
| 23 | #include <osgViewer/Viewer> |
---|
| 24 | |
---|
| 25 | namespace osgVisual |
---|
| 26 | { |
---|
| 27 | |
---|
| 28 | class visual_draw3D : public osg::Node |
---|
| 29 | { |
---|
[88] | 30 | #include <leakDetection.h> |
---|
[32] | 31 | public: |
---|
| 32 | visual_draw3D(void); |
---|
| 33 | virtual ~visual_draw3D(void); |
---|
| 34 | void init( osg::CoordinateSystemNode* rootNode_, osgViewer::Viewer *viewer_ ); |
---|
| 35 | }; |
---|
| 36 | |
---|
| 37 | } // END NAMESPACE |
---|
Note: See
TracBrowser
for help on using the repository browser.