I'm trying to understand how OCAF works but I think I need a little help. I'm not totaly blank regarding OCAF but basicaly I know what's in the OCAF Sample. Because this is a big issue I think the best is to start with a simple case I'm trying to solve.
Imagine a case similar to the OCAF Sample where a boolean object references two other objects. If an operand object changes what is the best procedure to update the boolean object? The MustExecute method from the boolean object driver would return true because it evaluates the state of the referenced labels.
My question is this: How can I know what objects reference the label of the modified operand? I marked the label of the operand as modified in the document. (I guess we use the document methods to mark the object label as modified after the computation for that object is done and we use a logbook inside that operation. Is this right?) When trying to update the document I called GetModified to get all modified labels but I can't seem to find a function to check wheather a label is referenced or not. Must I iterate all labels in the document and call MustExecute in all Functions attributes?
Can someone give me some lights on this? I'm a little confused.