#include <vos/corelibs/vos/remotemetaobject.hh>
Inheritance diagram for VOS::RemoteMetaObject:
Definition at line 42 of file remotemetaobject.hh.
|
Definition at line 34 of file remotemetaobject.cc. Referenced by VOS::RemoteSite::sendUpdateMessage(). |
|
Definition at line 41 of file remotemetaobject.cc. |
|
Note that this means you have a handle on the entire logical object!
Reimplemented from VOS::MetaObject. Definition at line 297 of file remotemetaobject.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.
Reimplemented from VOS::MetaObject. Definition at line 267 of file remotemetaobject.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. Definition at line 321 of file remotemetaobject.cc. |
|
Adds some object callback to be notified when the parent set changes.
Reimplemented from VOS::MetaObject. Definition at line 261 of file remotemetaobject.cc. |
|
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.
Reimplemented from VOS::RemoteVobject. Definition at line 81 of file remotemetaobject.cc. |
|
Adds some object callback to be notified when the type set changes.
Reimplemented from VOS::MetaObject. Definition at line 255 of file remotemetaobject.cc. |
|
Check the flag string.
Implements VOS::Vobject. Definition at line 333 of file remotemetaobject.cc. |
|
Reimplemented from VOS::MetaObject. Reimplemented in VOS::RemoteSite, and VOS::RemoteSocketSite. Definition at line 291 of file remotemetaobject.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.
Reimplemented from VOS::RemoteVobject. Definition at line 220 of file remotemetaobject.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.
Reimplemented from VOS::RemoteVobject. Definition at line 213 of file remotemetaobject.cc. |
|
Find a parent. This tests to see if the supplied Vobject is marked as a parent of this Vobject.
Reimplemented from VOS::MetaObject. Definition at line 227 of file remotemetaobject.cc. |
|
Get the set of parent-child relationships in which this object is the parent.
Reimplemented from VOS::MetaObject. Definition at line 94 of file remotemetaobject.cc. |
|
Note that this counts for the entire logical object!
Reimplemented from VOS::MetaObject. Definition at line 307 of file remotemetaobject.cc. Referenced by VOS::RemoteSite::excise(), VOS::RemoteStreamSite::handleDisconnection(), VOS::RemoteSocketSite::handleDisconnection(), VOS::RemoteStreamSite::sendMessage(), and VOS::RemoteSocketSite::sendMessage(). |
|
Get the site name of this object.
Reimplemented from VOS::MetaObject. Definition at line 45 of file remotemetaobject.cc. |
|
Get the set of parent-child relationships in which this object is the child.
Reimplemented from VOS::MetaObject. Definition at line 87 of file remotemetaobject.cc. |
|
Get the site this object resides on.
Reimplemented from VOS::MetaObject. Reimplemented in VOS::RemoteSite. Definition at line 51 of file remotemetaobject.cc. |
|
Return a set of type names for the types supported by this object.
Reimplemented from VOS::MetaObject. Definition at line 75 of file remotemetaobject.cc. Referenced by VOS::RemoteSite::notifyChildInserted(). |
|
|
Definition at line 131 of file remotemetaobject.cc. Referenced by sendUpdateMessage(). |
|
Returns if the object has a message available to be dequeued by receiveMessage().
Reimplemented from VOS::MetaObject. Definition at line 125 of file remotemetaobject.cc. |
|
Returns if the object has a message available to be dequeued by receiveUpdateMessage().
Reimplemented from VOS::MetaObject. Definition at line 207 of file remotemetaobject.cc. |
|
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.
Reimplemented from VOS::RemoteVobject. Definition at line 241 of file remotemetaobject.cc. |
|
Return true if this object is local, false if not.
Reimplemented from VOS::MetaObject. Reimplemented in VOS::RemoteStreamSite. Definition at line 63 of file remotemetaobject.cc. |
|
Return true if this object is remote, false if not.
Reimplemented from VOS::MetaObject. Reimplemented in VOS::RemoteStreamSite. Definition at line 69 of file remotemetaobject.cc. |
|
Gets the next message the object has received.
Reimplemented from VOS::MetaObject. Definition at line 119 of file remotemetaobject.cc. |
|
Gets the next update message the object has received.
Reimplemented from VOS::MetaObject. Definition at line 201 of file remotemetaobject.cc. |
|
Note that this means you are releasing the entire logical object!
Reimplemented from VOS::MetaObject. Reimplemented in VOS::RemoteSite. Definition at line 302 of file remotemetaobject.cc. |
|
Remove the child at some position. See setChild() for more information on positions.
Reimplemented from VOS::MetaObject. Definition at line 248 of file remotemetaobject.cc. |
|
Removes an existing object callback, previously added with addChildListener().
Reimplemented from VOS::MetaObject. Definition at line 285 of file remotemetaobject.cc. |
|
Remove a flag string.
Implements VOS::Vobject. Definition at line 327 of file remotemetaobject.cc. |
|
Removes an existing object callback, previously added with addParentListener().
Reimplemented from VOS::MetaObject. Definition at line 279 of file remotemetaobject.cc. |
|
Removes an existing object callback, previously added with addTypeListener().
Reimplemented from VOS::MetaObject. Definition at line 273 of file remotemetaobject.cc. |
|
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. Definition at line 312 of file remotemetaobject.cc. |
|
Sends a block of messages to the object. This may trigger immediate processing of the message if the object is local.
Reimplemented from VOS::MetaObject. Reimplemented in VOS::RemoteSite, VOS::RemoteSocketSite, and VOS::RemoteStreamSite. Definition at line 110 of file remotemetaobject.cc. |
|
Sends a message to the object. This may trigger immediate processing of the message if the object is local.
Reimplemented from VOS::MetaObject. Reimplemented in VOS::RemoteSite, VOS::RemoteSocketSite, and VOS::RemoteStreamSite. Definition at line 101 of file remotemetaobject.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.
Reimplemented from VOS::MetaObject. Reimplemented in VOS::RemoteSite. Definition at line 179 of file remotemetaobject.cc. |
|
Reimplemented from VOS::RemoteVobject. Reimplemented in VOS::RemoteSite. Definition at line 234 of file remotemetaobject.cc. |
|
Definition at line 104 of file remotemetaobject.hh. |