TAO_CosNaming
2.3.3
|
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. More... | |
~File_Open_Lock_and_Check () | |
Public Member Functions inherited from TAO::Storable_File_Guard | |
Storable_File_Guard (bool redundant, bool use_backup=Storable_Base::use_backup_default) | |
virtual | ~Storable_File_Guard () |
void | release (void) |
TAO::Storable_Base & | peer () |
Protected Member Functions | |
virtual bool | object_obsolete (void) |
virtual void | mark_object_current (void) |
virtual void | set_object_last_changed (const time_t &time) |
Mark the time at which the object was modified and. More... | |
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) |
Protected Member Functions inherited from TAO::Storable_File_Guard | |
void | init (Method_Type method_type) |
void | init_no_load (Method_Type method_type) |
void | reload (void) |
Private Member Functions | |
File_Open_Lock_and_Check (void) | |
Default constructor. More... | |
Private Attributes | |
TAO_Storable_Naming_Context * | context_ |
Additional Inherited Members | |
Public Types inherited from TAO::Storable_File_Guard | |
enum | Method_Type |
Public Attributes inherited from TAO::Storable_File_Guard | |
CREATE_WITH_FILE | |
CREATE_WITHOUT_FILE | |
ACCESSOR | |
MUTATOR | |
Protected Attributes inherited from TAO::Storable_File_Guard | |
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 |