#include <storage/NodeDelegate.h>
Inheritance diagram for BNodeDelegate:
Given an existing object that implement the INode interfaces, provides a new object that delegates to the existing implementation.
INode | |
Delegation to INode interface. Uses the base implementation of BGenericNode for part parsing and meta-data. Note that this default implementation hides all except the default meta-data entries. | |
sptr< INode > | BaseNode () const |
Returns original INode object, or NULL if that interface was not available. | |
virtual nsecs_t | CreationDateLocked () const |
Returns original INode object, or NULL if that interface was not available. | |
virtual status_t | LookupEntry (const SString &entry, uint32_t flags, SValue *node) |
Returns original INode object, or NULL if that interface was not available. | |
virtual SString | MimeTypeLocked () const |
Returns original INode object, or NULL if that interface was not available. | |
virtual nsecs_t | ModifiedDateLocked () const |
Returns original INode object, or NULL if that interface was not available. | |
virtual status_t | StoreCreationDateLocked (nsecs_t value) |
Returns original INode object, or NULL if that interface was not available. | |
virtual status_t | StoreMimeTypeLocked (const SString &value) |
Returns original INode object, or NULL if that interface was not available. | |
virtual status_t | StoreModifiedDateLocked (nsecs_t value) |
Returns original INode object, or NULL if that interface was not available. | |
Bookkeeping | |
Creation, destruction, locking, etc. | |
BNodeDelegate (const SContext &context, const sptr< INode > &base) | |
SContext | Context () |
Disambiguate. | |
virtual status_t | Link (const sptr< IBinder > &target, const SValue &bindings, uint32_t flags) |
Perform linking with base object. | |
virtual status_t | Unlink (const wptr< IBinder > &target, const SValue &bindings, uint32_t flags) |
Remove linking with base object. | |
virtual | ~BNodeDelegate () |
Event Dispatching | |
Handling events from the base INode object. The default implementation simply pushes the same event from this object. | |
virtual void | EntryCreated (const sptr< INode > &node, const SString &name, const sptr< IBinder > &entry) |
See INode::EntryCreated. | |
virtual void | EntryModified (const sptr< INode > &node, const SString &name, const sptr< IBinder > &entry) |
See INode::EntryModified. | |
virtual void | EntryRemoved (const sptr< INode > &node, const SString &name) |
See INode::EntryRemoved. | |
virtual void | EntryRenamed (const sptr< INode > &node, const SString &old_name, const SString &new_name, const sptr< IBinder > &entry) |
See INode::EntryRenamed. | |
virtual void | NodeChanged (const sptr< INode > &node, uint32_t flags, const SValue &hints) |
See INode::NodeChanged. |
|
|
|
|
|
Returns original INode object, or NULL if that interface was not available.
|
|
Disambiguate.
Reimplemented in BCatalogDelegate. |
|
Returns original INode object, or NULL if that interface was not available.
Implements BGenericNode. |
|
See INode::EntryCreated.
Implements INodeObserver. |
|
See INode::EntryModified.
Implements INodeObserver. |
|
See INode::EntryRemoved.
Implements INodeObserver. |
|
See INode::EntryRenamed.
Implements INodeObserver. |
|
Perform linking with base object.
Reimplemented from BBinder. |
|
Returns original INode object, or NULL if that interface was not available.
Implements BGenericNode. |
|
Returns original INode object, or NULL if that interface was not available.
Reimplemented from BGenericNode. |
|
Returns original INode object, or NULL if that interface was not available.
Implements BGenericNode. |
|
See INode::NodeChanged.
Implements INodeObserver. |
|
Returns original INode object, or NULL if that interface was not available.
Reimplemented from BGenericNode. |
|
Returns original INode object, or NULL if that interface was not available.
Reimplemented from BGenericNode. |
|
Returns original INode object, or NULL if that interface was not available.
Reimplemented from BGenericNode. |
|
Remove linking with base object.
Reimplemented from BBinder. |