Changeset 5578 in orxonox.OLD for branches/network
- Timestamp:
- Nov 16, 2005, 1:10:40 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/lib/network/network_manager.cc
r5575 r5578 75 75 /* set the class id for the base object */ 76 76 this->setClassID(CL_NETWORK_MANAGER, "NetworkManager"); 77 77 78 /* initialize the references */ 78 79 this->netStreamList = NULL; … … 102 103 */ 103 104 void NetworkManager::shutdown() 104 {} 105 { 106 107 } 105 108 106 109 … … 112 115 NetworkStream& NetworkManager::establishConnection(/* address, port, object reference*/) 113 116 { 114 /* creating a new network stream */117 /* creating a new network stream, it will register itself automaticaly to the class list */ 115 118 NetworkStream* netStream = new NetworkStream(); 116 119 } … … 129 132 */ 130 133 void NetworkManager::synchronize() 131 {} 134 { 135 if (this->netStreamList != NULL || (this->netStreamList = ClassList::getList(CL_NETWORK_STREAM)) != NULL) 136 { 137 138 } 139 140 } 132 141 133 142
Note: See TracChangeset
for help on using the changeset viewer.