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

Revision 7024, 24.7 kB (checked in by robert, 7 years ago)

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_Method1(void, addCompileGraphicsContext, IN, osg::GraphicsContext *, gc,
263                  Properties::NON_VIRTUAL,
264                  __void__addCompileGraphicsContext__osg_GraphicsContext_P1,
265                  "Add a graphics context that should be used to compile/delete OpenGL objects. ",
266                  "");
267        I_Method1(void, removeCompileGraphicsContext, IN, osg::GraphicsContext *, gc,
268                  Properties::NON_VIRTUAL,
269                  __void__removeCompileGraphicsContext__osg_GraphicsContext_P1,
270                  "Removed a graphics context that should be used to compile/delete OpenGL objects. ",
271                  "");
272        I_Method2(void, setCompileGLObjectsForContextID, IN, unsigned int, contextID, IN, bool, on,
273                  Properties::NON_VIRTUAL,
274                  __void__setCompileGLObjectsForContextID__unsigned_int__bool,
275                  "Turn the compilation of rendering objects for specfied graphics context on (true) or off(false). ",
276                  "");
277        I_Method1(bool, getCompileGLObjectsForContextID, IN, unsigned int, contextID,
278                  Properties::NON_VIRTUAL,
279                  __bool__getCompileGLObjectsForContextID__unsigned_int,
280                  "Get whether the compilation of rendering objects for specfied graphics context on (true) or off(false). ",
281                  "");
282        I_Method1(bool, requiresExternalCompileGLObjects, IN, unsigned int, contextID,
283                  Properties::NON_VIRTUAL,
284                  __bool__requiresExternalCompileGLObjects__unsigned_int,
285                  "Rerturn true if an external draw thread should call compileGLObjects(. ",
286                  ".) or not. ");
287        I_Method0(bool, requiresCompileGLObjects,
288                  Properties::NON_VIRTUAL,
289                  __bool__requiresCompileGLObjects,
290                  "Return true if there are pending compile operations that are required. ",
291                  "If requiresCompileGLObjects() return true the application should call compileGLObjects() . ");
292        I_Method2(void, compileGLObjects, IN, osg::State &, state, IN, double &, availableTime,
293                  Properties::VIRTUAL,
294                  __void__compileGLObjects__osg_State_R1__double_R1,
295                  "Compile the rendering objects (display lists,texture objects, VBO's) on loaded subgraph. ",
296                  "note, should only be called from the draw thread. Note, must only be called from a valid graphics context. ");
297        I_Method1(void, compileAllGLObjects, IN, osg::State &, state,
298                  Properties::VIRTUAL,
299                  __void__compileAllGLObjects__osg_State_R1,
300                  "Compile the rendering objects (display lists,texture objects, VBO's) on loaded subgraph. ",
301                  "note, should only be called from the draw thread. Note, must only be called from a valid graphics context. ");
302        I_Method0(unsigned int, getFileRequestListSize,
303                  Properties::NON_VIRTUAL,
304                  __unsigned_int__getFileRequestListSize,
305                  "Report how many items are in the _fileRequestList queue. ",
306                  "");
307        I_Method0(unsigned int, getDataToCompileListSize,
308                  Properties::NON_VIRTUAL,
309                  __unsigned_int__getDataToCompileListSize,
310                  "Report how many items are in the _dataToCompileList queue. ",
311                  "");
312        I_ProtectedMethod0(void, updateDatabasePagerThreadBlock,
313                           Properties::NON_VIRTUAL,
314                           Properties::NON_CONST,
315                           __void__updateDatabasePagerThreadBlock,
316                           "",
317                           "");
318        I_ProtectedMethod1(void, updateFrameBlock, IN, int, delta,
319                           Properties::NON_VIRTUAL,
320                           Properties::NON_CONST,
321                           __void__updateFrameBlock__int,
322                           "",
323                           "");
324        I_ProtectedMethod1(void, removeExpiredSubgraphs, IN, double, currentFrameTime,
325                           Properties::VIRTUAL,
326                           Properties::NON_CONST,
327                           __void__removeExpiredSubgraphs__double,
328                           "Iterate through the active PagedLOD nodes children removing children which havn't been visited since specified expiryTime. ",
329                           "note, should be only be called from the update thread. ");
330        I_ProtectedMethod1(void, addLoadedDataToSceneGraph, IN, double, currentFrameTime,
331                           Properties::NON_VIRTUAL,
332                           Properties::NON_CONST,
333                           __void__addLoadedDataToSceneGraph__double,
334                           "Add the loaded data to the scene graph. ",
335                           "");
336        I_SimpleProperty(bool, AcceptNewDatabaseRequests,
337                         __bool__getAcceptNewDatabaseRequests,
338                         __void__setAcceptNewDatabaseRequests__bool);
339        I_IndexedProperty(bool, CompileGLObjectsForContextID,
340                          __bool__getCompileGLObjectsForContextID__unsigned_int,
341                          __void__setCompileGLObjectsForContextID__unsigned_int__bool,
342                          0);
343        I_SimpleProperty(unsigned int, DataToCompileListSize,
344                         __unsigned_int__getDataToCompileListSize,
345                         0);
346        I_SimpleProperty(bool, DatabasePagerThreadPause,
347                         __bool__getDatabasePagerThreadPause,
348                         __void__setDatabasePagerThreadPause__bool);
349        I_SimpleProperty(bool, DeleteRemovedSubgraphsInDatabaseThread,
350                         __bool__getDeleteRemovedSubgraphsInDatabaseThread,
351                         __void__setDeleteRemovedSubgraphsInDatabaseThread__bool);
352        I_SimpleProperty(bool, DoPreCompile,
353                         __bool__getDoPreCompile,
354                         __void__setDoPreCompile__bool);
355        I_SimpleProperty(osgDB::DatabasePager::DrawablePolicy, DrawablePolicy,
356                         __DrawablePolicy__getDrawablePolicy,
357                         __void__setDrawablePolicy__DrawablePolicy);
358        I_SimpleProperty(double, ExpiryDelay,
359                         __double__getExpiryDelay,
360                         __void__setExpiryDelay__double);
361        I_SimpleProperty(unsigned int, FileRequestListSize,
362                         __unsigned_int__getFileRequestListSize,
363                         0);
364        I_SimpleProperty(osg::RefBlock *, FrameBlock,
365                         __osg_RefBlock_P1__getFrameBlock,
366                         0);
367        I_SimpleProperty(unsigned int, MaximumNumOfObjectsToCompilePerFrame,
368                         __unsigned_int__getMaximumNumOfObjectsToCompilePerFrame,
369                         __void__setMaximumNumOfObjectsToCompilePerFrame__unsigned_int);
370        I_SimpleProperty(double, MinimumTimeAvailableForGLCompileAndDeletePerFrame,
371                         __double__getMinimumTimeAvailableForGLCompileAndDeletePerFrame,
372                         __void__setMinimumTimeAvailableForGLCompileAndDeletePerFrame__double);
373        I_SimpleProperty(double, TargetFrameRate,
374                         __double__getTargetFrameRate,
375                         __void__setTargetFrameRate__double);
376        I_SimpleProperty(osgDB::DatabasePager::ThreadPriority, ThreadPriorityDuringFrame,
377                         __ThreadPriority__getThreadPriorityDuringFrame,
378                         __void__setThreadPriorityDuringFrame__ThreadPriority);
379        I_SimpleProperty(osgDB::DatabasePager::ThreadPriority, ThreadPriorityOutwithFrame,
380                         __ThreadPriority__getThreadPriorityOutwithFrame,
381                         __void__setThreadPriorityOutwithFrame__ThreadPriority);
382        I_SimpleProperty(bool, UseFrameBlock,
383                         __bool__getUseFrameBlock,
384                         __void__setUseFrameBlock__bool);
385END_REFLECTOR
386
387BEGIN_OBJECT_REFLECTOR(osg::observer_ptr< osg::GraphicsContext >)
388        I_DeclaringFile("osg/observer_ptr");
389        I_BaseType(osg::Observer);
390        I_Constructor0(____observer_ptr,
391                       "",
392                       "");
393        I_Constructor1(IN, osg::GraphicsContext *, t,
394                       Properties::NON_EXPLICIT,
395                       ____observer_ptr__T_P1,
396                       "",
397                       "");
398        I_Constructor1(IN, const osg::observer_ptr< osg::GraphicsContext > &, rp,
399                       Properties::NON_EXPLICIT,
400                       ____observer_ptr__C5_observer_ptr_R1,
401                       "",
402                       "");
403        I_Method1(void, objectDeleted, IN, void *, x,
404                  Properties::VIRTUAL,
405                  __void__objectDeleted__void_P1,
406                  "",
407                  "");
408        I_Method0(bool, valid,
409                  Properties::NON_VIRTUAL,
410                  __bool__valid,
411                  "",
412                  "");
413        I_Method0(osg::GraphicsContext *, get,
414                  Properties::NON_VIRTUAL,
415                  __T_P1__get,
416                  "",
417                  "");
418        I_Method0(const osg::GraphicsContext *, get,
419                  Properties::NON_VIRTUAL,
420                  __C5_T_P1__get,
421                  "",
422                  "");
423        I_SimpleProperty(osg::GraphicsContext *, ,
424                         __T_P1__get,
425                         0);
426END_REFLECTOR
427
428BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osg::PagedLOD >)
429        I_DeclaringFile("osg/ref_ptr");
430        I_Constructor0(____ref_ptr,
431                       "",
432                       "");
433        I_Constructor1(IN, osg::PagedLOD *, ptr,
434                       Properties::NON_EXPLICIT,
435                       ____ref_ptr__T_P1,
436                       "",
437                       "");
438        I_Constructor1(IN, const osg::ref_ptr< osg::PagedLOD > &, rp,
439                       Properties::NON_EXPLICIT,
440                       ____ref_ptr__C5_ref_ptr_R1,
441                       "",
442                       "");
443        I_Method0(osg::PagedLOD *, get,
444                  Properties::NON_VIRTUAL,
445                  __T_P1__get,
446                  "",
447                  "");
448        I_Method0(bool, valid,
449                  Properties::NON_VIRTUAL,
450                  __bool__valid,
451                  "",
452                  "");
453        I_Method0(osg::PagedLOD *, release,
454                  Properties::NON_VIRTUAL,
455                  __T_P1__release,
456                  "",
457                  "");
458        I_Method1(void, swap, IN, osg::ref_ptr< osg::PagedLOD > &, rp,
459                  Properties::NON_VIRTUAL,
460                  __void__swap__ref_ptr_R1,
461                  "",
462                  "");
463        I_SimpleProperty(osg::PagedLOD *, ,
464                         __T_P1__get,
465                         0);
466END_REFLECTOR
467
468STD_LIST_REFLECTOR(std::list< osg::ref_ptr< osg::PagedLOD > >)
469
470STD_MAP_REFLECTOR(std::map< unsigned int COMMA  osgDB::DatabasePager::DataToCompile >)
471
472STD_PAIR_REFLECTOR(std::pair< osgDB::DatabasePager::StateSetList COMMA  osgDB::DatabasePager::DrawableList >)
473
474STD_SET_REFLECTOR(std::set< osg::ref_ptr< osg::StateSet > >)
475
476STD_SET_REFLECTOR(std::set< unsigned int >)
477
478STD_VECTOR_REFLECTOR(std::vector< osg::observer_ptr< osg::GraphicsContext > >)
Note: See TracBrowser for help on using the browser.