root/OpenSceneGraph/trunk/src/osgWrappers/osgDB/DatabasePager.cpp @ 7074

Revision 7074, 24.1 kB (checked in by robert, 7 years ago)

Added include/osg/GLObjects + .cpp which provide osg::flush*DeletedGLObjects() methods.

Added and cleaned up DeleteHandler? calls in osgViewer to help avoid crashes on exit.

Changed DatabasePager? across to dynamically checcking osg::getCompileContext(..)

Updated wrappers.

  • 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/FrameStamp>
14#include <osg/GraphicsContext>
15#include <osg/GraphicsThread>
16#include <osg/Group>
17#include <osg/Node>
18#include <osg/PagedLOD>
19#include <osg/State>
20#include <osgDB/DatabasePager>
21#include <osgDB/ReaderWriter>
22
23// Must undefine IN and OUT macros defined in Windows headers
24#ifdef IN
25#undef IN
26#endif
27#ifdef OUT
28#undef OUT
29#endif
30
31TYPE_NAME_ALIAS(OpenThreads::Thread::ThreadPriority, osgDB::DatabasePager::ThreadPriority)
32
33TYPE_NAME_ALIAS(std::list< osg::ref_ptr< osg::PagedLOD > >, osgDB::DatabasePager::PagedLODList)
34
35TYPE_NAME_ALIAS(std::set< osg::ref_ptr< osg::StateSet > >, osgDB::DatabasePager::StateSetList)
36
37TYPE_NAME_ALIAS(std::vector< osg::ref_ptr< osg::Drawable > >, osgDB::DatabasePager::DrawableList)
38
39TYPE_NAME_ALIAS(std::pair< osgDB::DatabasePager::StateSetList COMMA  osgDB::DatabasePager::DrawableList >, osgDB::DatabasePager::DataToCompile)
40
41TYPE_NAME_ALIAS(std::map< unsigned int COMMA  osgDB::DatabasePager::DataToCompile >, osgDB::DatabasePager::DataToCompileMap)
42
43TYPE_NAME_ALIAS(std::set< unsigned int >, osgDB::DatabasePager::ActiveGraphicsContexts)
44
45TYPE_NAME_ALIAS(std::vector< osg::observer_ptr< osg::GraphicsContext > >, osgDB::DatabasePager::CompileGraphicsContexts)
46
47BEGIN_ENUM_REFLECTOR(osgDB::DatabasePager::DrawablePolicy)
48        I_DeclaringFile("osgDB/DatabasePager");
49        I_EnumLabel(osgDB::DatabasePager::DO_NOT_MODIFY_DRAWABLE_SETTINGS);
50        I_EnumLabel(osgDB::DatabasePager::USE_DISPLAY_LISTS);
51        I_EnumLabel(osgDB::DatabasePager::USE_VERTEX_BUFFER_OBJECTS);
52        I_EnumLabel(osgDB::DatabasePager::USE_VERTEX_ARRAYS);
53END_REFLECTOR
54
55BEGIN_OBJECT_REFLECTOR(osgDB::DatabasePager)
56        I_DeclaringFile("osgDB/DatabasePager");
57        I_BaseType(osg::NodeVisitor::DatabaseRequestHandler);
58        I_BaseType(OpenThreads::Thread);
59        I_Constructor0(____DatabasePager,
60                       "",
61                       "");
62        I_Method4(void, requestNodeFile, IN, const std::string &, fileName, IN, osg::Group *, group, IN, float, priority, IN, const osg::FrameStamp *, framestamp,
63                  Properties::VIRTUAL,
64                  __void__requestNodeFile__C5_std_string_R1__osg_Group_P1__float__C5_osg_FrameStamp_P1,
65                  "Add a request to load a node file to end the the database request list. ",
66                  "");
67        I_Method5(void, requestNodeFile, IN, const std::string &, fileName, IN, osg::Group *, group, IN, float, priority, IN, const osg::FrameStamp *, framestamp, IN, osgDB::ReaderWriter::Options *, loadOptions,
68                  Properties::VIRTUAL,
69                  __void__requestNodeFile__C5_std_string_R1__osg_Group_P1__float__C5_osg_FrameStamp_P1__ReaderWriter_Options_P1,
70                  "",
71                  "");
72        I_Method0(void, run,
73                  Properties::VIRTUAL,
74                  __void__run,
75                  "Run does the database paging. ",
76                  "");
77        I_Method0(int, cancel,
78                  Properties::VIRTUAL,
79                  __int__cancel,
80                  "Cancel the database pager thread. ",
81                  "");
82        I_Method0(void, clear,
83                  Properties::VIRTUAL,
84                  __void__clear,
85                  "Clear all internally cached structures. ",
86                  "");
87        I_Method1(void, setDatabasePagerThreadPause, IN, bool, pause,
88                  Properties::NON_VIRTUAL,
89                  __void__setDatabasePagerThreadPause__bool,
90                  "Set whether the database pager thread should be paused or not. ",
91                  "");
92        I_Method0(bool, getDatabasePagerThreadPause,
93                  Properties::NON_VIRTUAL,
94                  __bool__getDatabasePagerThreadPause,
95                  "Get whether the database pager thread should is paused or not. ",
96                  "");
97        I_Method1(void, setAcceptNewDatabaseRequests, IN, bool, acceptNewRequests,
98                  Properties::NON_VIRTUAL,
99                  __void__setAcceptNewDatabaseRequests__bool,
100                  "Set whether new database request calls are accepted or ignored. ",
101                  "");
102        I_Method0(bool, getAcceptNewDatabaseRequests,
103                  Properties::NON_VIRTUAL,
104                  __bool__getAcceptNewDatabaseRequests,
105                  "Get whether new database request calls are accepted or ignored. ",
106                  "");
107        I_Method1(void, setUseFrameBlock, IN, bool, useFrameBlock,
108                  Properties::NON_VIRTUAL,
109                  __void__setUseFrameBlock__bool,
110                  "Set the use of the frame block which, if enabled, blocks the DatabasePager from executing which the current frame is being drawn. ",
111                  "When a single processor machine is being used it can be useful to block on frame to help prevent the database paging thread from slowing the cull and draw traversals which in turn can cause frame drops. ");
112        I_Method0(bool, getUseFrameBlock,
113                  Properties::NON_VIRTUAL,
114                  __bool__getUseFrameBlock,
115                  "Get the whether UseFrameBlock is on or off. ",
116                  "");
117        I_Method0(osg::RefBlock *, getFrameBlock,
118                  Properties::NON_VIRTUAL,
119                  __osg_RefBlock_P1__getFrameBlock,
120                  "",
121                  "");
122        I_Method1(void, setThreadPriorityDuringFrame, IN, osgDB::DatabasePager::ThreadPriority, duringFrame,
123                  Properties::NON_VIRTUAL,
124                  __void__setThreadPriorityDuringFrame__ThreadPriority,
125                  "Set the priority of the database pager thread during the frame (i.e. ",
126                  "while cull and draw are running.) ");
127        I_Method0(osgDB::DatabasePager::ThreadPriority, getThreadPriorityDuringFrame,
128                  Properties::NON_VIRTUAL,
129                  __ThreadPriority__getThreadPriorityDuringFrame,
130                  "Get the priority of the database pager thread during the frame. ",
131                  "");
132        I_Method1(void, setThreadPriorityOutwithFrame, IN, osgDB::DatabasePager::ThreadPriority, outwithFrame,
133                  Properties::NON_VIRTUAL,
134                  __void__setThreadPriorityOutwithFrame__ThreadPriority,
135                  "Set the priority of the database pager thread when the frame is not being exectuted (i.e. ",
136                  "before or after cull and draw have run.) ");
137        I_Method0(osgDB::DatabasePager::ThreadPriority, getThreadPriorityOutwithFrame,
138                  Properties::NON_VIRTUAL,
139                  __ThreadPriority__getThreadPriorityOutwithFrame,
140                  "Get the priority of the database pager thread when the frame is not being exectuted. ",
141                  "");
142        I_Method0(int, getNumFramesActive,
143                  Properties::NON_VIRTUAL,
144                  __int__getNumFramesActive,
145                  "Get the number of frames that are currently active. ",
146                  "");
147        I_Method1(void, signalBeginFrame, IN, const osg::FrameStamp *, framestamp,
148                  Properties::VIRTUAL,
149                  __void__signalBeginFrame__C5_osg_FrameStamp_P1,
150                  "Signal the database thread that the update, cull and draw has begun for a new frame. ",
151                  "Note, this is called by the application so that the database pager can go to sleep while the CPU is busy on the main rendering threads. ");
152        I_Method0(void, signalEndFrame,
153                  Properties::VIRTUAL,
154                  __void__signalEndFrame,
155                  "Signal the database thread that the update, cull and draw dispatch has completed. ",
156                  "Note, this is called by the application so that the database pager can go to wake back up now the main rendering threads are iddle waiting for the next frame. ");
157        I_Method1(void, registerPagedLODs, IN, osg::Node *, subgraph,
158                  Properties::VIRTUAL,
159                  __void__registerPagedLODs__osg_Node_P1,
160                  "Find all PagedLOD nodes in a subgraph and register them with the DatabasePager so it can keep track of expired nodes. ",
161                  "note, should be only be called from the update thread. ");
162        I_Method1(void, setDoPreCompile, IN, bool, flag,
163                  Properties::NON_VIRTUAL,
164                  __void__setDoPreCompile__bool,
165                  "Set whether the database pager should pre compile OpenGL objects before allowing them to be merged into the scene graph. ",
166                  "Pre compilation helps reduce the chances of frame drops, but also slows the speed at which tiles are merged as they have to be compiled first. ");
167        I_Method0(bool, getDoPreCompile,
168                  Properties::NON_VIRTUAL,
169                  __bool__getDoPreCompile,
170                  "Get whether the database pager should pre compile OpenGL objects before allowing them to be merged into the scene graph. ",
171                  "");
172        I_Method1(void, setTargetFrameRate, IN, double, tfr,
173                  Properties::NON_VIRTUAL,
174                  __void__setTargetFrameRate__double,
175                  "Set the target frame rate that the DatabasePager should assume. ",
176                  "Typically one would set this to the value refresh rate of your display system i.e. 60Hz. Default value is 100. Usage notes. The TargetFrameRate and the MinimumTimeAvailableForGLCompileAndDeletePerFrame parameters are not directly used by DatabasePager, but are should be used as a guide for how long to set aside per frame for compiling and deleting OpenGL objects - ie. the value to use when calling DatabasePager::compileGLObjectgs(state,availableTime,). The longer amount of time to set aside cthe faster databases will be paged in but with increased chance of frame drops, the lower the amount of time the set aside the slower databases will paged it but with better chance of avoid any frame drops. The default values are chosen to achieve the later when running on a modern mid to high end PC. The way to compute the amount of available time use a scheme such as : availableTime = maximum(1.0/targetFrameRate - timeTakenDuringUpdateCullAndDraw, minimumTimeAvailableForGLCompileAndDeletePerFrame).");
177        I_Method0(double, getTargetFrameRate,
178                  Properties::NON_VIRTUAL,
179                  __double__getTargetFrameRate,
180                  "Get the target frame rate that the DatabasePager should assume. ",
181                  "");
182        I_Method1(void, setMinimumTimeAvailableForGLCompileAndDeletePerFrame, IN, double, ta,
183                  Properties::NON_VIRTUAL,
184                  __void__setMinimumTimeAvailableForGLCompileAndDeletePerFrame__double,
185                  "Set the minimum amount of time (in seconds) that should be made available for compiling and delete OpenGL objects per frame. ",
186                  "Default value is 0.001 (1 millisecond). For usage see notes in setTargetFrameRate. ");
187        I_Method0(double, getMinimumTimeAvailableForGLCompileAndDeletePerFrame,
188                  Properties::NON_VIRTUAL,
189                  __double__getMinimumTimeAvailableForGLCompileAndDeletePerFrame,
190                  "Get the minimum amount of time that should be made available for compiling and delete OpenGL objects per frame. ",
191                  "For usage see notes in setTargetFrameRate. ");
192        I_Method1(void, setMaximumNumOfObjectsToCompilePerFrame, IN, unsigned int, num,
193                  Properties::NON_VIRTUAL,
194                  __void__setMaximumNumOfObjectsToCompilePerFrame__unsigned_int,
195                  "Set the maximum number of OpenGL objects that the page should attempt to compile per frame. ",
196                  "Note, Lower values reduces chances of a frame drop but lower the rate that database will be paged in at. Default value is 8. ");
197        I_Method0(unsigned int, getMaximumNumOfObjectsToCompilePerFrame,
198                  Properties::NON_VIRTUAL,
199                  __unsigned_int__getMaximumNumOfObjectsToCompilePerFrame,
200                  "Get the maximum number of OpenGL objects that the page should attempt to compile per frame. ",
201                  "");
202        I_Method1(void, setExpiryDelay, IN, double, expiryDelay,
203                  Properties::NON_VIRTUAL,
204                  __void__setExpiryDelay__double,
205                  "Set the amount of time that a subgraph will be kept without being visited in the cull traversal before being removed. ",
206                  "");
207        I_Method0(double, getExpiryDelay,
208                  Properties::NON_VIRTUAL,
209                  __double__getExpiryDelay,
210                  "Get the amount of time that a subgraph will be kept without being visited in the cull traversal before being removed. ",
211                  "");
212        I_Method1(void, setDeleteRemovedSubgraphsInDatabaseThread, IN, bool, flag,
213                  Properties::NON_VIRTUAL,
214                  __void__setDeleteRemovedSubgraphsInDatabaseThread__bool,
215                  "Set whether the removed subgraphs should be deleted in the database thread or not. ",
216                  "");
217        I_Method0(bool, getDeleteRemovedSubgraphsInDatabaseThread,
218                  Properties::NON_VIRTUAL,
219                  __bool__getDeleteRemovedSubgraphsInDatabaseThread,
220                  "Get whether the removed subgraphs should be deleted in the database thread or not. ",
221                  "");
222        I_Method1(void, setDrawablePolicy, IN, osgDB::DatabasePager::DrawablePolicy, policy,
223                  Properties::NON_VIRTUAL,
224                  __void__setDrawablePolicy__DrawablePolicy,
225                  "Set how loaded drawables should be handled w.r.t their display list/vertex buffer object/vertex array settings. ",
226                  "");
227        I_Method0(osgDB::DatabasePager::DrawablePolicy, getDrawablePolicy,
228                  Properties::NON_VIRTUAL,
229                  __DrawablePolicy__getDrawablePolicy,
230                  "Get how loaded drawables should be handled w.r.t their display list/vertex buffer object/vertex array settings. ",
231                  "");
232        I_Method2(void, setUnrefImageDataAfterApplyPolicy, IN, bool, changeAutoUnRef, IN, bool, valueAutoUnRef,
233                  Properties::NON_VIRTUAL,
234                  __void__setUnrefImageDataAfterApplyPolicy__bool__bool,
235                  "Set whether newly loaded textures should have their UnrefImageDataAfterApply set to a specified value. ",
236                  "");
237        I_Method2(void, getUnrefImageDataAfterApplyPolicy, IN, bool &, changeAutoUnRef, IN, bool &, valueAutoUnRef,
238                  Properties::NON_VIRTUAL,
239                  __void__getUnrefImageDataAfterApplyPolicy__bool_R1__bool_R1,
240                  "Get whether newly loaded textures should have their UnrefImageDataAfterApply set to a specified value. ",
241                  "");
242        I_Method2(void, setMaxAnisotropyPolicy, IN, bool, changeAnisotropy, IN, float, valueAnisotropy,
243                  Properties::NON_VIRTUAL,
244                  __void__setMaxAnisotropyPolicy__bool__float,
245                  "Set whether newly loaded textures should have their MaxAnisotopy set to a specified value. ",
246                  "");
247        I_Method2(void, getMaxAnisotropyPolicy, IN, bool &, changeAnisotropy, IN, float &, valueAnisotropy,
248                  Properties::NON_VIRTUAL,
249                  __void__getMaxAnisotropyPolicy__bool_R1__float_R1,
250                  "Set whether newly loaded textures should have their MaxAnisotopy set to a specified value. ",
251                  "");
252        I_Method0(bool, requiresUpdateSceneGraph,
253                  Properties::NON_VIRTUAL,
254                  __bool__requiresUpdateSceneGraph,
255                  "Return true if there are pending updates to the scene graph that require a call to updateSceneGraph(double). ",
256                  "");
257        I_Method1(void, updateSceneGraph, IN, double, currentFrameTime,
258                  Properties::VIRTUAL,
259                  __void__updateSceneGraph__double,
260                  "Merge the changes to the scene graph by calling calling removeExpiredSubgraphs then addLoadedDataToSceneGraph. ",
261                  "Note, must only be called from single thread update phase. ");
262        I_Method2(void, setCompileGLObjectsForContextID, IN, unsigned int, contextID, IN, bool, on,
263                  Properties::NON_VIRTUAL,
264                  __void__setCompileGLObjectsForContextID__unsigned_int__bool,
265                  "Turn the compilation of rendering objects for specfied graphics context on (true) or off(false). ",
266                  "");
267        I_Method1(bool, getCompileGLObjectsForContextID, IN, unsigned int, contextID,
268                  Properties::NON_VIRTUAL,
269                  __bool__getCompileGLObjectsForContextID__unsigned_int,
270                  "Get whether the compilation of rendering objects for specfied graphics context on (true) or off(false). ",
271                  "");
272        I_Method1(bool, requiresExternalCompileGLObjects, IN, unsigned int, contextID,
273                  Properties::NON_VIRTUAL,
274                  __bool__requiresExternalCompileGLObjects__unsigned_int,
275                  "Rerturn true if an external draw thread should call compileGLObjects(. ",
276                  ".) or not. ");
277        I_Method0(bool, requiresCompileGLObjects,
278                  Properties::NON_VIRTUAL,
279                  __bool__requiresCompileGLObjects,
280                  "Return true if there are pending compile operations that are required. ",
281                  "If requiresCompileGLObjects() return true the application should call compileGLObjects() . ");
282        I_Method2(void, compileGLObjects, IN, osg::State &, state, IN, double &, availableTime,
283                  Properties::VIRTUAL,
284                  __void__compileGLObjects__osg_State_R1__double_R1,
285                  "Compile the rendering objects (display lists,texture objects, VBO's) on loaded subgraph. ",
286                  "note, should only be called from the draw thread. Note, must only be called from a valid graphics context. ");
287        I_Method1(void, compileAllGLObjects, IN, osg::State &, state,
288                  Properties::VIRTUAL,
289                  __void__compileAllGLObjects__osg_State_R1,
290                  "Compile the rendering objects (display lists,texture objects, VBO's) on loaded subgraph. ",
291                  "note, should only be called from the draw thread. Note, must only be called from a valid graphics context. ");
292        I_Method0(unsigned int, getFileRequestListSize,
293                  Properties::NON_VIRTUAL,
294                  __unsigned_int__getFileRequestListSize,
295                  "Report how many items are in the _fileRequestList queue. ",
296                  "");
297        I_Method0(unsigned int, getDataToCompileListSize,
298                  Properties::NON_VIRTUAL,
299                  __unsigned_int__getDataToCompileListSize,
300                  "Report how many items are in the _dataToCompileList queue. ",
301                  "");
302        I_ProtectedMethod0(void, updateDatabasePagerThreadBlock,
303                           Properties::NON_VIRTUAL,
304                           Properties::NON_CONST,
305                           __void__updateDatabasePagerThreadBlock,
306                           "",
307                           "");
308        I_ProtectedMethod1(void, updateFrameBlock, IN, int, delta,
309                           Properties::NON_VIRTUAL,
310                           Properties::NON_CONST,
311                           __void__updateFrameBlock__int,
312                           "",
313                           "");
314        I_ProtectedMethod1(void, removeExpiredSubgraphs, IN, double, currentFrameTime,
315                           Properties::VIRTUAL,
316                           Properties::NON_CONST,
317                           __void__removeExpiredSubgraphs__double,
318                           "Iterate through the active PagedLOD nodes children removing children which havn't been visited since specified expiryTime. ",
319                           "note, should be only be called from the update thread. ");
320        I_ProtectedMethod1(void, addLoadedDataToSceneGraph, IN, double, currentFrameTime,
321                           Properties::NON_VIRTUAL,
322                           Properties::NON_CONST,
323                           __void__addLoadedDataToSceneGraph__double,
324                           "Add the loaded data to the scene graph. ",
325                           "");
326        I_SimpleProperty(bool, AcceptNewDatabaseRequests,
327                         __bool__getAcceptNewDatabaseRequests,
328                         __void__setAcceptNewDatabaseRequests__bool);
329        I_IndexedProperty(bool, CompileGLObjectsForContextID,
330                          __bool__getCompileGLObjectsForContextID__unsigned_int,
331                          __void__setCompileGLObjectsForContextID__unsigned_int__bool,
332                          0);
333        I_SimpleProperty(unsigned int, DataToCompileListSize,
334                         __unsigned_int__getDataToCompileListSize,
335                         0);
336        I_SimpleProperty(bool, DatabasePagerThreadPause,
337                         __bool__getDatabasePagerThreadPause,
338                         __void__setDatabasePagerThreadPause__bool);
339        I_SimpleProperty(bool, DeleteRemovedSubgraphsInDatabaseThread,
340                         __bool__getDeleteRemovedSubgraphsInDatabaseThread,
341                         __void__setDeleteRemovedSubgraphsInDatabaseThread__bool);
342        I_SimpleProperty(bool, DoPreCompile,
343                         __bool__getDoPreCompile,
344                         __void__setDoPreCompile__bool);
345        I_SimpleProperty(osgDB::DatabasePager::DrawablePolicy, DrawablePolicy,
346                         __DrawablePolicy__getDrawablePolicy,
347                         __void__setDrawablePolicy__DrawablePolicy);
348        I_SimpleProperty(double, ExpiryDelay,
349                         __double__getExpiryDelay,
350                         __void__setExpiryDelay__double);
351        I_SimpleProperty(unsigned int, FileRequestListSize,
352                         __unsigned_int__getFileRequestListSize,
353                         0);
354        I_SimpleProperty(osg::RefBlock *, FrameBlock,
355                         __osg_RefBlock_P1__getFrameBlock,
356                         0);
357        I_SimpleProperty(unsigned int, MaximumNumOfObjectsToCompilePerFrame,
358                         __unsigned_int__getMaximumNumOfObjectsToCompilePerFrame,
359                         __void__setMaximumNumOfObjectsToCompilePerFrame__unsigned_int);
360        I_SimpleProperty(double, MinimumTimeAvailableForGLCompileAndDeletePerFrame,
361                         __double__getMinimumTimeAvailableForGLCompileAndDeletePerFrame,
362                         __void__setMinimumTimeAvailableForGLCompileAndDeletePerFrame__double);
363        I_SimpleProperty(double, TargetFrameRate,
364                         __double__getTargetFrameRate,
365                         __void__setTargetFrameRate__double);
366        I_SimpleProperty(osgDB::DatabasePager::ThreadPriority, ThreadPriorityDuringFrame,
367                         __ThreadPriority__getThreadPriorityDuringFrame,
368                         __void__setThreadPriorityDuringFrame__ThreadPriority);
369        I_SimpleProperty(osgDB::DatabasePager::ThreadPriority, ThreadPriorityOutwithFrame,
370                         __ThreadPriority__getThreadPriorityOutwithFrame,
371                         __void__setThreadPriorityOutwithFrame__ThreadPriority);
372        I_SimpleProperty(bool, UseFrameBlock,
373                         __bool__getUseFrameBlock,
374                         __void__setUseFrameBlock__bool);
375END_REFLECTOR
376
377BEGIN_OBJECT_REFLECTOR(osg::observer_ptr< osg::GraphicsContext >)
378        I_DeclaringFile("osg/observer_ptr");
379        I_BaseType(osg::Observer);
380        I_Constructor0(____observer_ptr,
381                       "",
382                       "");
383        I_Constructor1(IN, osg::GraphicsContext *, t,
384                       Properties::NON_EXPLICIT,
385                       ____observer_ptr__T_P1,
386                       "",
387                       "");
388        I_Constructor1(IN, const osg::observer_ptr< osg::GraphicsContext > &, rp,
389                       Properties::NON_EXPLICIT,
390                       ____observer_ptr__C5_observer_ptr_R1,
391                       "",
392                       "");
393        I_Method1(void, objectDeleted, IN, void *, x,
394                  Properties::VIRTUAL,
395                  __void__objectDeleted__void_P1,
396                  "",
397                  "");
398        I_Method0(bool, valid,
399                  Properties::NON_VIRTUAL,
400                  __bool__valid,
401                  "",
402                  "");
403        I_Method0(osg::GraphicsContext *, get,
404                  Properties::NON_VIRTUAL,
405                  __T_P1__get,
406                  "",
407                  "");
408        I_Method0(const osg::GraphicsContext *, get,
409                  Properties::NON_VIRTUAL,
410                  __C5_T_P1__get,
411                  "",
412                  "");
413        I_SimpleProperty(osg::GraphicsContext *, ,
414                         __T_P1__get,
415                         0);
416END_REFLECTOR
417
418BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osg::PagedLOD >)
419        I_DeclaringFile("osg/ref_ptr");
420        I_Constructor0(____ref_ptr,
421                       "",
422                       "");
423        I_Constructor1(IN, osg::PagedLOD *, ptr,
424                       Properties::NON_EXPLICIT,
425                       ____ref_ptr__T_P1,
426                       "",
427                       "");
428        I_Constructor1(IN, const osg::ref_ptr< osg::PagedLOD > &, rp,
429                       Properties::NON_EXPLICIT,
430                       ____ref_ptr__C5_ref_ptr_R1,
431                       "",
432                       "");
433        I_Method0(osg::PagedLOD *, get,
434                  Properties::NON_VIRTUAL,
435                  __T_P1__get,
436                  "",
437                  "");
438        I_Method0(bool, valid,
439                  Properties::NON_VIRTUAL,
440                  __bool__valid,
441                  "",
442                  "");
443        I_Method0(osg::PagedLOD *, release,
444                  Properties::NON_VIRTUAL,
445                  __T_P1__release,
446                  "",
447                  "");
448        I_Method1(void, swap, IN, osg::ref_ptr< osg::PagedLOD > &, rp,
449                  Properties::NON_VIRTUAL,
450                  __void__swap__ref_ptr_R1,
451                  "",
452                  "");
453        I_SimpleProperty(osg::PagedLOD *, ,
454                         __T_P1__get,
455                         0);
456END_REFLECTOR
457
458STD_LIST_REFLECTOR(std::list< osg::ref_ptr< osg::PagedLOD > >)
459
460STD_MAP_REFLECTOR(std::map< unsigned int COMMA  osgDB::DatabasePager::DataToCompile >)
461
462STD_PAIR_REFLECTOR(std::pair< osgDB::DatabasePager::StateSetList COMMA  osgDB::DatabasePager::DrawableList >)
463
464STD_SET_REFLECTOR(std::set< osg::ref_ptr< osg::StateSet > >)
465
466STD_SET_REFLECTOR(std::set< unsigned int >)
467
468STD_VECTOR_REFLECTOR(std::vector< osg::observer_ptr< osg::GraphicsContext > >)
Note: See TracBrowser for help on using the browser.