Changeset 5722 in orxonox.OLD for branches/network/src/lib/network/data_stream.cc
- Timestamp:
- Nov 23, 2005, 2:31:30 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/lib/network/data_stream.cc
r5719 r5722 26 26 27 27 /** 28 * This is the empty constru ktor28 * This is the empty constructor 29 29 */ 30 30 DataStream::DataStream() … … 33 33 } 34 34 35 36 37 /**38 * This is the empty construktor39 */40 DataStream::DataStream(Synchronizeable& sync)41 {42 this->setClassID(CL_DATA_STREAM, "DataStream");43 this->synchronizeable = &sync;44 45 }46 35 47 36 /** … … 53 42 this->downStream = &outStream; 54 43 this->upStream = &inStream; 55 }56 57 /**58 * This constructor creates a new DataStream and connects it to a synchronizeable object and the NetworkSocket59 */60 DataStream::DataStream(Synchronizeable& sync, NetworkSocket& socket)61 {62 this->setClassID(CL_DATA_STREAM, "DataStream");63 this->networkSocket = &socket;64 }65 66 /**67 * This constructor creates a new DataStream and connects the Synchronizeable to it68 */69 DataStream::DataStream(Synchronizeable& sync, DataStream& outStream)70 {71 this->setClassID(CL_DATA_STREAM, "DataStream");72 this->downStream = &outStream;73 }74 75 /**76 * This constructor creates a new DataStream and connects the NetworkSocket to it77 */78 DataStream::DataStream(DataStream& inStream, NetworkSocket& socket)79 {80 this->setClassID(CL_DATA_STREAM, "DataStream");81 this->upStream = &inStream;82 this->networkSocket = &socket;83 44 } 84 45
Note: See TracChangeset
for help on using the changeset viewer.