|
virtual void | load (Stream *stream)=0 |
| Fill the work result with content acquired from a binary data stream. More...
|
|
virtual void | save (Stream *stream) const =0 |
| Serialize a work result to a binary data stream. More...
|
|
virtual std::string | toString () const =0 |
| Return a string representation. More...
|
|
virtual const Class * | getClass () const |
| Retrieve this object's class. More...
|
|
| Object () |
| Construct a new object. More...
|
|
int | getRefCount () const |
| Return the current reference count. More...
|
|
void | incRef () const |
| Increase the reference count of the object by one. More...
|
|
void | decRef (bool autoDeallocate=true) const |
| Decrease the reference count of the object and possibly deallocate it. More...
|
|
Abstract work result – represents the result of a processed WorkUnit instance.
Instead of the usual serialization function and unserialization constructor, implementations of this class supply load() and save() methods that can be used for essentially the same purpose, but without requiring any memory allocations.
- See Also
- WorkProcessor