#include <vos/corelibs/vos/localmetaobject.hh>
Inheritance diagram for VOS::LocalMetaObject:
Generally this will be used as the root of a MetaObject extension tree, because it inherits from LocalVobject and VobjectImplementation all the relevant Vobject data structures.
Definition at line 44 of file localmetaobject.hh.
|
|
|
|
|
Note that this means you have a handle on the entire logical object!
Reimplemented from VOS::MetaObject. |
|
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. |
|
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. |
|
Adds some object callback to be notified when the parent set changes.
Reimplemented from VOS::MetaObject. |
|
|
|
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::LocalVobject. |
|
Adds some object callback to be notified when the type set changes.
Reimplemented from VOS::MetaObject. |
|
Check the flag string.
Implements VOS::Vobject. |
|
Reimplemented from VOS::MetaObject. |
|
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. |
|
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. Referenced by VOS::LocalSocketSite::sendMessage(). |
|
Find a parent. This tests to see if the supplied Vobject is marked as a parent of this Vobject.
Reimplemented from VOS::MetaObject. |
|
Get the set of parent-child relationships in which this object is the parent.
Reimplemented from VOS::MetaObject. |
|
Note that this counts for the entire logical object!
Reimplemented from VOS::MetaObject. |
|
Get the site name of this object.
Reimplemented from VOS::MetaObject. |
|
Get the set of parent-child relationships in which this object is the child.
Reimplemented from VOS::MetaObject. |
|
Get the site this object resides on.
Reimplemented from VOS::MetaObject. Reimplemented in VOS::LocalSite. |
|
Return a set of type names for the types supported by this object.
Reimplemented from VOS::MetaObject. |
|
Get the URL path (in the form "vop://site/name").
Reimplemented from VOS::MetaObject. Referenced by VOS::RemoteVobject::initFields(), and VOS::AsyncConnect::operator()(). |
|
Returns if the object has a message available to be dequeued by receiveMessage().
Reimplemented from VOS::MetaObject. |
|
Returns if the object has a message available to be dequeued by receiveUpdateMessage().
Reimplemented from VOS::MetaObject. |
|
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::LocalVobject. Reimplemented in VOS::LocalSite. |
|
Return true if this object is local, false if not.
Reimplemented from VOS::MetaObject. |
|
Return true if this object is remote, false if not.
Reimplemented from VOS::MetaObject. |
|
Gets the next message the object has received.
Reimplemented from VOS::MetaObject. |
|
Gets the next update message the object has received.
Reimplemented from VOS::MetaObject. |
|
Note that this means you are releasing the entire logical object!
Reimplemented from VOS::MetaObject. Referenced by VOS::RemoteSite::~RemoteSite(). |
|
Remove the child at some position. See setChild() for more information on positions.
Reimplemented from VOS::LocalVobject. Reimplemented in VOS::LocalSite. |
|
Removes an existing object callback, previously added with addChildListener().
Reimplemented from VOS::MetaObject. |
|
Remove a flag string.
Implements VOS::Vobject. |
|
Removes an existing object callback, previously added with addParentListener().
Reimplemented from VOS::MetaObject. |
|
Removes an existing object callback, previously added with addTypeListener().
Reimplemented from VOS::MetaObject. |
|
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. |
|
Sends a block of messages to the object. This may trigger immediate processing of the message if the object is local.
Reimplemented from VOS::LocalVobject. Reimplemented in VOS::LocalSite. |
|
Sends a message to the object. This may trigger immediate processing of the message if the object is local.
Reimplemented from VOS::LocalVobject. Reimplemented in VOS::LocalSite, and VOS::LocalSocketSite. |
|
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. |
|
Replace a child at some position with a new object.
Reimplemented from VOS::LocalVobject. Reimplemented in VOS::LocalSite. |