In other words, I sort of imagined it like this:
class Entity
{
handleMessage();
set<Entity*> parents;
string url;
}
class Link
{
string cname;
int pos;
Entity *child;
Entity *parent;
}
class Vobject : Entity
{
list<Link> children;
vector<EmbeddedProperty> embeddedProperties;
list<Component*> components;
etc.
}
class PropertyCore
{
read();
write();
dataBuffer;
etc.
}
class EmbeddedProperty : Entity, PropertyCore
{
Vobject *owner;
}
class PropertyVobject : Component, PropertyCore
{
}
class Site {
set<Entity*> entities;
}
So if a host or site has entities foo, bar, baz, you can send messages to
vip://site/foo, vip://site/bar, vip://site/baz, and they could be vobjects or
embedded properties. An "Entity" is basically "something that can be linked to
and can receive messages", so it includes both embedded and non-embedded
objects.
I know this is simplified but does this make sense?
Reed
_______________________________________________
vos-d mailing list
[email protected]
http://www.interreality.org/cgi-bin/mailman/listinfo/vos-d