<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <title>OpenSceneGraph: osg::ReleaseContext_Block_MakeCurrentOperation Struct Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.7.1 --> <div class="navigation" id="top"> <div class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="annotated.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> <li><a href="dirs.html"><span>Directories</span></a></li> </ul> </div> <div class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="classes.html"><span>Class Index</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div class="navpath"> <ul> <li><a class="el" href="a01628.html">osg</a> </li> <li><a class="el" href="a00640.html">osg::ReleaseContext_Block_MakeCurrentOperation</a> </li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> </div> <div class="headertitle"> <h1>osg::ReleaseContext_Block_MakeCurrentOperation Struct Reference</h1> </div> </div> <div class="contents"> <!-- doxytag: class="osg::ReleaseContext_Block_MakeCurrentOperation" --><!-- doxytag: inherits="osg::GraphicsOperation,osg::RefBlock" --> <p><a class="el" href="a00640.html" title="ReleaseContext_Block_MakeCurrentOperation releases the context for another thread to acquire...">ReleaseContext_Block_MakeCurrentOperation</a> releases the context for another thread to acquire, then blocks waiting for context to be released, once the block is release the context is re-acquired. <a href="#_details">More...</a></p> <div class="dynheader"> Inheritance diagram for osg::ReleaseContext_Block_MakeCurrentOperation:</div> <div class="dyncontent"> <div class="center"><img src="a02072.png" border="0" usemap="#osg_1_1ReleaseContext__Block__MakeCurrentOperation_inherit__map" alt="Inheritance graph"/></div> <map name="osg_1_1ReleaseContext__Block__MakeCurrentOperation_inherit__map" id="osg_1_1ReleaseContext__Block__MakeCurrentOperation_inherit__map"> <area shape="rect" id="node2" href="a00330.html" title="osg::GraphicsOperation" alt="" coords="11,160,168,189"/><area shape="rect" id="node4" href="a00513.html" title="Base class for implementing graphics operations." alt="" coords="68,83,175,112"/><area shape="rect" id="node6" href="a00627.html" title="Base class from providing referencing counted objects." alt="" coords="116,5,233,35"/><area shape="rect" id="node8" href="a00625.html" title="osg::RefBlock" alt="" coords="192,160,296,189"/></map> <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> <p><a href="a02073.html">List of all members.</a></p> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00640.html#a7bab0cbf6b980ff152fd36a9711af03a">ReleaseContext_Block_MakeCurrentOperation</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00640.html#a4a3d816dc22da9f9aaa6bbcbe6f6c3ed">release</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00640.html#ac7446049152815a15acbd66b0e8a96f4">operator()</a> (<a class="el" href="a00328.html">GraphicsContext</a> *context)</td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p><a class="el" href="a00640.html" title="ReleaseContext_Block_MakeCurrentOperation releases the context for another thread to acquire...">ReleaseContext_Block_MakeCurrentOperation</a> releases the context for another thread to acquire, then blocks waiting for context to be released, once the block is release the context is re-acquired. </p> <hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="a7bab0cbf6b980ff152fd36a9711af03a"></a><!-- doxytag: member="osg::ReleaseContext_Block_MakeCurrentOperation::ReleaseContext_Block_MakeCurrentOperation" ref="a7bab0cbf6b980ff152fd36a9711af03a" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">osg::ReleaseContext_Block_MakeCurrentOperation::ReleaseContext_Block_MakeCurrentOperation </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="ac7446049152815a15acbd66b0e8a96f4"></a><!-- doxytag: member="osg::ReleaseContext_Block_MakeCurrentOperation::operator()" ref="ac7446049152815a15acbd66b0e8a96f4" args="(GraphicsContext *context)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void osg::ReleaseContext_Block_MakeCurrentOperation::operator() </td> <td>(</td> <td class="paramtype"><a class="el" href="a00328.html">GraphicsContext</a> * </td> <td class="paramname"> <em>context</em></td> <td> ) </td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a4a3d816dc22da9f9aaa6bbcbe6f6c3ed"></a><!-- doxytag: member="osg::ReleaseContext_Block_MakeCurrentOperation::release" ref="a4a3d816dc22da9f9aaa6bbcbe6f6c3ed" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void osg::ReleaseContext_Block_MakeCurrentOperation::release </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <hr/>The documentation for this struct was generated from the following file:<ul> <li>osg/<a class="el" href="a01187.html">GraphicsThread</a></li> </ul> </div> <hr> <table border="0"><tr><td> <img src="osg32-32.png" alt="osg logo" /> </td><td> <address><small>Generated at Thu Aug 19 2010 16:22:42 for the <a href="http://www.openscenegraph.org/">OpenSceneGraph</a> by <a href="http://www.doxygen.org">doxygen</a> 1.7.1.</small></address> <!-- Dimitri van Heesch's e-mail address removed, lest he get messages on the OpenSceneGraph --> </td></tr></table> </body> </html>