| 
    HDK
    
   | 
 
#include <UT_WorkBuffer.h>
Public Member Functions | |
| SYS_FORCE_INLINE | AutoLock (UT_WorkBuffer &buf) | 
| SYS_FORCE_INLINE | ~AutoLock () | 
| SYS_FORCE_INLINE void | release (bool recompute_length=false) | 
| You can manually release the buffer.  More... | |
| SYS_FORCE_INLINE void | relock () | 
| If you've manually released the lock, you can relock the buffer.  More... | |
| SYS_FORCE_INLINE char * | operator* () const | 
| SYS_FORCE_INLINE char * | string () const | 
Class to handle auto-locking of the UT_WorkBuffer. This is not related to multi-threading, but to the lock/release methods above.
You should never append data to a locked buffer.
Definition at line 212 of file UT_WorkBuffer.h.
      
  | 
  inline | 
Definition at line 216 of file UT_WorkBuffer.h.
      
  | 
  inline | 
Definition at line 222 of file UT_WorkBuffer.h.
      
  | 
  inline | 
Get access to the non-const buffer. This may return nullptr if the lock has been released.
Definition at line 230 of file UT_WorkBuffer.h.
      
  | 
  inline | 
You can manually release the buffer.
Definition at line 237 of file UT_WorkBuffer.h.
      
  | 
  inline | 
If you've manually released the lock, you can relock the buffer.
Definition at line 247 of file UT_WorkBuffer.h.
      
  | 
  inline | 
Get access to the non-const buffer. This may return nullptr if the lock has been released.
Definition at line 232 of file UT_WorkBuffer.h.