22 #ifndef Hyperspace_HandleCallback_h
23 #define Hyperspace_HandleCallback_h
68 virtual void attr_set(
const std::string &name) {
return; }
75 virtual void attr_del(
const std::string &name) {
return; }
117 #endif // Hyperspace_HandleCallback_h
int get_event_mask()
Returns the event mask of this callback object.
virtual void child_node_added(const std::string &name)
Invoked when a child node gets added to the directory associated with the registered handle...
virtual void lock_acquired(uint32_t mode)
Invoked when a lock gets acquired on the file associated with the registered handle.
HandleCallback(uint32_t event_mask)
Constructor.
std::shared_ptr< HandleCallback > HandleCallbackPtr
virtual void lock_released()
Invoked when a lock gets released on the file associated with the registered handle.
virtual void child_node_removed(const std::string &name)
Invoked when an attribute gets deleted from the file associated with the registered handle...
virtual void attr_set(const std::string &name)
Invoked when an attribute gets set on the file associated with the registered handle.
const char * event_mask_to_string(uint32_t mask)
virtual void attr_del(const std::string &name)
Invoked when an attribute gets deleted from the file associated with the registered handle...