| http://www.sim.no/ http://www.coin3d.org/

SoNotRec.h
1 #ifndef COIN_SONOTREC_H
2 #define COIN_SONOTREC_H
3
4 /**************************************************************************\
5 *
6 * This file is part of the Coin 3D visualization library.
7 * Copyright (C) by Kongsberg Oil & Gas Technologies.
8 *
9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License
11 * ("GPL") version 2 as published by the Free Software Foundation.
12 * See the file LICENSE.GPL at the root directory of this source
13 * distribution for additional information about the GNU GPL.
14 *
15 * For using Coin with software that can not be combined with the GNU
16 * GPL, and for taking advantage of the additional benefits of our
17 * support services, please contact Kongsberg Oil & Gas Technologies
18 * about acquiring a Coin Professional Edition License.
19 *
20 * See http://www.coin3d.org/ for more information.
21 *
22 * Kongsberg Oil & Gas Technologies, Bygdoy Alle 5, 0257 Oslo, NORWAY.
23 * http://www.sim.no/ sales@sim.no coin-support@coin3d.org
24 *
25 \**************************************************************************/
26
27 #include <Inventor/SbBasic.h>
28 #include <stdio.h>
29
30 class SoBase;
31
32
33 class COIN_DLL_API SoNotRec {
34 public:
35 enum Type {
36 CONTAINER,
37 PARENT,
38 SENSOR,
39 FIELD,
40 ENGINE
41 };
42
43 SoNotRec(SoBase * const notifbase);
44 void setType(const SoNotRec::Type type);
45 SoBase * getBase(void) const;
46 SoNotRec::Type getType(void) const;
47 const SoNotRec * getPrevious(void) const;
48 void setPrevious(const SoNotRec * const prev);
49 void print(FILE * const file) const;
50
51 private:
52 Type type;
53 SoBase * base;
54 const SoNotRec * prev;
55 };
56
57 #endif // !COIN_SONOTREC_H
SoBase
The SoBase class is the top-level superclass for a number of class-hierarchies.SoBase provides the ba...
Definition: SoBase.h:36
SoNotRec
The SoNotRec class specifies records for notification lists.
Definition: SoNotRec.h:33
SoNotRec::Type
Type
Definition: SoNotRec.h:35

Copyright © 1998-2010 by Kongsberg Oil & Gas Technologies. All rights reserved.