#include <file_unlocker.h>
Public Member Functions | |
file_unlocker_adapter () | |
virtual | ~file_unlocker_adapter () |
Private Attributes | |
file_unlocker | _filUnlock |
rpa::file_unlocker_adapter< FileGenerator >::file_unlocker_adapter | ( | ) | [inline] |
With this mode, the user is responsible for locking the stream. None of the stream operations will implicitly do anymore until the state is set back to FSETLOCKING_INTERNAL. The stream state will be restored by the destructor.
virtual rpa::file_unlocker_adapter< FileGenerator >::~file_unlocker_adapter | ( | ) | [inline, virtual] |
file_unlocker rpa::file_unlocker_adapter< FileGenerator >::_filUnlock [private] |
This stores the FILE ptr which will be used when destroying this object. It stores the initial state of the stream too. It may be a bit simpler to store the FILE ptr in this class, but it supposes that the FILE ptr is temporary - but it may not.