Re: Performer get chan id

New Message Reply Date view Thread view Subject view Author view

Jean Daigle (jaydee++at++thor.ats.qc.ca)
Mon, 24 Jul 1995 09:32:30 -0400


Hello!

On Jul 21, 8:15pm, SSPSU91++at++aol.com wrote:
...
} Does anyone know of a pf call which will return the channel id of the current
} channel being drawn. I want to call this function in the draw process and
} only do certain things when a certain channel is being drawn. I know there is
} a pfGetChanPipe call to return the pipe of the channel so I think there may
} be one similar to get the channel.
...
}-- End of excerpt from SSPSU91++at++aol.com

You may use the pfGetId() call to obtain the unique long integer
identifier associated with each Performer (libpf) object.

>From the man page:

     All IRIS Performer objects defined in the libpf library have a unique
     integer identifier. pfGetId returns the identifier of unknown or -1 if
     unknown is not a libpf data type.

FWIW, I have used this function successfully for arguments of type
(pfChannel *) with Performer 1.2/IRIX 5.2.

Hope this helps.

Regards,
Jean Daigle.

 -----------------------------------------------------------------
| Jean Daigle ATS Aerospace Inc. |
| Software Designer 1250 Boul Marie-Victorin |
| St. Bruno, QC J3V 6B8 |
| jaydee++at++ats.qc.ca Tel: (514) 441-9000 Fax: (514) 441-6789 |
 -----------------------------------------------------------------


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:51:42 PDT

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