Traversal

New Message Reply Date view Thread view Subject view Author view

Garrett Williams (gwilliams++at++etcflorida.com)
Wed, 16 Apr 1997 22:18:19 -0400


I am using ::

currentdcsNode->setTravMask(PFTRAV_APP,0x0,PFTRAV_PRUNE ,PF_SET);
currentdcsNode->setTravFuncs(PFTRAV_APP,(pfNodeTravFuncType)
this->_call, NULL);
currentdcsNode->setTravData(PFTRAV_APP,stuff);

int people::_call(pfTraverser *trav, dcsData *doit)
{
        doit->walk(trav);
        return PFTRAV_PRUNE; // PFTRAV_CONT, PFTRAV_PRUNE, PFTRAV_TERM
}

This code works BUT only for the first DCS in the model... It apears
that the app traversal stops at the first call the _call.....

I have tried changing the mask and the return...

maby I am missing somthing but I think that you can have a call back for
every dcs in a model??????????????? Now why wont it work?????????

Thanks to all
        Garrett
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
            Submissions: info-performer++at++sgi.com
        Admin. requests: info-performer-request++at++sgi.com


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:55:19 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.