Show
Ignore:
Timestamp:
08/29/05 14:25:16 (9 years ago)
Author:
robert
Message:

Added extra debug info.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/examples/osgcluster/osgcluster.cpp

    r4470 r4471  
    100100}; 
    101101 
    102 const unsigned int MAX_NUM_EVENTS = 10; 
     102const unsigned int MAX_NUM_EVENTS = 0; 
    103103 
    104104class CameraPacket { 
     
    186186void CameraPacket::writeEventQueue(osgProducer::Viewer& viewer) 
    187187{ 
    188     std::cout<<"recived events = "<<_numEvents<<std::endl; 
     188    std::cout<<"recieved events = "<<_numEvents<<std::endl; 
    189189 
    190190    // copy the packed events to osgProducer style events. 
     
    331331                bc.setBuffer(cp, sizeof( CameraPacket )); 
    332332                 
     333                std::cout << "bc.sync()"<<sizeof( CameraPacket )<<std::endl; 
     334 
    333335                bc.sync(); 
    334336                 
     
    340342                rc.setBuffer(cp, sizeof( CameraPacket )); 
    341343 
     344                std::cout << "rc.sync()"<<sizeof( CameraPacket )<<std::endl; 
     345 
    342346                rc.sync(); 
    343347     
     348                std::cout << "done"<<std::endl; 
     349 
    344350                cp->checkByteOrder(); 
    345351 
    346                 cp->writeEventQueue(viewer); 
     352                // cp->writeEventQueue(viewer); 
    347353 
    348354                if (cp->getMasterKilled())