00001 /*---------------------------------------------------------------------------*\ 00002 00003 * OpenSG * 00004 00005 * * 00006 00007 * * 00008 00009 * Copyright (C) 2000-2002 by the OpenSG Forum * 00010 00011 * * 00012 00013 * www.opensg.org * 00014 00015 * * 00016 00017 * contact: dirk@opensg.org, gerrit.voss@vossg.org, jbehr@zgdv.de * 00018 00019 * * 00020 00021 \*---------------------------------------------------------------------------*/ 00022 00023 /*---------------------------------------------------------------------------*\ 00024 00025 * License * 00026 00027 * * 00028 00029 * This library is free software; you can redistribute it and/or modify it * 00030 00031 * under the terms of the GNU Library General Public License as published * 00032 00033 * by the Free Software Foundation, version 2. * 00034 00035 * * 00036 00037 * This library is distributed in the hope that it will be useful, but * 00038 00039 * WITHOUT ANY WARRANTY; without even the implied warranty of * 00040 00041 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * 00042 00043 * Library General Public License for more details. * 00044 00045 * * 00046 00047 * You should have received a copy of the GNU Library General Public * 00048 00049 * License along with this library; if not, write to the Free Software * 00050 00051 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * 00052 00053 * * 00054 00055 \*---------------------------------------------------------------------------*/ 00056 00057 /*---------------------------------------------------------------------------*\ 00058 00059 * Changes * 00060 00061 * * 00062 00063 * * 00064 00065 * * 00066 00067 * * 00068 00069 * * 00070 00071 * * 00072 00073 \*---------------------------------------------------------------------------*/ 00074 00075 00076 00077 OSG_BEGIN_NAMESPACE 00078 00079 00080 00081 //---------------------------------------------------------------------------- 00082 00083 // Constructors 00084 00085 //---------------------------------------------------------------------------- 00086 00087 00088 00089 inline 00090 00091 NewActionTypes::FunctorArgumentType::FunctorArgumentType( 00092 00093 ActorBase *pActor, const NodePtr &pNode, UInt32 pass) 00094 00095 00096 00097 : _pActor(pActor), 00098 00099 _pNode (pNode ), 00100 00101 _pass (pass ) 00102 00103 { 00104 00105 } 00106 00107 00108 00109 //---------------------------------------------------------------------------- 00110 00111 // Get/Set 00112 00113 //---------------------------------------------------------------------------- 00114 00115 00116 00117 inline ActorBase * 00118 00119 NewActionTypes::FunctorArgumentType::getActor(void) const 00120 00121 { 00122 00123 return _pActor; 00124 00125 } 00126 00127 00128 00129 inline void 00130 00131 NewActionTypes::FunctorArgumentType::setActor(ActorBase *pActor) 00132 00133 { 00134 00135 _pActor = pActor; 00136 00137 } 00138 00139 00140 00141 inline NodePtr 00142 00143 NewActionTypes::FunctorArgumentType::getNode(void) const 00144 00145 { 00146 00147 return _pNode; 00148 00149 } 00150 00151 00152 00153 inline void 00154 00155 NewActionTypes::FunctorArgumentType::setNode(const NodePtr &pNode) 00156 00157 { 00158 00159 _pNode = pNode; 00160 00161 } 00162 00163 00164 00165 inline UInt32 00166 00167 NewActionTypes::FunctorArgumentType::getPass(void) const 00168 00169 { 00170 00171 return _pass; 00172 00173 } 00174 00175 00176 00177 inline void 00178 00179 NewActionTypes::FunctorArgumentType::setPass(UInt32 pass) 00180 00181 { 00182 00183 _pass = pass; 00184 00185 } 00186 00187 00188 00189 OSG_END_NAMESPACE 00190 00191 00192 00193 #define OSGFUNCTORARGUMENTTYPE_INLINE_CVSID "@(#)$Id: OSGFunctorArgumentType.inl,v 1.2 2006/02/03 15:28:47 tbeer Exp $" 00194
1.5.5