Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

socontexthandler(3) [debian man page]

SoContextHandler(3)						       Coin						       SoContextHandler(3)

NAME
SoContextHandler - The SoContextHandler class is for now to be treated as an internal class. SYNOPSIS
#include <Inventor/misc/SoContextHandler.h> Public Types typedef void ContextDestructionCB (uint32_t contextid, void *userdata) Static Public Member Functions static void destructingContext (uint32_t contextid) static void addContextDestructionCallback (ContextDestructionCB *func, void *closure) static void removeContextDestructionCallback (ContextDestructionCB *func, void *closure) Detailed Description The SoContextHandler class is for now to be treated as an internal class. Since: Coin 2.0 Member Function Documentation void SoContextHandler::destructingContext (uint32_tcontextid) [static] This method must be called by client code which destructs a context, to guarantee that there are no memory leaks upon context destruction. This will take care of correctly freeing context-bound resources, like OpenGL texture objects and display lists. Before calling this function, the context must be made current. Note that if you are using one of the standard GUI-binding libraries from Kongsberg Oil & Gas Technologies, this is taken care of automatically for contexts for canvases set up by SoQt, SoWin, etc. void SoContextHandler::addContextDestructionCallback (ContextDestructionCB *func, void *closure) [static] Add a callback which will be called every time a GL context is destructed. The callback should delete all GL resources tied to that context. All nodes/classes that allocate GL resources should set up a callback like this. Add the callback in the constructor of the node/class, and remove it in the destructor. See also: removeContextDestructionCallback() void SoContextHandler::removeContextDestructionCallback (ContextDestructionCB *func, void *closure) [static] Remove a context destruction callback. See also: addContextDestructionCallback() Author Generated automatically by Doxygen for Coin from the source code. Version 3.1.3 Wed May 23 2012 SoContextHandler(3)

Check Out this Related Man Page

SoAnnoText3CharOrientElement(3) 				       Coin					   SoAnnoText3CharOrientElement(3)

NAME
SoAnnoText3CharOrientElement - The SoAnnoText3CharOrientElement class is yet to be documented. FIXME: write doc. SYNOPSIS
#include <Inventor/elements/SoAnnoText3CharOrientElement.h> Inherits SoInt32Element. Public Member Functions virtual void init (SoState *state) FIXME: write doc. Static Public Member Functions static SoType getClassTypeId (void) static int getClassStackIndex (void) static void * createInstance (void) static void initClass (void) static void set (SoState *const state, SbBool isOriented) FIXME: write doc. static SbBool get (SoState *state) FIXME: write doc. static SbBool getDefault (void) FIXME: write doc. Protected Member Functions virtual ~SoAnnoText3CharOrientElement () Additional Inherited Members Detailed Description The SoAnnoText3CharOrientElement class is yet to be documented. FIXME: write doc. Constructor &; Destructor Documentation SoAnnoText3CharOrientElement::~SoAnnoText3CharOrientElement (void) [protected], [virtual] The destructor. Member Function Documentation SoType SoAnnoText3CharOrientElement::getClassTypeId (void) [static] This static method returns the class type. Reimplemented from SoInt32Element. int SoAnnoText3CharOrientElement::getClassStackIndex (void) [static] This static method returns the state stack index for the class. Reimplemented from SoInt32Element. void * SoAnnoText3CharOrientElement::createInstance (void) [static] This API member is considered internal to the library, as it is not likely to be of interest to the application programmer. void SoAnnoText3CharOrientElement::initClass (void) [static] This static method initializes static data for the SoAnnoText3CharOrientElement class. Reimplemented from SoInt32Element. Author Generated automatically by Doxygen for Coin from the source code. Version 3.1.3 Wed May 23 2012 SoAnnoText3CharOrientElement(3)
Man Page