root/OpenSceneGraph/trunk/src/osgWrappers/introspection/osg/ObserverNodePath.cpp @ 11077

Revision 11077, 4.3 kB (checked in by robert, 5 years ago)

Updated wrappers

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/Node>
14#include <osg/ObserverNodePath>
15
16// Must undefine IN and OUT macros defined in Windows headers
17#ifdef IN
18#undef IN
19#endif
20#ifdef OUT
21#undef OUT
22#endif
23
24BEGIN_OBJECT_REFLECTOR(osg::ObserverNodePath)
25        I_DeclaringFile("osg/ObserverNodePath");
26        I_BaseType(osg::Observer);
27        I_Constructor0(____ObserverNodePath,
28                       "",
29                       "");
30        I_Constructor1(IN, const osg::ObserverNodePath &, rhs,
31                       Properties::NON_EXPLICIT,
32                       ____ObserverNodePath__C5_ObserverNodePath_R1,
33                       "",
34                       "");
35        I_Constructor1(IN, const osg::NodePath &, nodePath,
36                       Properties::NON_EXPLICIT,
37                       ____ObserverNodePath__C5_osg_NodePath_R1,
38                       "",
39                       "");
40        I_Method0(bool, valid,
41                  Properties::NON_VIRTUAL,
42                  __bool__valid,
43                  "",
44                  "");
45        I_Method1(void, setNodePathTo, IN, osg::Node *, node,
46                  Properties::NON_VIRTUAL,
47                  __void__setNodePathTo__osg_Node_P1,
48                  "get the NodePath from the first parental chain back to root, plus the specified node. ",
49                  "");
50        I_Method1(void, setNodePath, IN, const osg::RefNodePath &, nodePath,
51                  Properties::NON_VIRTUAL,
52                  __void__setNodePath__C5_osg_RefNodePath_R1,
53                  "",
54                  "");
55        I_Method1(void, setNodePath, IN, const osg::NodePath &, nodePath,
56                  Properties::NON_VIRTUAL,
57                  __void__setNodePath__C5_osg_NodePath_R1,
58                  "",
59                  "");
60        I_Method0(void, clearNodePath,
61                  Properties::NON_VIRTUAL,
62                  __void__clearNodePath,
63                  "",
64                  "");
65        I_Method1(bool, getRefNodePath, IN, osg::RefNodePath &, refNodePath,
66                  Properties::NON_VIRTUAL,
67                  __bool__getRefNodePath__RefNodePath_R1,
68                  "Get a thread safe RefNodePath, return true if NodePath is valid. ",
69                  "");
70        I_Method1(bool, getNodePath, IN, osg::NodePath &, nodePath,
71                  Properties::NON_VIRTUAL,
72                  __bool__getNodePath__NodePath_R1,
73                  "Get a lightweight NodePath that isn't thread safe but may be safely used in single threaded applications, or when its known that the NodePath won't be invalidated during usage of the NodePath. ",
74                  "return true if NodePath is valid. ");
75        I_ProtectedMethod1(void, _setNodePath, IN, const osg::NodePath &, nodePath,
76                           Properties::NON_VIRTUAL,
77                           Properties::NON_CONST,
78                           __void___setNodePath__C5_osg_NodePath_R1,
79                           "",
80                           "");
81        I_ProtectedMethod0(void, _clearNodePath,
82                           Properties::NON_VIRTUAL,
83                           Properties::NON_CONST,
84                           __void___clearNodePath,
85                           "",
86                           "");
87        I_ProtectedMethod1(bool, objectUnreferenced, IN, void *, x,
88                           Properties::VIRTUAL,
89                           Properties::NON_CONST,
90                           __bool__objectUnreferenced__void_P1,
91                           "objectUnreferenced(void*) is called when the observed object's referenced count goes to zero, indicating that the object will be deleted unless a new reference is made to it. ",
92                           "If you wish to prevent deletion of the object then it's reference count should be incremented such as via taking a ref_ptr<> to it, if no refernce is taken by any of the observers of the object then the object will be deleted, and objectDeleted will in turn be called. return true if the Observer wishes to removed from the oberseved objects observer set. ");
93        I_SimpleProperty(const osg::RefNodePath &, NodePath,
94                         0,
95                         __void__setNodePath__C5_osg_RefNodePath_R1);
96        I_SimpleProperty(osg::Node *, NodePathTo,
97                         0,
98                         __void__setNodePathTo__osg_Node_P1);
99END_REFLECTOR
100
101TYPE_NAME_ALIAS(std::list< osg::ref_ptr< osg::Node > >, osg::RefNodePath)
102
103STD_LIST_REFLECTOR(std::list< osg::ref_ptr< osg::Node > >)
Note: See TracBrowser for help on using the browser.