#include <OSGRemoteAspect.h>

Public Member Functions | |
| virtual UInt32 | map (UInt32 uiId) |
Public Attributes | |
| RemoteAspect * | _remoteAspect |
Definition at line 230 of file OSGRemoteAspect.h.
Field container id mapper. This mapper mappes remote field container id to local ids.
Implements osg::FieldContainerMapper.
Definition at line 1073 of file OSGRemoteAspect.cpp.
References osg::RemoteAspect::_localFC, _remoteAspect, FDEBUG, osg::RemoteAspect::getFullRemoteId(), and SWARNING.
01074 { 01075 UInt32 mappedId; 01076 RemoteAspect::LocalFCMapT::iterator i; 01077 01078 i = _remoteAspect->_localFC.find( 01079 _remoteAspect->getFullRemoteId(uiId)); 01080 if(i == _remoteAspect->_localFC.end()) 01081 { 01082 SWARNING << "Can't find container id:" << uiId << std::endl; 01083 mappedId = 0; 01084 } 01085 else 01086 { 01087 mappedId = i->second; 01088 } 01089 01090 FDEBUG(("Map: %d to %d\n", uiId, mappedId)) 01091 01092 return mappedId; 01093 }
Definition at line 233 of file OSGRemoteAspect.h.
Referenced by map(), and osg::RemoteAspect::receiveSync().
1.5.5