#include <vos/corelibs/vos/vobject.hh>
Inheritance diagram for VOS::Vobject:
Definition at line 55 of file vobject.hh.
|
Definition at line 103 of file vobject.hh. Referenced by VOS::VobjectImplementation::addChildListener(), and VOS::RemoteSite::unlockChildNotifyOutgoing(). |
|
Definition at line 102 of file vobject.hh. Referenced by VOS::VobjectImplementation::addParentListener(), and VOS::RemoteSite::unlockParentNotifyOutgoing(). |
|
Definition at line 104 of file vobject.hh. Referenced by VOS::VobjectImplementation::addTypeListener(), VOS::RemoteSite::notifyChildInserted(), and VOS::RemoteSite::unlockTypeNotifyOutgoing(). |
|
Adds some object callback to be notified when the child list changes. The child listener will immediately be issued a notifyChildInserted() for each child.
Implemented in VOS::LocalMetaObject, VOS::MetaObject, VOS::RemoteMetaObject, VOS::RemoteVobject, and VOS::VobjectImplementation. |
|
Add a flag string. Mainly useful for doing tree walks, when you want to mark an object as already having been touched.
Implemented in VOS::LocalMetaObject, VOS::RemoteMetaObject, and VOS::VobjectImplementation. |
|
Adds some object callback to be notified when the parent set changes.
Implemented in VOS::LocalMetaObject, VOS::MetaObject, VOS::RemoteMetaObject, VOS::RemoteVobject, and VOS::VobjectImplementation. |
|
Adds a new type to this object's type set. This only changes the stored set of type name strings and does not necessarily affect the actual code behind the object. See the Local Site class for information about extending the actual functionality of an existing meta objects.
Implemented in VOS::LocalMetaObject, VOS::LocalVobject, VOS::RemoteMetaObject, and VOS::RemoteVobject. |
|
Adds some object callback to be notified when the type set changes.
Implemented in VOS::LocalMetaObject, VOS::MetaObject, VOS::RemoteMetaObject, VOS::RemoteVobject, and VOS::VobjectImplementation. |
|
Check the flag string.
Implemented in VOS::LocalMetaObject, VOS::RemoteMetaObject, and VOS::VobjectImplementation. |
|
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.
Implemented in VOS::LocalMetaObject, VOS::RemoteMetaObject, VOS::RemoteVobject, and VOS::VobjectImplementation. |
|
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.
Implemented in VOS::LocalMetaObject, VOS::RemoteMetaObject, VOS::RemoteVobject, and VOS::VobjectImplementation. Referenced by VOS::VobjectImplementation::findObject(). |
|
Searchs and returns some object, given a rooted path (that is, in the form "vop://site:port/child1/child2/etc"). See findObject() for more information about paths.
Definition at line 124 of file vobject.cc. Referenced by VOS::RemoteSite::createMetaObject(). |
|
Find a parent. This tests to see if the supplied Vobject is marked as a parent of this Vobject.
Implemented in VOS::LocalMetaObject, VOS::MetaObject, VOS::RemoteMetaObject, and VOS::VobjectImplementation. |
|
Get the set of parent-child relationships in which this object is the parent.
Implemented in VOS::LocalMetaObject, VOS::MetaObject, VOS::RemoteMetaObject, VOS::RemoteVobject, and VOS::VobjectImplementation. Referenced by VOS::RemoteSite::unlockChildNotifyOutgoing(). |
|
Get the site name of this object.
Implemented in VOS::LocalMetaObject, VOS::MetaObject, VOS::RemoteMetaObject, and VOS::VobjectImplementation. Referenced by operator==(). |
|
Get the set of parent-child relationships in which this object is the child.
Implemented in VOS::LocalMetaObject, VOS::MetaObject, VOS::RemoteMetaObject, VOS::RemoteVobject, and VOS::VobjectImplementation. Referenced by VOS::RemoteSite::unlockParentNotifyOutgoing(). |
|
Get the site this object resides on.
Implemented in VOS::LocalMetaObject, VOS::LocalSite, VOS::MetaObject, VOS::RemoteMetaObject, VOS::RemoteSite, VOS::Site, and VOS::VobjectImplementation. Referenced by VOS::RemoteVobject::initFields(), and operator==(). |
|
Return a set of type names for the types supported by this object.
Implemented in VOS::LocalMetaObject, VOS::MetaObject, VOS::RemoteMetaObject, VOS::RemoteVobject, and VOS::VobjectImplementation. Referenced by VOS::RemoteSite::unlockTypeNotifyOutgoing(). |
|
|
Returns if the object has a message available to be dequeued by receiveMessage().
Implemented in VOS::LocalMetaObject, VOS::MetaObject, VOS::RemoteMetaObject, and VOS::VobjectImplementation. |
|
Returns if the object has a message available to be dequeued by receiveUpdateMessage().
Implemented in VOS::LocalMetaObject, VOS::MetaObject, VOS::RemoteMetaObject, and VOS::VobjectImplementation. |
|
Insert a child at some position with a new object. If the position is positive, the object is inserted such that it now occupies that position, and all objects starting from the previous occupant of that position onward are moved up one. If the position in negative, the object is similarly inserted so that it now occupies that position. For example, position -1 will append the object to the end of the list, position -2 will insert the object in the second-to-last position, etc. See setChild() for more information on positions.
Implemented in VOS::LocalMetaObject, VOS::LocalSite, VOS::LocalVobject, VOS::RemoteMetaObject, and VOS::RemoteVobject. |
|
Return true if this object is local, false if not.
Implemented in VOS::LocalMetaObject, VOS::MetaObject, VOS::RemoteMetaObject, VOS::RemoteStreamSite, and VOS::VobjectImplementation. |
|
Return true if this object is remote, false if not.
Implemented in VOS::LocalMetaObject, VOS::MetaObject, VOS::RemoteMetaObject, VOS::RemoteStreamSite, and VOS::VobjectImplementation. |
|
Provide our own comparison function for objects which are logically equivilent in terms of the Vobject system.
Definition at line 57 of file vobject.cc. |
|
Provide our own comparison function for objects which are logically equivilent in terms of the Vobject system.
Definition at line 47 of file vobject.cc. |
|
Gets the next message the object has received.
Implemented in VOS::LocalMetaObject, VOS::MetaObject, VOS::RemoteMetaObject, and VOS::VobjectImplementation. |
|
Gets the next update message the object has received.
Implemented in VOS::LocalMetaObject, VOS::MetaObject, VOS::RemoteMetaObject, and VOS::VobjectImplementation. |
|
Remove the child at some position. See setChild() for more information on positions.
Implemented in VOS::LocalMetaObject, VOS::LocalSite, VOS::LocalVobject, VOS::MetaObject, VOS::RemoteMetaObject, and VOS::RemoteVobject. |
|
Removes an existing object callback, previously added with addChildListener().
Implemented in VOS::LocalMetaObject, VOS::MetaObject, VOS::RemoteMetaObject, VOS::RemoteVobject, and VOS::VobjectImplementation. |
|
Remove a flag string.
Implemented in VOS::LocalMetaObject, VOS::RemoteMetaObject, and VOS::VobjectImplementation. |
|
Removes an existing object callback, previously added with addParentListener().
Implemented in VOS::LocalMetaObject, VOS::MetaObject, VOS::RemoteMetaObject, VOS::RemoteVobject, and VOS::VobjectImplementation. |
|
Removes an existing object callback, previously added with addTypeListener().
Implemented in VOS::LocalMetaObject, VOS::MetaObject, VOS::RemoteMetaObject, VOS::RemoteVobject, and VOS::VobjectImplementation. |
|
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.
Implemented in VOS::LocalMetaObject, VOS::RemoteMetaObject, and VOS::VobjectImplementation. |
|
Sends a block of messages to the object. This may trigger immediate processing of the message if the object is local.
Implemented in VOS::LocalMetaObject, VOS::LocalSite, VOS::LocalVobject, VOS::MetaObject, VOS::RemoteMetaObject, VOS::RemoteSite, VOS::RemoteSocketSite, VOS::RemoteStreamSite, VOS::RemoteVobject, and VOS::Site. |
|
Sends a message to the object. This may trigger immediate processing of the message if the object is local.
Implemented in VOS::LocalMetaObject, VOS::LocalSite, VOS::LocalSocketSite, VOS::LocalVobject, VOS::MetaObject, VOS::RemoteMetaObject, VOS::RemoteSite, VOS::RemoteSocketSite, VOS::RemoteStreamSite, VOS::RemoteVobject, and VOS::Site. |
|
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.
Implemented in VOS::LocalMetaObject, VOS::MetaObject, VOS::RemoteMetaObject, VOS::RemoteSite, VOS::RemoteVobject, and VOS::VobjectImplementation. |
|
Replace a child at some position with a new object.
Implemented in VOS::LocalMetaObject, VOS::LocalSite, VOS::LocalVobject, VOS::RemoteMetaObject, VOS::RemoteSite, and VOS::RemoteVobject. |