GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  SOCALLBACKLIST (3)

NAME

SoCallbackList — manages a list of callback functions and associated data

CONTENTS

Inherits From
Synopsis
Description
Methods

INHERITS FROM

SoCallbackList

SYNOPSIS

#include <Inventor/misc/SoCallbackList.h>

    typedef void    
                    
typedef void         SoCallbackListCB(void *userData, void *callbackData)

Methods from class SoCallbackList:

       
                    
                     SoCallbackList()    
   
                    
                     ~SoCallbackList()    
void    
                    
void                 addCallback(SoCallbackListCB *f, void *userData = NULL)    
void    
                    
void                 removeCallback(SoCallbackListCB *f, void *userData = NULL)    
void    
                    
void                 clearCallbacks()    
int    
                    
int                  getNumCallbacks() const    
void    
                    
void                 invokeCallbacks(void *callbackData)

DESCRIPTION

This class manages a list of callback functions and user data. The user can add a callback function to the list, along with user data. When the callback is invoked, it is passed this user data, along with callback data specified by the invoking routine. The type of this callback data is determined by the invoking routine.

METHODS

       
                    
                     SoCallbackList()    
   
                    
                     ~SoCallbackList()
Constructor and destructor.

    void    
                    
void                 addCallback(SoCallbackListCB *f, void *userData = NULL)    
void    
                    
void                 removeCallback(SoCallbackListCB *f, void *userData = NULL)
Adds a function to or removes a function from the list of callback functions.

    void    
                    
void                 clearCallbacks()
Clears all callback functions from the list.

    int    
                    
int                  getNumCallbacks() const
Returns the number of callback functions in the list.

    void    
                    
void                 invokeCallbacks(void *callbackData)
Invokes each callback function in the list, passing each function the user data supplied when they were registered here, and callbackData, the callback-specific data supplied by the caller.

Search for    or go to Top of page |  Section 3 |  Main Index


SOCALLBACKLIST(3IV) (-->)

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.