HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GR_VisInterface.h
Go to the documentation of this file.
1 /*
2  * PROPRIETARY INFORMATION. This software is proprietary to
3  * Side Effects Software Inc., and is not to be reproduced,
4  * transmitted, or disclosed in any way without written permission.
5  *
6  * NAME: GR_VisInterface.h ( GR Library, C++)
7  *
8  * COMMENTS:
9  * Basic definition needed to access functions defined in VIS which is
10  * set above the GR level.
11  */
12 
13 #ifndef __GR_VisInterface_h__
14 #define __GR_VisInterface_h__
15 
16 #include "GR_API.h"
17 
18 
20 {
21 public:
23  virtual ~GR_VisInterface() {}
24 
25  virtual bool isHookVisualizerActive(const char *vis_name,
26  int vis_context, int display_set) = 0;
27 
28  static void setHandler(GR_VisInterface *handler)
29  { theHandler = handler; }
30 
31  static
33  { return theHandler; }
34 
35  static
37 };
38 
39 
40 #endif
static GR_VisInterface * theHandler
static void setHandler(GR_VisInterface *handler)
static GR_VisInterface * getHandler()
#define GR_API
Definition: GR_API.h:10
virtual ~GR_VisInterface()