#include <vos/corelibs/vos/remotevobject.hh>
Inheritance diagram for VOS::RemoteVobject:
Definition at line 43 of file remotevobject.hh.
|
Definition at line 39 of file remotevobject.cc. |
|
Definition at line 61 of file remotevobject.cc. |
|
Increment the reference count.
Reimplemented from VOS::RefCounted. Reimplemented in VOS::RemoteMetaObject. Definition at line 624 of file remotevobject.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::VobjectImplementation. Reimplemented in VOS::RemoteMetaObject. Definition at line 545 of file remotevobject.cc. |
|
Adds some object callback to be notified when the parent set changes.
Reimplemented from VOS::VobjectImplementation. Reimplemented in VOS::RemoteMetaObject. Definition at line 531 of file remotevobject.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.
Implements VOS::Vobject. Reimplemented in VOS::RemoteMetaObject. Definition at line 607 of file remotevobject.cc. |
|
Adds some object callback to be notified when the type set changes.
Reimplemented from VOS::VobjectImplementation. Reimplemented in VOS::RemoteMetaObject. Definition at line 516 of file remotevobject.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::VobjectImplementation. Reimplemented in VOS::RemoteMetaObject. Definition at line 397 of file remotevobject.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::VobjectImplementation. Reimplemented in VOS::RemoteMetaObject. Definition at line 81 of file remotevobject.cc. |
|
Get the set of parent-child relationships in which this object is the parent.
Reimplemented from VOS::VobjectImplementation. Reimplemented in VOS::RemoteMetaObject. Definition at line 118 of file remotevobject.cc. |
|
Get the set of parent-child relationships in which this object is the child.
Reimplemented from VOS::VobjectImplementation. Reimplemented in VOS::RemoteMetaObject. Definition at line 138 of file remotevobject.cc. |
|
Return a set of type names for the types supported by this object.
Reimplemented from VOS::VobjectImplementation. Reimplemented in VOS::RemoteMetaObject. Definition at line 370 of file remotevobject.cc. |
|
Convenience function which initializes various message fields when sending out a message.
Definition at line 65 of file remotevobject.cc. Referenced by addChildListener(), addParentListener(), addType(), addTypeListener(), VOS::RemoteSite::createMetaObject(), removeChildListener(), removeParentListener(), removeTypeListener(), and VOS::RemoteSocketSite::secureConnection(). |
|
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.
Implements VOS::Vobject. Reimplemented in VOS::RemoteMetaObject. Definition at line 477 of file remotevobject.cc. |
|
Decrement the reference count. The object will be deleted if (count == 0) Reimplemented from VOS::RefCounted. Reimplemented in VOS::RemoteMetaObject, and VOS::RemoteSite. Definition at line 630 of file remotevobject.cc. |
|
Remove the child at some position. See setChild() for more information on positions.
Implements VOS::Vobject. Reimplemented in VOS::RemoteMetaObject. Definition at line 495 of file remotevobject.cc. |
|
Removes an existing object callback, previously added with addChildListener().
Reimplemented from VOS::VobjectImplementation. Reimplemented in VOS::RemoteMetaObject. Definition at line 591 of file remotevobject.cc. |
|
Removes an existing object callback, previously added with addParentListener().
Reimplemented from VOS::VobjectImplementation. Reimplemented in VOS::RemoteMetaObject. Definition at line 575 of file remotevobject.cc. |
|
Removes an existing object callback, previously added with addTypeListener().
Reimplemented from VOS::VobjectImplementation. Reimplemented in VOS::RemoteMetaObject. Definition at line 559 of file remotevobject.cc. |
|
Sends a block of messages to the object. This may trigger immediate processing of the message if the object is local.
Implements VOS::Vobject. Reimplemented in VOS::RemoteMetaObject, VOS::RemoteSite, VOS::RemoteSocketSite, and VOS::RemoteStreamSite. Definition at line 56 of file remotevobject.cc. |
|
Sends a message to the object. This may trigger immediate processing of the message if the object is local.
Implements VOS::Vobject. Reimplemented in VOS::RemoteMetaObject, VOS::RemoteSite, VOS::RemoteSocketSite, and VOS::RemoteStreamSite. Definition at line 51 of file remotevobject.cc. Referenced by addChildListener(), addParentListener(), addType(), addTypeListener(), removeChildListener(), removeParentListener(), and removeTypeListener(). |
|
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::VobjectImplementation. Reimplemented in VOS::RemoteMetaObject, and VOS::RemoteSite. Definition at line 329 of file remotevobject.cc. |
|
Implements VOS::Vobject. Reimplemented in VOS::RemoteMetaObject, and VOS::RemoteSite. Definition at line 422 of file remotevobject.cc. |