Changeset 57:f52efb9ba3d8 in xplra for src/client/c/hu/varadiistvan/xplra/MultiBuffer.h
- Timestamp:
- 03/07/13 18:13:05 (11 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/client/c/hu/varadiistvan/xplra/MultiBuffer.h
r33 r57 159 159 * made to unregister it. 160 160 */ 161 virtual ~MultiBuffer() throw( Exception);161 virtual ~MultiBuffer() throw(); 162 162 163 163 public: … … 236 236 */ 237 237 void unregisterFromXPlane() throw(Exception); 238 239 /** 240 * Unregister this buffer from X-Plane safely, i.e. without 241 * throwing any exceptions. If unregistration fails, the 242 * registered ID will be cleared anyway. 243 * 244 * @return whether unregistration succeeded. 245 */ 246 bool unregisterSafelyFromXPlane() throw(); 238 247 239 248 /** … … 480 489 */ 481 490 void writeSpec(uint8_t command) const throw(Exception); 491 492 /** 493 * Re-register the buffer in X-Plane, if it has been registered 494 * earlier. 495 * 496 * it has not been registered, nothing is done. Otherwise the 497 * buffer gets registered, and the old ID is forgotten. This 498 * function is meant to be used by the XPlane object when it 499 * creates a new connection. If the registration fails, the 500 * original ID is restored, so that this function could be called 501 * again 502 */ 503 void reregisterInXPlane() throw(Exception); 482 504 483 505 private:
Note:
See TracChangeset
for help on using the changeset viewer.