[Contents] [Index] [Help] [Retrace] [Browse <] [Browse >]

Tells an object to add another object to its personal Exec list.  What the
list is for depends on the class.  The return value for this method is not
explicitly defined.

One class that uses this method is modelclass.  A modelclass object
maintains a broadcast list.  When a modelclass object gets an OM_NOTIFY
message, it broadcasts an OM_UPDATE message about the OM_NOTIFY to every
object in its broadcast list.

This method uses a custom message (defined in <intuition/classusr.h>):

    #define  opAddMember opMember
    struct opMember {
        ULONG  MethodID;     /* OM_ADDMEMBER (or OM_REMMEMBER) */
        Object *opam_Object; /* add (or remove) this object    */
    };                       /* to (from) personal list.       */

opam_Object is the object to add to the list.  A dispatcher typically
implements OM_ADDMEMBER by sending the OM_ADDTAIL message to the
opam_Object object.