Changeset 77 for osgVisual/src/cluster


Ignore:
Timestamp:
Jul 25, 2010, 5:05:29 PM (14 years ago)
Author:
Torben Dannhauer
Message:

documented the ENet implementation

Location:
osgVisual/src/cluster
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • osgVisual/src/cluster/dataIO_clusterENet.cpp

    r75 r77  
    171171                if ( rw )
    172172                {
    173                         std::stringstream test;
    174                         test << receivedTransportContainer;
    175                         osgDB::ReaderWriter::ReadResult rr = rw->readObject( test, readOptions );
     173                        std::stringstream tmp;
     174                        tmp << receivedTransportContainer;
     175                        osgDB::ReaderWriter::ReadResult rr = rw->readObject( tmp, readOptions );
    176176                        if (rr.success())
    177177                        {
  • osgVisual/src/cluster/dataIO_clusterENet_implementation.cpp

    r69 r77  
    2525{
    2626        std::cout << "Instantiated server class# "<< activeENetInstances << std::endl;
    27         serverInitialized = false;
     27        enetInitialized = false;
    2828        host = NULL;
    2929        // Start ENet
     
    9898        }       // IF CLIENT END
    9999
    100         serverInitialized = true;
     100        enetInitialized = true;
    101101        return true;
    102102}
     
    104104void dataIO_clusterENet_implementation::processEvents(int timeout_ms_)
    105105{
    106         if(!serverInitialized)
     106        if(!enetInitialized)
    107107                return;
    108108
Note: See TracChangeset for help on using the changeset viewer.