pfNode Traversal

New Message Reply Date view Thread view Subject view Author view

Bryan Wasileski (bwasileski++at++mdc.com)
Thu, 19 Dec 1996 10:07:46 -0600


Here's another one.

This may have more to do with programming then performer but....

I am dynamically instancing new pfNodes when needed. I need to
assign specific node callback traversals to these new nodes. The node
traversals are declared static in scoped within the main() file. The routine
where I instance the new pfnodes is in another file and routine. Since
the traversal is static to the one file, I cannot resolve the routine within
the other unit at link time.
  I have attempted to place a couple of function pointers in global memory
but I am now getting errors at compile time:
   The error is that function pointers to bound functions can only used to
call the function.

  Does anyone have any advise to give for this situation? I need to be
able to assign the call back traversal to node which are created in
external routines.

- Bryan Wasileski
  McDonnell Douglas Training Systems

thank.

=======================================================================
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:54:11 PDT

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