#include <OSGRemoteAspect.h>
Public Member Functions | |
| virtual UInt32 | map (UInt32 uiId) |
Public Attributes | |
| RemoteAspect * | _remoteAspect |
Definition at line 251 of file OSGRemoteAspect.h.
Field container id mapper. This mapper mappes remote field container id to local ids.
Implements osg::FieldContainerMapper.
Definition at line 1205 of file OSGRemoteAspect.cpp.
References osg::RemoteAspect::_localFC, _remoteAspect, FDEBUG, osg::RemoteAspect::getFullRemoteId(), and SWARNING.
01206 { 01207 UInt32 mappedId; 01208 RemoteAspect::LocalFCMapT::iterator i; 01209 01210 i = _remoteAspect->_localFC.find( 01211 _remoteAspect->getFullRemoteId(uiId)); 01212 if(i == _remoteAspect->_localFC.end()) 01213 { 01214 SWARNING << "Can't find container id:" << uiId << std::endl; 01215 mappedId = 0; 01216 } 01217 else 01218 { 01219 mappedId = i->second; 01220 } 01221 01222 FDEBUG(("Map: %d to %d\n", uiId, mappedId)) 01223 01224 return mappedId; 01225 }
Definition at line 254 of file OSGRemoteAspect.h.
Referenced by map(), and osg::RemoteAspect::receiveSync().
1.6.1