Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5575 in orxonox.OLD for branches/network


Ignore:
Timestamp:
Nov 15, 2005, 10:07:30 PM (19 years ago)
Author:
patrick
Message:

network: now working with classlist

Location:
branches/network/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/network/src/defs/class_id.h

    r5573 r5575  
    6969  CL_ELEMENT_2D                 =    0x10000000,
    7070
    71   CL_SYNCRONIZEABLE             =    0x20000000,
     71  CL_SYNCHRONIZEABLE             =    0x20000000,
    7272
    7373  CL_WORLD_ENTITY               =    0x40000000,
  • branches/network/src/lib/network/network_manager.cc

    r5572 r5575  
    7474{
    7575  /* set the class id for the base object */
    76   //this->setClassID(CL_NETWORK_MANAGER, "NetworkManager");
     76  this->setClassID(CL_NETWORK_MANAGER, "NetworkManager");
    7777  /* initialize the references */
    7878  this->netStreamList = NULL;
     
    9494{
    9595  /* get the synchronizeable list from the class list */
    96   //this->netStreamList = ClassList::getClassList(/*CL_SYNCHRONIZEABLE*/0x0);
     96  this->netStreamList = ClassList::getList(CL_SYNCHRONIZEABLE);
    9797}
    9898
  • branches/network/src/lib/network/network_manager.h

    r5572 r5575  
    3636
    3737private:
    38   tList<NetworkStream>*    netStreamList;            // list with refs to all network streams
    39   tList<Synchronizeable>*  syncList;                 // list of synchronizeables
     38  tList<BaseObject>*    netStreamList;            // list with refs to all network streams
     39  tList<BaseObject>*  syncList;                 // list of synchronizeables
    4040   
    4141};
Note: See TracChangeset for help on using the changeset viewer.