pfFile, how does it work?

New Message Reply Date view Thread view Subject view Author view

Jan Barglowski (jan++at++euryale.chinalake.navy.mil)
Mon, 28 Jul 1997 13:26:35 -0700 (PDT)


Hi all!

I'm trying to get the pfFile object working in C++. Here's some
code:

---
#include <Performer/pr/pfFile.h>

static pfFile *fp;

fp->open("/cyclops1/vpf/otwC/saft2/dork.out", O_WRONLY); fp->write((char *) &t, sizeof(float)); fp->close();

---

This produces no output file! I have tried the pfFile::create() method as well and get an empty file. I've found that there is no constructor for pfFile, as well.

I saw in the pfFile man pages that new code should use the AIO functions, but is the pfFile stuff broken???

IRIX 6.2, Performer 2.1, iR

Thanks!

jan

-- 
Jan Anthony Barglowski	              jan++at++chinalake.navy.mil
Real-time Computer Graphics           http://www1.ridgecrest.ca.us/~jan
Naval Air Warfare Center, China Lake  (619) 927-1057
=======================================================================
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:39 PDT

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