OpenSceneGraph/doc/osg/MemoryAdapter.html
2001-01-10 16:32:10 +00:00

123 lines
4.6 KiB
HTML

<HTML>
<HEAD>
<TITLE>class SG_EXPORT osg::MemoryAdapter</TITLE>
<META NAME="GENERATOR" CONTENT="DOC++ 3.4.3">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H2>class SG_EXPORT <A HREF="#DOC.DOCU">osg::MemoryAdapter</A>: public <!1><A HREF="Referenced.html#DOC.2.43.4">Referenced</A></H2>
<BLOCKQUOTE>Class for adapting the memory management of external data.</BLOCKQUOTE>
<HR>
<H2>Inheritance:</H2>
<APPLET CODE="ClassGraph.class" WIDTH=600 HEIGHT=65>
<param name=classes value="CReferenced,MReferenced.html,CMemoryAdapter,MMemoryAdapter.html">
<param name=before value="M,M">
<param name=after value="Md_,M">
<param name=indent value="0,1">
<param name=arrowdir value="down">
</APPLET>
<HR>
<DL>
<P><DL>
<DT><H3>Public Methods</H3><DD><DT>
<A HREF="#DOC.2.29.6"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A> <B>MemoryAdapter</B>()
<DD><I></I>
<DT>
<A HREF="#DOC.2.29.1"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>virtual void <B>incrementReference</B>(void* )
<DD><I>Increment the reference count of the userData</I>
<DT>
<A HREF="#DOC.2.29.2"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>virtual void <B>decrementReference</B>(void* )
<DD><I>Decrement the reference count of the userData.</I>
<DT>
<A HREF="#DOC.2.29.3"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>virtual void* <B>clone</B>(void* )
<DD><I>not current used, but will be used in future</I>
<DT>
<A HREF="#DOC.2.29.4"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>virtual bool <B>write</B>(<!1><A HREF="Output.html">Output</A>&amp; , void* )
<DD><I>not current used, but will be used in future</I>
<DT>
<A HREF="#DOC.2.29.5"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>virtual bool <B>read</B>(<!1><A HREF="Input.html">Input</A>&amp; , void* )
<DD><I>not current used, but will be used in future</I>
</DL></P>
<P><DL>
<DT><H3>Protected Methods</H3><DD><DT>
<A HREF="#DOC.2.29.7"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>virtual <B>~MemoryAdapter</B>()
<DD><I></I>
</DL></P>
</DL>
<HR><H3>Inherited from <A HREF="Referenced.html">Referenced</A>:</H3>
<DL>
<P><DL>
<DT><H3>Public Methods</H3><DD><DT>
<IMG ALT="o" SRC=icon2.gif><!1><A HREF="Referenced.html#DOC.2.43.4">Referenced</A>&amp; <B>operator = </B>(<!1><A HREF="Referenced.html#DOC.2.43.4">Referenced</A>&amp;)
<DT>
<IMG ALT="o" SRC=icon2.gif>void <B>ref</B>()
<DT>
<IMG ALT="o" SRC=icon2.gif>void <B>unref</B>()
<DT>
<IMG ALT="o" SRC=icon2.gif>int <B>referenceCount</B>()
</DL></P>
<P><DL>
<DT><H3>Protected Fields</H3><DD><DT>
<IMG ALT="o" SRC=icon2.gif>int <B>_refCount</B>
</DL></P>
</DL>
<A NAME="DOC.DOCU">
<HR>
<H2>Documentation</H2>
<BLOCKQUOTE>Class for adapting the memory management of external data.
Typically used to specify the memory management of user data
which can be attached to osg::Node.</BLOCKQUOTE>
<DL>
<A NAME="MemoryAdapter">
<A NAME="DOC.2.29.6">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> MemoryAdapter()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="incrementReference">
<A NAME="DOC.2.29.1">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void incrementReference(void* )</B></TT>
<DD>Increment the reference count of the userData
<DL><DT><DD></DL><P>
<A NAME="decrementReference">
<A NAME="DOC.2.29.2">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void decrementReference(void* )</B></TT>
<DD>Decrement the reference count of the userData.
Is usually implemented such that if reference count
is decremented to zero the userData should be
deleted. However, this is entirely up to the
discression of the user who is extending this base class.
<DL><DT><DD></DL><P>
<A NAME="clone">
<A NAME="DOC.2.29.3">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void* clone(void* )</B></TT>
<DD>not current used, but will be used in future
<DL><DT><DD></DL><P>
<A NAME="write">
<A NAME="DOC.2.29.4">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual bool write(<!1><A HREF="Output.html">Output</A>&amp; , void* )</B></TT>
<DD>not current used, but will be used in future
<DL><DT><DD></DL><P>
<A NAME="read">
<A NAME="DOC.2.29.5">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual bool read(<!1><A HREF="Input.html">Input</A>&amp; , void* )</B></TT>
<DD>not current used, but will be used in future
<DL><DT><DD></DL><P>
<A NAME="~MemoryAdapter">
<A NAME="DOC.2.29.7">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual ~MemoryAdapter()</B></TT>
<DL><DT><DD></DL><P></DL>
<HR><DL><DT><B>This class has no child classes.</B></DL>
<DL><DT><DD></DL><P><I><A HREF="index.html">Alphabetic index</A></I> <I><A HREF="HIER.html">HTML hierarchy of classes</A> or <A HREF="HIERjava.html">Java</A></I><P><HR>
<BR>
This page was generated with the help of <A HREF="http://www.linuxsupportline.com/~doc++">DOC++</A>.
</BODY>