Change the className() functions from non const to const to be consistent with the

osg::Object definition.
This commit is contained in:
Robert Osfield
2003-03-29 22:07:03 +00:00
parent 60e16ea044
commit 11053aaa5c
4 changed files with 4 additions and 4 deletions

View File

@@ -36,7 +36,7 @@ class OSGGA_EXPORT CameraManipulator : public GUIEventHandler
public:
virtual const char* className() { return "CameraManipulator"; }
virtual const char* className() const { return "CameraManipulator"; }
/** Attach a camera to the manipulator to be used for specifying view.*/
virtual void setCamera(osg::Camera*);

View File

@@ -31,7 +31,7 @@ class OSGGA_EXPORT DriveManipulator : public CameraManipulator
DriveManipulator();
virtual const char* className() { return "Drive"; }
virtual const char* className() const { return "Drive"; }
virtual void setNode(osg::Node*);

View File

@@ -31,7 +31,7 @@ class OSGGA_EXPORT FlightManipulator : public CameraManipulator
FlightManipulator();
virtual const char* className() { return "Flight"; }
virtual const char* className() const { return "Flight"; }
virtual void setNode(osg::Node*);

View File

@@ -24,7 +24,7 @@ class OSGGA_EXPORT TrackballManipulator : public CameraManipulator
TrackballManipulator();
virtual const char* className() { return "Trackball"; }
virtual const char* className() const { return "Trackball"; }
/** Attach a node to the manipulator.
Automatically detaches previously attached node.