#include <vobject.hh>
Inheritance diagram for VOS::VobjectImplementation:
Except for a few implementation-specific added methods, the API is the same as Vobject.
For internal use only.
Definition at line 481 of file vobject.hh.
|
Definition at line 556 of file vobject.hh. |
|
Definition at line 67 of file vobject.cc. |
|
Definition at line 78 of file vobject.cc. |
|
Adds some object callback to be notified when the child list changes. The child listener will immediately be issued a notifyChildInserted() for each child.
Implements VOS::Vobject. Reimplemented in VOS::LocalMetaObject, VOS::RemoteMetaObject, and VOS::RemoteVobject. Definition at line 570 of file vobject.cc. |
|
Add a flag string. Mainly useful for doing tree walks, when you want to mark an object as already having been touched.
Implements VOS::Vobject. Reimplemented in VOS::LocalMetaObject, and VOS::RemoteMetaObject. Definition at line 757 of file vobject.cc. |
|
Definition at line 568 of file vobject.hh. |
|
Adds some object callback to be notified when the parent set changes.
Implements VOS::Vobject. Reimplemented in VOS::LocalMetaObject, VOS::RemoteMetaObject, and VOS::RemoteVobject. Definition at line 544 of file vobject.cc. |
|
Definition at line 664 of file vobject.cc. |
|
Adds some object callback to be notified when the type set changes.
Implements VOS::Vobject. Reimplemented in VOS::LocalMetaObject, VOS::RemoteMetaObject, and VOS::RemoteVobject. Definition at line 522 of file vobject.cc. |
|
Definition at line 581 of file vobject.hh. |
|
Check the flag string.
Implements VOS::Vobject. Reimplemented in VOS::LocalMetaObject, and VOS::RemoteMetaObject. Definition at line 767 of file vobject.cc. |
|
Try to cause all known references to this object to release their references so the object will be deleted, by calling ObjectExciseListener::notifyObjectExcise().
Reimplemented from VOS::RefCounted. Reimplemented in VOS::LocalMetaObject, VOS::RemoteMetaObject, VOS::RemoteSite, and VOS::RemoteSocketSite. Definition at line 684 of file vobject.cc. |
|
Find a child. This searchs for a single parent-child relation in the immediate child list of this object. It is distinguished from findObject in that it returns the full parent-child relation structure, and that it only accepts two forms of input: the child name, or the #position. See setChild() for more information about the possible numerical values of positions.
Implements VOS::Vobject. Reimplemented in VOS::LocalMetaObject, VOS::RemoteMetaObject, and VOS::RemoteVobject. Definition at line 149 of file vobject.cc. |
|
Searchs and returns some object similarly to findObjectFromRoot(). However, if the path does not start with the string "vop://" the path will be intepreted as relative to this object. For example, "foo/bar" will find the first child object named "foo" of this object, then the first child named "bar" of the "foo" object and return it. If there is a leading slash, the path is relative to the object's site, so "/foo/bar" does not necessarily mean the same thing. Note that there should never be a slash at the end, so "foo/" is NOT a legal path. Finally, instead of using child names, one may use "\#position", starting from zero. So "\#0" refers to the first child of this object, "\#1" to the second etc. Obviously if the number in #position is larger than the number of children, an exception will be raised. See setChild() for more information about the possible numerical values of positions.
Implements VOS::Vobject. Reimplemented in VOS::LocalMetaObject, VOS::RemoteMetaObject, and VOS::RemoteVobject. Definition at line 184 of file vobject.cc. |
|
Find a parent. This tests to see if the supplied Vobject is marked as a parent of this Vobject.
Implements VOS::Vobject. Reimplemented in VOS::LocalMetaObject, and VOS::RemoteMetaObject. Definition at line 168 of file vobject.cc. |
|
Get the set of parent-child relationships in which this object is the parent.
Implements VOS::Vobject. Reimplemented in VOS::LocalMetaObject, VOS::RemoteMetaObject, and VOS::RemoteVobject. Definition at line 120 of file vobject.cc. |
|
Get the site name of this object.
Implements VOS::Vobject. Reimplemented in VOS::LocalMetaObject, and VOS::RemoteMetaObject. Definition at line 562 of file vobject.hh. |
|
Get the set of parent-child relationships in which this object is the child.
Implements VOS::Vobject. Reimplemented in VOS::LocalMetaObject, VOS::RemoteMetaObject, and VOS::RemoteVobject. Definition at line 116 of file vobject.cc. |
|
Get the message discard policy for this object.
Definition at line 661 of file vobject.hh. |
|
Get the default message discard policy for new objects.
Definition at line 631 of file vobject.hh. |
|
Get the update message discard policy for this object.
Definition at line 676 of file vobject.hh. |
|
Get the default update message discard policy for new objects.
Definition at line 646 of file vobject.hh. |
|
Get the site this object resides on.
Implements VOS::Vobject. Reimplemented in VOS::LocalMetaObject, VOS::LocalSite, VOS::RemoteMetaObject, and VOS::RemoteSite. Definition at line 107 of file vobject.cc. Referenced by VOS::RemoteVobject::addChildListener(), VOS::RemoteVobject::addParentListener(), VOS::RemoteVobject::addType(), VOS::RemoteVobject::addTypeListener(), and VOS::RemoteVobject::sendMessage(). |
|
Return a set of type names for the types supported by this object.
Implements VOS::Vobject. Reimplemented in VOS::LocalMetaObject, VOS::RemoteMetaObject, and VOS::RemoteVobject. Definition at line 112 of file vobject.cc. |
|
Get the URL path (in the form "vop://site/name").
Implements VOS::Vobject. Reimplemented in VOS::LocalMetaObject, and VOS::RemoteMetaObject. Definition at line 564 of file vobject.hh. Referenced by VOS::RemoteVobject::acquire(), excise(), and VOS::RemoteVobject::release(). |
|
Returns if the object has a message available to be dequeued by receiveMessage().
Implements VOS::Vobject. Reimplemented in VOS::LocalMetaObject, and VOS::RemoteMetaObject. Definition at line 480 of file vobject.cc. |
|
Returns if the object has a message available to be dequeued by receiveUpdateMessage().
Implements VOS::Vobject. Reimplemented in VOS::LocalMetaObject, and VOS::RemoteMetaObject. Definition at line 517 of file vobject.cc. |
|
Definition at line 222 of file vobject.cc. |
|
Return true if this object is local, false if not.
Implements VOS::Vobject. Reimplemented in VOS::LocalMetaObject, VOS::RemoteMetaObject, and VOS::RemoteStreamSite. Definition at line 565 of file vobject.hh. |
|
Return true if this object is remote, false if not.
Implements VOS::Vobject. Reimplemented in VOS::LocalMetaObject, VOS::RemoteMetaObject, and VOS::RemoteStreamSite. Definition at line 566 of file vobject.hh. Referenced by excise(). |
|
This will be called by the listened-to object when its RefCounted::excise() method is called. The application should take any appropriate measures to remove references (to avoid stale pointers and/or memory leaks) and then call release(). Implements VOS::ObjectExciseListener. Definition at line 640 of file vobject.cc. |
|
Gets the next message the object has received.
Implements VOS::Vobject. Reimplemented in VOS::LocalMetaObject, and VOS::RemoteMetaObject. Definition at line 486 of file vobject.cc. |
|
Gets the next update message the object has received.
Implements VOS::Vobject. Reimplemented in VOS::LocalMetaObject, and VOS::RemoteMetaObject. Definition at line 506 of file vobject.cc. |
|
Definition at line 415 of file vobject.cc. |
|
Removes an existing object callback, previously added with addChildListener().
Implements VOS::Vobject. Reimplemented in VOS::LocalMetaObject, VOS::RemoteMetaObject, and VOS::RemoteVobject. Definition at line 629 of file vobject.cc. Referenced by notifyObjectExcise(). |
|
Remove a flag string.
Implements VOS::Vobject. Reimplemented in VOS::LocalMetaObject, and VOS::RemoteMetaObject. Definition at line 762 of file vobject.cc. |
|
Definition at line 594 of file vobject.hh. |
|
Removes an existing object callback, previously added with addParentListener().
Implements VOS::Vobject. Reimplemented in VOS::LocalMetaObject, VOS::RemoteMetaObject, and VOS::RemoteVobject. Definition at line 618 of file vobject.cc. Referenced by notifyObjectExcise(). |
|
Removes an existing object callback, previously added with addTypeListener().
Implements VOS::Vobject. Reimplemented in VOS::LocalMetaObject, VOS::RemoteMetaObject, and VOS::RemoteVobject. Definition at line 607 of file vobject.cc. Referenced by notifyObjectExcise(). |
|
Definition at line 610 of file vobject.hh. |
|
Create a message block which, when run, will recreate any non-VOS state related to this vobject (such as property values). In other words, it should not emit anything related to parent-child relationships, but is rather is a hook for other arbitrary state information, encoded as messages.
Implements VOS::Vobject. Reimplemented in VOS::LocalMetaObject, and VOS::RemoteMetaObject. Definition at line 752 of file vobject.cc. |
|
Gets the next message the update object has received. Update messages are special in that they consist of messages sent from remote sites to update changes to our local cache.
Implements VOS::Vobject. Reimplemented in VOS::LocalMetaObject, VOS::RemoteMetaObject, VOS::RemoteSite, and VOS::RemoteVobject. Definition at line 496 of file vobject.cc. |
|
Definition at line 283 of file vobject.cc. Referenced by excise(). |
|
Set the message discard policy for this object.
Definition at line 669 of file vobject.hh. |
|
Set the default message discard policy for new objects.
Definition at line 639 of file vobject.hh. |
|
Set the update message discard policy for this object.
Definition at line 684 of file vobject.hh. |
|
Set the default update message discard policy for new objects.
Definition at line 654 of file vobject.hh. |
|
Definition at line 734 of file vobject.hh. |
|
Definition at line 503 of file vobject.hh. Referenced by addChildListener(), VOS::RemoteVobject::addChildListener(), excise(), removeChildListener(), VOS::RemoteVobject::removeChildListener(), and ~VobjectImplementation(). |
|
Definition at line 493 of file vobject.hh. Referenced by addChildListener(), excise(), VOS::RemoteSite::excise(), and VOS::RemoteVobject::sendUpdateMessage(). |
|
Definition at line 494 of file vobject.hh. |
|
Definition at line 505 of file vobject.hh. Referenced by addFlag(), checkFlag(), and removeFlag(). |
|
Definition at line 490 of file vobject.hh. Referenced by hasMessageAvailable(). |
|
Definition at line 491 of file vobject.hh. Referenced by hasUpdateMessageAvailable(), and sendUpdateMessage(). |
|
Definition at line 557 of file vobject.hh. Referenced by excise(), and notifyObjectExcise(). |
|
Definition at line 488 of file vobject.hh. Referenced by VOS::RemoteSite::createMetaObject(), VOS::RemoteSite::sendUpdateMessage(), and VobjectImplementation(). |
|
Definition at line 502 of file vobject.hh. Referenced by addParentListener(), VOS::RemoteVobject::addParentListener(), excise(), insertChild(), removeChild(), removeParentListener(), VOS::RemoteVobject::removeParentListener(), setChild(), and ~VobjectImplementation(). |
|
Definition at line 492 of file vobject.hh. Referenced by addParentListener(), excise(), insertChild(), removeChild(), setChild(), and VOS::RemoteVobject::setChild(). |
|
Definition at line 497 of file vobject.hh. |
|
Definition at line 42 of file vobject.cc. |
|
Definition at line 498 of file vobject.hh. Referenced by sendUpdateMessage(). |
|
Definition at line 43 of file vobject.cc. |
|
Definition at line 501 of file vobject.hh. Referenced by addType(), addTypeListener(), VOS::RemoteVobject::addTypeListener(), excise(), removeTypeListener(), VOS::RemoteVobject::removeTypeListener(), and ~VobjectImplementation(). |
|
Definition at line 495 of file vobject.hh. Referenced by addType(), addTypeListener(), VOS::RemoteVobject::addTypeListener(), and saveState(). |
|
Definition at line 558 of file vobject.hh. Referenced by excise(), notifyObjectExcise(), and VOS::RemoteVobject::sendUpdateMessage(). |
|
Definition at line 489 of file vobject.hh. Referenced by VOS::RemoteSite::setURL(), VobjectImplementation(), and ~VobjectImplementation(). |