0.9.8.10
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | List of all members
Hyperspace::FileHandleCallback Class Reference

#include <FileHandleCallback.h>

Inheritance diagram for Hyperspace::FileHandleCallback:
Inheritance graph
[legend]
Collaboration diagram for Hyperspace::FileHandleCallback:
Collaboration graph
[legend]

Public Member Functions

 FileHandleCallback (uint32_t event_mask)
 
virtual void attr_set (const std::string &name)
 Invoked when an attribute gets set on the file associated with the registered handle. More...
 
virtual void attr_del (const std::string &name)
 Invoked when an attribute gets deleted from the file associated with the registered handle. More...
 
virtual void child_node_added (const std::string &name)
 Invoked when a child node gets added to the directory associated with the registered handle. More...
 
virtual void child_node_removed (const std::string &name)
 Invoked when an attribute gets deleted from the file associated with the registered handle. More...
 
virtual void lock_acquired (uint32_t mode)
 Invoked when a lock gets acquired on the file associated with the registered handle. More...
 
virtual void lock_released ()
 Invoked when a lock gets released on the file associated with the registered handle. More...
 
- Public Member Functions inherited from Hyperspace::HandleCallback
 HandleCallback (uint32_t event_mask)
 Constructor. More...
 
int get_event_mask ()
 Returns the event mask of this callback object. More...
 

Additional Inherited Members

- Protected Attributes inherited from Hyperspace::HandleCallback
uint32_t m_event_mask
 

Detailed Description

Definition at line 29 of file FileHandleCallback.h.

Constructor & Destructor Documentation

Hyperspace::FileHandleCallback::FileHandleCallback ( uint32_t  event_mask)
inline

Definition at line 31 of file FileHandleCallback.h.

Member Function Documentation

virtual void Hyperspace::FileHandleCallback::attr_del ( const std::string &  name)
inlinevirtual

Invoked when an attribute gets deleted from the file associated with the registered handle.

Parameters
namethe name of the attribute that was deleted

Reimplemented from Hyperspace::HandleCallback.

Definition at line 35 of file FileHandleCallback.h.

virtual void Hyperspace::FileHandleCallback::attr_set ( const std::string &  name)
inlinevirtual

Invoked when an attribute gets set on the file associated with the registered handle.

Parameters
namethe name of the attribute that was set

Reimplemented from Hyperspace::HandleCallback.

Definition at line 32 of file FileHandleCallback.h.

virtual void Hyperspace::FileHandleCallback::child_node_added ( const std::string &  name)
inlinevirtual

Invoked when a child node gets added to the directory associated with the registered handle.

Parameters
namethe name of the attribute that was deleted

Reimplemented from Hyperspace::HandleCallback.

Definition at line 38 of file FileHandleCallback.h.

virtual void Hyperspace::FileHandleCallback::child_node_removed ( const std::string &  name)
inlinevirtual

Invoked when an attribute gets deleted from the file associated with the registered handle.

Parameters
namethe name of the attribute that was deleted

Reimplemented from Hyperspace::HandleCallback.

Definition at line 41 of file FileHandleCallback.h.

virtual void Hyperspace::FileHandleCallback::lock_acquired ( uint32_t  mode)
inlinevirtual

Invoked when a lock gets acquired on the file associated with the registered handle.

Parameters
modethe mode in which the lock was acquired

Reimplemented from Hyperspace::HandleCallback.

Definition at line 44 of file FileHandleCallback.h.

virtual void Hyperspace::FileHandleCallback::lock_released ( )
inlinevirtual

Invoked when a lock gets released on the file associated with the registered handle.

Reimplemented from Hyperspace::HandleCallback.

Definition at line 52 of file FileHandleCallback.h.


The documentation for this class was generated from the following file: