TAO_CosNaming 3.1.4
|
File guard specific for storable naming contexts. More...
#include <Storable_Naming_Context.h>
Public Member Functions | |
File_Open_Lock_and_Check (TAO_Storable_Naming_Context *context, Method_Type method_type, bool loadnow=true) | |
Constructor. | |
~File_Open_Lock_and_Check () | |
![]() | |
Storable_File_Guard (bool redundant, bool use_backup=Storable_Base::use_backup_default) | |
virtual | ~Storable_File_Guard () noexcept(false) |
void | release () |
TAO::Storable_Base & | peer () |
Protected Member Functions | |
virtual bool | object_obsolete () |
virtual void | mark_object_current () |
virtual void | set_object_last_changed (const time_t &time) |
Mark the time at which the object was modified and. | |
virtual time_t | get_object_last_changed () |
virtual int | load_from_stream () |
virtual bool | is_loaded_from_stream () |
virtual TAO::Storable_Base * | create_stream (const char *mode) |
![]() | |
void | init (Method_Type method_type) |
void | init_no_load (Method_Type method_type) |
void | reload () |
Private Member Functions | |
File_Open_Lock_and_Check () | |
Default constructor. | |
Private Attributes | |
TAO_Storable_Naming_Context * | context_ |
Additional Inherited Members | |
![]() | |
enum | Method_Type |
![]() | |
CREATE_WITH_FILE | |
CREATE_WITHOUT_FILE | |
ACCESSOR | |
MUTATOR | |
![]() | |
Storable_Base * | fl_ |
File guard specific for storable naming contexts.
TAO_Storable_Naming_Context::File_Open_Lock_and_Check::File_Open_Lock_and_Check | ( | TAO_Storable_Naming_Context * | context, |
Method_Type | method_type, | ||
bool | loadnow = true ) |
Constructor.
TAO_Storable_Naming_Context::File_Open_Lock_and_Check::~File_Open_Lock_and_Check | ( | ) |
|
private |
Default constructor.
|
protectedvirtual |
Implements TAO::Storable_File_Guard.
|
protectedvirtual |
Get the time which the object was last written to the file.
Implements TAO::Storable_File_Guard.
|
protectedvirtual |
Implements TAO::Storable_File_Guard.
|
protectedvirtual |
Implements TAO::Storable_File_Guard.
|
protectedvirtual |
Mark the object as current with respect to the file to which it was persisted.
Reimplemented from TAO::Storable_File_Guard.
|
protectedvirtual |
Check if the guarded object is current with the last update which could have been performed independently of the owner of this object.
Reimplemented from TAO::Storable_File_Guard.
|
protectedvirtual |
Mark the time at which the object was modified and.
Implements TAO::Storable_File_Guard.
|
private |