Changeset 5808 in orxonox.OLD for branches/network/src/lib/network/data_stream.cc
- Timestamp:
- Nov 28, 2005, 9:07:21 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/lib/network/data_stream.cc
r5728 r5808 31 31 { 32 32 this->setClassID(CL_DATA_STREAM, "DataStream"); 33 this->upBuffer = new byte[DATA_STREAM_BUFFER_SIZE]; 34 this->downBuffer = new byte[DATA_STREAM_BUFFER_SIZE]; 33 35 } 34 36 … … 41 43 this->downStream = &outStream; 42 44 this->upStream = &inStream; 45 46 if( this->upBuffer) 47 delete[] this->upBuffer; 48 if( this->downBuffer) 49 delete[] this->downBuffer; 43 50 } 44 51 … … 101 108 void passDown(byte* data, int length) 102 109 { 103 110 104 111 } 105 112 … … 115 122 int passUp(byte* data) 116 123 { 117 124 118 125 }
Note: See TracChangeset
for help on using the changeset viewer.