Garrett Williams (gwilliams++at++etcflorida.com)
Fri, 18 Apr 1997 10:22:24 -0400
I am calling this in the constructor of the class..
mv_body->setTravFuncs(PFTRAV_CULL,(pfNodeTravFuncType)walk,NULL);
or
mv_body->setTravFuncs(PFTRAV_CULL,(pfNodeTravFuncType)people::walk,NULL);
both compile BUT::: neither works....
It seams that it will call the function (walk) properly but the function
fails to get the proper value from a protected: varable. I have tried
changing the varable to public and private but I recive a core when ran.
I recive the warning:
warning(3676): pointer-to-member-function cast to pointer
to function
mv_body->setTravFuncs(PFTRAV_CULL,(pfNodeTravFuncType)walk,NULL);
maby I am missing somthing in C++ or in the proper use of
->setTravFuncs..
all help would be liked:::Thanks for the help...
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
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:55:13 PDT