root/OpenSceneGraph/trunk/src/osgWrappers/osg/NodeVisitor.cpp @ 10174

Revision 10174, 22.2 kB (checked in by robert, 6 years ago)

Moved Registry::ReadFileCallback? + WriteFileCallback?, and osgDB::ReaderWriter::Options into their own separate Options file and into the osgDB namespace.

Introduced a new callback osgDB::FindFileCallback? that overrides the default behavior of findDataFile/findLibraryFile.

Introduced support for assigning ReaderWriter::Options directory to PagedLOD.

Introduced new osgDB::FileLocationCallback? for assistancing the DatabasePager? to know when a file is hosted on a local or remote file system.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1// ***************************************************************************
2//
3//   Generated automatically by genwrapper.
4//   Please DO NOT EDIT this file!
5//
6// ***************************************************************************
7
8#include <osgIntrospection/ReflectionMacros>
9#include <osgIntrospection/TypedMethodInfo>
10#include <osgIntrospection/StaticMethodInfo>
11#include <osgIntrospection/Attributes>
12
13#include <osg/Billboard>
14#include <osg/Camera>
15#include <osg/CameraView>
16#include <osg/ClearNode>
17#include <osg/ClipNode>
18#include <osg/CoordinateSystemNode>
19#include <osg/FrameStamp>
20#include <osg/Geode>
21#include <osg/Group>
22#include <osg/Image>
23#include <osg/LOD>
24#include <osg/LightSource>
25#include <osg/MatrixTransform>
26#include <osg/Node>
27#include <osg/NodeVisitor>
28#include <osg/Object>
29#include <osg/OccluderNode>
30#include <osg/OcclusionQueryNode>
31#include <osg/PagedLOD>
32#include <osg/PositionAttitudeTransform>
33#include <osg/Projection>
34#include <osg/ProxyNode>
35#include <osg/Referenced>
36#include <osg/Sequence>
37#include <osg/Switch>
38#include <osg/TexGenNode>
39#include <osg/Transform>
40#include <osg/Vec3>
41
42// Must undefine IN and OUT macros defined in Windows headers
43#ifdef IN
44#undef IN
45#endif
46#ifdef OUT
47#undef OUT
48#endif
49
50BEGIN_VALUE_REFLECTOR(osg::NodeAcceptOp)
51        I_DeclaringFile("osg/NodeVisitor");
52        I_Constructor1(IN, osg::NodeVisitor &, nv,
53                       Properties::NON_EXPLICIT,
54                       ____NodeAcceptOp__NodeVisitor_R1,
55                       "",
56                       "");
57        I_Constructor1(IN, const osg::NodeAcceptOp &, naop,
58                       Properties::NON_EXPLICIT,
59                       ____NodeAcceptOp__C5_NodeAcceptOp_R1,
60                       "",
61                       "");
62END_REFLECTOR
63
64BEGIN_ENUM_REFLECTOR(osg::NodeVisitor::TraversalMode)
65        I_DeclaringFile("osg/NodeVisitor");
66        I_EnumLabel(osg::NodeVisitor::TRAVERSE_NONE);
67        I_EnumLabel(osg::NodeVisitor::TRAVERSE_PARENTS);
68        I_EnumLabel(osg::NodeVisitor::TRAVERSE_ALL_CHILDREN);
69        I_EnumLabel(osg::NodeVisitor::TRAVERSE_ACTIVE_CHILDREN);
70END_REFLECTOR
71
72BEGIN_ENUM_REFLECTOR(osg::NodeVisitor::VisitorType)
73        I_DeclaringFile("osg/NodeVisitor");
74        I_EnumLabel(osg::NodeVisitor::NODE_VISITOR);
75        I_EnumLabel(osg::NodeVisitor::UPDATE_VISITOR);
76        I_EnumLabel(osg::NodeVisitor::EVENT_VISITOR);
77        I_EnumLabel(osg::NodeVisitor::COLLECT_OCCLUDER_VISITOR);
78        I_EnumLabel(osg::NodeVisitor::CULL_VISITOR);
79END_REFLECTOR
80
81BEGIN_OBJECT_REFLECTOR(osg::NodeVisitor)
82        I_DeclaringFile("osg/NodeVisitor");
83        I_VirtualBaseType(osg::Referenced);
84        I_ConstructorWithDefaults1(IN, osg::NodeVisitor::TraversalMode, tm, osg::NodeVisitor::TRAVERSE_NONE,
85                                   Properties::NON_EXPLICIT,
86                                   ____NodeVisitor__TraversalMode,
87                                   "",
88                                   "");
89        I_ConstructorWithDefaults2(IN, osg::NodeVisitor::VisitorType, type, , IN, osg::NodeVisitor::TraversalMode, tm, osg::NodeVisitor::TRAVERSE_NONE,
90                                   ____NodeVisitor__VisitorType__TraversalMode,
91                                   "",
92                                   "");
93        I_Method0(const char *, libraryName,
94                  Properties::VIRTUAL,
95                  __C5_char_P1__libraryName,
96                  "return the library name/namespapce of the visitor's. ",
97                  "Should be defined by derived classes. ");
98        I_Method0(const char *, className,
99                  Properties::VIRTUAL,
100                  __C5_char_P1__className,
101                  "return the name of the visitor's class type. ",
102                  "Should be defined by derived classes. ");
103        I_Method0(void, reset,
104                  Properties::VIRTUAL,
105                  __void__reset,
106                  "Method to call to reset visitor. ",
107                  "Useful if your visitor accumulates state during a traversal, and you plan to reuse the visitor. To flush that state for the next traversal: call reset() prior to each traversal. ");
108        I_Method1(void, setVisitorType, IN, osg::NodeVisitor::VisitorType, type,
109                  Properties::NON_VIRTUAL,
110                  __void__setVisitorType__VisitorType,
111                  "Set the VisitorType, used to distinguish different visitors during traversal of the scene, typically used in the Node::traverse() method to select which behaviour to use for different types of traversal/visitors. ",
112                  "");
113        I_Method0(osg::NodeVisitor::VisitorType, getVisitorType,
114                  Properties::NON_VIRTUAL,
115                  __VisitorType__getVisitorType,
116                  "Get the VisitorType. ",
117                  "");
118        I_Method1(void, setTraversalNumber, IN, int, fn,
119                  Properties::NON_VIRTUAL,
120                  __void__setTraversalNumber__int,
121                  "Set the traversal number. ",
122                  "Typically used to denote the frame count. ");
123        I_Method0(int, getTraversalNumber,
124                  Properties::NON_VIRTUAL,
125                  __int__getTraversalNumber,
126                  "Get the traversal number. ",
127                  "Typically used to denote the frame count. ");
128        I_Method1(void, setFrameStamp, IN, osg::FrameStamp *, fs,
129                  Properties::NON_VIRTUAL,
130                  __void__setFrameStamp__FrameStamp_P1,
131                  "Set the FrameStamp that this traversal is associated with. ",
132                  "");
133        I_Method0(const osg::FrameStamp *, getFrameStamp,
134                  Properties::NON_VIRTUAL,
135                  __C5_FrameStamp_P1__getFrameStamp,
136                  "Get the FrameStamp that this traversal is associated with. ",
137                  "");
138        I_Method1(void, setTraversalMask, IN, osg::Node::NodeMask, mask,
139                  Properties::NON_VIRTUAL,
140                  __void__setTraversalMask__Node_NodeMask,
141                  "Set the TraversalMask of this NodeVisitor. ",
142                  "The TraversalMask is used by the NodeVisitor::validNodeMask() method to determine whether to operate on a node and its subgraph. validNodeMask() is called automatically in the Node::accept() method before any call to NodeVisitor::apply(), apply() is only ever called if validNodeMask returns true. Note, if NodeVisitor::_traversalMask is 0 then all operations will be switched off for all nodes. Whereas setting both _traversalMask and _nodeMaskOverride to 0xffffffff will allow a visitor to work on all nodes regardless of their own Node::_nodeMask state. ");
143        I_Method0(osg::Node::NodeMask, getTraversalMask,
144                  Properties::NON_VIRTUAL,
145                  __Node_NodeMask__getTraversalMask,
146                  "Get the TraversalMask. ",
147                  "");
148        I_Method1(void, setNodeMaskOverride, IN, osg::Node::NodeMask, mask,
149                  Properties::NON_VIRTUAL,
150                  __void__setNodeMaskOverride__Node_NodeMask,
151                  "Set the NodeMaskOverride mask. ",
152                  "Used in validNodeMask() to determine whether to operate on a node or its subgraph, by OR'ing NodeVisitor::_nodeMaskOverride with the Node's own Node::_nodeMask. Typically used to force on nodes which may have been switched off by their own Node::_nodeMask. ");
153        I_Method0(osg::Node::NodeMask, getNodeMaskOverride,
154                  Properties::NON_VIRTUAL,
155                  __Node_NodeMask__getNodeMaskOverride,
156                  "Get the NodeMaskOverride mask. ",
157                  "");
158        I_Method1(bool, validNodeMask, IN, const osg::Node &, node,
159                  Properties::NON_VIRTUAL,
160                  __bool__validNodeMask__C5_osg_Node_R1,
161                  "Method to called by Node and its subclass' Node::accept() method, if the result is true it is used to cull operations of nodes and their subgraphs. ",
162                  "Return true if the result of a bit wise and of the NodeVisitor::_traversalMask with the bit or between NodeVistor::_nodeMaskOverride and the Node::_nodeMask. default values for _traversalMask is 0xffffffff, _nodeMaskOverride is 0x0, and osg::Node::_nodeMask is 0xffffffff. ");
163        I_Method1(void, setTraversalMode, IN, osg::NodeVisitor::TraversalMode, mode,
164                  Properties::NON_VIRTUAL,
165                  __void__setTraversalMode__TraversalMode,
166                  "Set the traversal mode for Node::traverse() to use when deciding which children of a node to traverse. ",
167                  "If a NodeVisitor has been attached via setTraverseVisitor() and the new mode is not TRAVERSE_VISITOR then the attached visitor is detached. Default mode is TRAVERSE_NONE. ");
168        I_Method0(osg::NodeVisitor::TraversalMode, getTraversalMode,
169                  Properties::NON_VIRTUAL,
170                  __TraversalMode__getTraversalMode,
171                  "Get the traversal mode. ",
172                  "");
173        I_Method1(void, setUserData, IN, osg::Referenced *, obj,
174                  Properties::NON_VIRTUAL,
175                  __void__setUserData__Referenced_P1,
176                  "Set user data, data must be subclassed from Referenced to allow automatic memory handling. ",
177                  "If your own data isn't directly subclassed from Referenced then create an adapter object which points to your own objects and handles the memory addressing. ");
178        I_Method0(osg::Referenced *, getUserData,
179                  Properties::NON_VIRTUAL,
180                  __Referenced_P1__getUserData,
181                  "Get user data. ",
182                  "");
183        I_Method0(const osg::Referenced *, getUserData,
184                  Properties::NON_VIRTUAL,
185                  __C5_Referenced_P1__getUserData,
186                  "Get const user data. ",
187                  "");
188        I_Method1(void, traverse, IN, osg::Node &, node,
189                  Properties::NON_VIRTUAL,
190                  __void__traverse__Node_R1,
191                  "Method for handling traversal of a nodes. ",
192                  "If you intend to use the visitor for actively traversing the scene graph then make sure the accept() methods call this method unless they handle traversal directly. ");
193        I_Method1(void, pushOntoNodePath, IN, osg::Node *, node,
194                  Properties::NON_VIRTUAL,
195                  __void__pushOntoNodePath__Node_P1,
196                  "Method called by osg::Node::accept() method before a call to the NodeVisitor::apply(. ",
197                  ".). The back of the list will, therefore, be the current node being visited inside the apply(..), and the rest of the list will be the parental sequence of nodes from the top most node applied down the graph to the current node. Note, the user does not typically call pushNodeOnPath() as it will be called automatically by the Node::accept() method. ");
198        I_Method0(void, popFromNodePath,
199                  Properties::NON_VIRTUAL,
200                  __void__popFromNodePath,
201                  "Method called by osg::Node::accept() method after a call to NodeVisitor::apply(. ",
202                  ".). Note, the user does not typically call popFromNodePath() as it will be called automatically by the Node::accept() method. ");
203        I_Method0(osg::NodePath &, getNodePath,
204                  Properties::NON_VIRTUAL,
205                  __NodePath_R1__getNodePath,
206                  "Get the non const NodePath from the top most node applied down to the current Node being visited. ",
207                  "");
208        I_Method0(const osg::NodePath &, getNodePath,
209                  Properties::NON_VIRTUAL,
210                  __C5_NodePath_R1__getNodePath,
211                  "Get the const NodePath from the top most node applied down to the current Node being visited. ",
212                  "");
213        I_Method0(osg::Vec3, getEyePoint,
214                  Properties::VIRTUAL,
215                  __osg_Vec3__getEyePoint,
216                  "Get the eye point in local coordinates. ",
217                  "Note, not all NodeVisitor implement this method, it is mainly cull visitors which will implement. ");
218        I_Method0(osg::Vec3, getViewPoint,
219                  Properties::VIRTUAL,
220                  __osg_Vec3__getViewPoint,
221                  "Get the view point in local coordinates. ",
222                  "Note, not all NodeVisitor implement this method, it is mainly cull visitors which will implement. ");
223        I_Method2(float, getDistanceToEyePoint, IN, const osg::Vec3 &, x, IN, bool, x,
224                  Properties::VIRTUAL,
225                  __float__getDistanceToEyePoint__C5_Vec3_R1__bool,
226                  "Get the distance from a point to the eye point, distance value in local coordinate system. ",
227                  "Note, not all NodeVisitor implement this method, it is mainly cull visitors which will implement. If the getDistanceFromEyePoint(pos) is not implemented then a default value of 0.0 is returned. ");
228        I_Method2(float, getDistanceFromEyePoint, IN, const osg::Vec3 &, x, IN, bool, x,
229                  Properties::VIRTUAL,
230                  __float__getDistanceFromEyePoint__C5_Vec3_R1__bool,
231                  "Get the distance of a point from the eye point, distance value in the eye coordinate system. ",
232                  "Note, not all NodeVisitor implement this method, it is mainly cull visitors which will implement. If the getDistanceFromEyePoint(pos) is not implemented than a default value of 0.0 is returned. ");
233        I_Method2(float, getDistanceToViewPoint, IN, const osg::Vec3 &, x, IN, bool, x,
234                  Properties::VIRTUAL,
235                  __float__getDistanceToViewPoint__C5_Vec3_R1__bool,
236                  "Get the distance from a point to the view point, distance value in local coordinate system. ",
237                  "Note, not all NodeVisitor implement this method, it is mainly cull visitors which will implement. If the getDistanceToViewPoint(pos) is not implemented then a default value of 0.0 is returned. ");
238        I_Method1(void, apply, IN, osg::Node &, node,
239                  Properties::VIRTUAL,
240                  __void__apply__Node_R1,
241                  "",
242                  "");
243        I_Method1(void, apply, IN, osg::Geode &, node,
244                  Properties::VIRTUAL,
245                  __void__apply__Geode_R1,
246                  "",
247                  "");
248        I_Method1(void, apply, IN, osg::Billboard &, node,
249                  Properties::VIRTUAL,
250                  __void__apply__Billboard_R1,
251                  "",
252                  "");
253        I_Method1(void, apply, IN, osg::Group &, node,
254                  Properties::VIRTUAL,
255                  __void__apply__Group_R1,
256                  "",
257                  "");
258        I_Method1(void, apply, IN, osg::ProxyNode &, node,
259                  Properties::VIRTUAL,
260                  __void__apply__ProxyNode_R1,
261                  "",
262                  "");
263        I_Method1(void, apply, IN, osg::Projection &, node,
264                  Properties::VIRTUAL,
265                  __void__apply__Projection_R1,
266                  "",
267                  "");
268        I_Method1(void, apply, IN, osg::CoordinateSystemNode &, node,
269                  Properties::VIRTUAL,
270                  __void__apply__CoordinateSystemNode_R1,
271                  "",
272                  "");
273        I_Method1(void, apply, IN, osg::ClipNode &, node,
274                  Properties::VIRTUAL,
275                  __void__apply__ClipNode_R1,
276                  "",
277                  "");
278        I_Method1(void, apply, IN, osg::TexGenNode &, node,
279                  Properties::VIRTUAL,
280                  __void__apply__TexGenNode_R1,
281                  "",
282                  "");
283        I_Method1(void, apply, IN, osg::LightSource &, node,
284                  Properties::VIRTUAL,
285                  __void__apply__LightSource_R1,
286                  "",
287                  "");
288        I_Method1(void, apply, IN, osg::Transform &, node,
289                  Properties::VIRTUAL,
290                  __void__apply__Transform_R1,
291                  "",
292                  "");
293        I_Method1(void, apply, IN, osg::Camera &, node,
294                  Properties::VIRTUAL,
295                  __void__apply__Camera_R1,
296                  "",
297                  "");
298        I_Method1(void, apply, IN, osg::CameraView &, node,
299                  Properties::VIRTUAL,
300                  __void__apply__CameraView_R1,
301                  "",
302                  "");
303        I_Method1(void, apply, IN, osg::MatrixTransform &, node,
304                  Properties::VIRTUAL,
305                  __void__apply__MatrixTransform_R1,
306                  "",
307                  "");
308        I_Method1(void, apply, IN, osg::PositionAttitudeTransform &, node,
309                  Properties::VIRTUAL,
310                  __void__apply__PositionAttitudeTransform_R1,
311                  "",
312                  "");
313        I_Method1(void, apply, IN, osg::Switch &, node,
314                  Properties::VIRTUAL,
315                  __void__apply__Switch_R1,
316                  "",
317                  "");
318        I_Method1(void, apply, IN, osg::Sequence &, node,
319                  Properties::VIRTUAL,
320                  __void__apply__Sequence_R1,
321                  "",
322                  "");
323        I_Method1(void, apply, IN, osg::LOD &, node,
324                  Properties::VIRTUAL,
325                  __void__apply__LOD_R1,
326                  "",
327                  "");
328        I_Method1(void, apply, IN, osg::PagedLOD &, node,
329                  Properties::VIRTUAL,
330                  __void__apply__PagedLOD_R1,
331                  "",
332                  "");
333        I_Method1(void, apply, IN, osg::ClearNode &, node,
334                  Properties::VIRTUAL,
335                  __void__apply__ClearNode_R1,
336                  "",
337                  "");
338        I_Method1(void, apply, IN, osg::OccluderNode &, node,
339                  Properties::VIRTUAL,
340                  __void__apply__OccluderNode_R1,
341                  "",
342                  "");
343        I_Method1(void, apply, IN, osg::OcclusionQueryNode &, node,
344                  Properties::VIRTUAL,
345                  __void__apply__OcclusionQueryNode_R1,
346                  "",
347                  "");
348        I_Method1(void, setDatabaseRequestHandler, IN, osg::NodeVisitor::DatabaseRequestHandler *, handler,
349                  Properties::NON_VIRTUAL,
350                  __void__setDatabaseRequestHandler__DatabaseRequestHandler_P1,
351                  "Set the handler for database requests. ",
352                  "");
353        I_Method0(osg::NodeVisitor::DatabaseRequestHandler *, getDatabaseRequestHandler,
354                  Properties::NON_VIRTUAL,
355                  __DatabaseRequestHandler_P1__getDatabaseRequestHandler,
356                  "Get the handler for database requests. ",
357                  "");
358        I_Method0(const osg::NodeVisitor::DatabaseRequestHandler *, getDatabaseRequestHandler,
359                  Properties::NON_VIRTUAL,
360                  __C5_DatabaseRequestHandler_P1__getDatabaseRequestHandler,
361                  "Get the const handler for database requests. ",
362                  "");
363        I_Method1(void, setImageRequestHandler, IN, osg::NodeVisitor::ImageRequestHandler *, handler,
364                  Properties::NON_VIRTUAL,
365                  __void__setImageRequestHandler__ImageRequestHandler_P1,
366                  "Set the handler for image requests. ",
367                  "");
368        I_Method0(osg::NodeVisitor::ImageRequestHandler *, getImageRequestHandler,
369                  Properties::NON_VIRTUAL,
370                  __ImageRequestHandler_P1__getImageRequestHandler,
371                  "Get the handler for image requests. ",
372                  "");
373        I_Method0(const osg::NodeVisitor::ImageRequestHandler *, getImageRequestHandler,
374                  Properties::NON_VIRTUAL,
375                  __C5_ImageRequestHandler_P1__getImageRequestHandler,
376                  "Get the const handler for image requests. ",
377                  "");
378        I_SimpleProperty(osg::NodeVisitor::DatabaseRequestHandler *, DatabaseRequestHandler,
379                         __DatabaseRequestHandler_P1__getDatabaseRequestHandler,
380                         __void__setDatabaseRequestHandler__DatabaseRequestHandler_P1);
381        I_SimpleProperty(osg::Vec3, EyePoint,
382                         __osg_Vec3__getEyePoint,
383                         0);
384        I_SimpleProperty(osg::FrameStamp *, FrameStamp,
385                         0,
386                         __void__setFrameStamp__FrameStamp_P1);
387        I_SimpleProperty(osg::NodeVisitor::ImageRequestHandler *, ImageRequestHandler,
388                         __ImageRequestHandler_P1__getImageRequestHandler,
389                         __void__setImageRequestHandler__ImageRequestHandler_P1);
390        I_SimpleProperty(osg::Node::NodeMask, NodeMaskOverride,
391                         __Node_NodeMask__getNodeMaskOverride,
392                         __void__setNodeMaskOverride__Node_NodeMask);
393        I_SimpleProperty(osg::NodePath &, NodePath,
394                         __NodePath_R1__getNodePath,
395                         0);
396        I_SimpleProperty(osg::Node::NodeMask, TraversalMask,
397                         __Node_NodeMask__getTraversalMask,
398                         __void__setTraversalMask__Node_NodeMask);
399        I_SimpleProperty(osg::NodeVisitor::TraversalMode, TraversalMode,
400                         __TraversalMode__getTraversalMode,
401                         __void__setTraversalMode__TraversalMode);
402        I_SimpleProperty(int, TraversalNumber,
403                         __int__getTraversalNumber,
404                         __void__setTraversalNumber__int);
405        I_SimpleProperty(osg::Referenced *, UserData,
406                         __Referenced_P1__getUserData,
407                         __void__setUserData__Referenced_P1);
408        I_SimpleProperty(osg::Vec3, ViewPoint,
409                         __osg_Vec3__getViewPoint,
410                         0);
411        I_SimpleProperty(osg::NodeVisitor::VisitorType, VisitorType,
412                         __VisitorType__getVisitorType,
413                         __void__setVisitorType__VisitorType);
414END_REFLECTOR
415
416BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::NodeVisitor::DatabaseRequestHandler)
417        I_DeclaringFile("osg/NodeVisitor");
418        I_BaseType(osg::Referenced);
419        I_Constructor0(____DatabaseRequestHandler,
420                       "",
421                       "");
422        I_MethodWithDefaults6(void, requestNodeFile, IN, const std::string &, fileName, , IN, osg::Group *, group, , IN, float, priority, , IN, const osg::FrameStamp *, framestamp, , IN, osg::ref_ptr< osg::Referenced > &, databaseRequest, , IN, const osg::Referenced *, options, 0,
423                              Properties::PURE_VIRTUAL,
424                              __void__requestNodeFile__C5_std_string_R1__osg_Group_P1__float__C5_FrameStamp_P1__osg_ref_ptrT1_osg_Referenced__R1__C5_osg_Referenced_P1,
425                              "",
426                              "");
427END_REFLECTOR
428
429BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::NodeVisitor::ImageRequestHandler)
430        I_DeclaringFile("osg/NodeVisitor");
431        I_BaseType(osg::Referenced);
432        I_Constructor0(____ImageRequestHandler,
433                       "",
434                       "");
435        I_Method0(double, getPreLoadTime,
436                  Properties::PURE_VIRTUAL,
437                  __double__getPreLoadTime,
438                  "",
439                  "");
440        I_Method1(osg::Image *, readImageFile, IN, const std::string &, fileName,
441                  Properties::PURE_VIRTUAL,
442                  __osg_Image_P1__readImageFile__C5_std_string_R1,
443                  "",
444                  "");
445        I_Method5(void, requestImageFile, IN, const std::string &, fileName, IN, osg::Object *, attachmentPoint, IN, int, attachmentIndex, IN, double, timeToMergeBy, IN, const osg::FrameStamp *, framestamp,
446                  Properties::PURE_VIRTUAL,
447                  __void__requestImageFile__C5_std_string_R1__osg_Object_P1__int__double__C5_FrameStamp_P1,
448                  "",
449                  "");
450        I_SimpleProperty(double, PreLoadTime,
451                         __double__getPreLoadTime,
452                         0);
453END_REFLECTOR
454
455BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osg::Referenced >)
456        I_DeclaringFile("osg/ref_ptr");
457        I_Constructor0(____ref_ptr,
458                       "",
459                       "");
460        I_Constructor1(IN, osg::Referenced *, ptr,
461                       Properties::NON_EXPLICIT,
462                       ____ref_ptr__T_P1,
463                       "",
464                       "");
465        I_Constructor1(IN, const osg::ref_ptr< osg::Referenced > &, rp,
466                       Properties::NON_EXPLICIT,
467                       ____ref_ptr__C5_ref_ptr_R1,
468                       "",
469                       "");
470        I_Method0(osg::Referenced *, get,
471                  Properties::NON_VIRTUAL,
472                  __T_P1__get,
473                  "",
474                  "");
475        I_Method0(bool, valid,
476                  Properties::NON_VIRTUAL,
477                  __bool__valid,
478                  "",
479                  "");
480        I_Method0(osg::Referenced *, release,
481                  Properties::NON_VIRTUAL,
482                  __T_P1__release,
483                  "",
484                  "");
485        I_Method1(void, swap, IN, osg::ref_ptr< osg::Referenced > &, rp,
486                  Properties::NON_VIRTUAL,
487                  __void__swap__ref_ptr_R1,
488                  "",
489                  "");
490        I_SimpleProperty(osg::Referenced *, ,
491                         __T_P1__get,
492                         0);
493END_REFLECTOR
Note: See TracBrowser for help on using the browser.