Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6341 in orxonox.OLD for trunk/src/lib/network/network_stream.h


Ignore:
Timestamp:
Dec 30, 2005, 1:57:12 AM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: merged the network branche back to the trunk, so we do not get away from each other to fast

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/network/network_stream.h

    r6139 r6341  
    1515#include "handshake.h"
    1616
     17#define MAX_CONNECTIONS 1000
     18
    1719class Synchronizeable;
    1820class NetworkSocket;
     
    2022class ConnectionMonitor;
    2123class NetworkProtocol;
     24class NetworkGameManager;
    2225
    2326typedef std::list<Synchronizeable*>  SynchronizeableList;
     
    4851    virtual void processData();
    4952
     53    inline SynchronizeableList::const_iterator getSyncBegin(){ return synchronizeables.begin(); }
     54    inline SynchronizeableList::const_iterator getSyncEnd(){ return synchronizeables.end(); }
     55    inline int getSyncCount(){ return synchronizeables.size(); }
     56
    5057  private:
    5158    NetworkProtocol*       networkProtocol;
     
    6370    int                    maxConnections;
    6471
     72    NetworkGameManager*   networkGameManager;
     73
    6574    void updateConnectionList();
    6675};
Note: See TracChangeset for help on using the changeset viewer.