Coin Logo http://www.sim.no
http://www.coin3d.org

SoSFEngine.h
1 // Important note: this sourcefile was in full generated by the
2 // Coin/scripts/templant script from the code in SFNodeAndEngine.tpl.
3 
4 //$ BEGIN TEMPLATE SFNodeAndEngine(ENGINE, Engine)
5 
6 /**************************************************************************\
7  *
8  * This file is part of the Coin 3D visualization library.
9  * Copyright (C) 1998-2007 by Systems in Motion. All rights reserved.
10  *
11  * This library is free software; you can redistribute it and/or
12  * modify it under the terms of the GNU General Public License
13  * ("GPL") version 2 as published by the Free Software Foundation.
14  * See the file LICENSE.GPL at the root directory of this source
15  * distribution for additional information about the GNU GPL.
16  *
17  * For using Coin with software that can not be combined with the GNU
18  * GPL, and for taking advantage of the additional benefits of our
19  * support services, please contact Systems in Motion about acquiring
20  * a Coin Professional Edition License.
21  *
22  * See http://www.coin3d.org/ for more information.
23  *
24  * Systems in Motion, Postboks 1283, Pirsenteret, 7462 Trondheim, NORWAY.
25  * http://www.sim.no/ sales@sim.no coin-support@coin3d.org
26  *
27 \**************************************************************************/
28 
29 #ifndef COIN_SOSFENGINE_H
30 #define COIN_SOSFENGINE_H
31 
32 #include <Inventor/fields/SoSField.h>
33 #include <Inventor/fields/SoSubField.h>
34 
35 class SoEngine;
36 
37 
38 class COIN_DLL_API SoSFEngine : public SoSField {
39  typedef SoSField inherited;
40 
41  SO_SFIELD_HEADER(SoSFEngine, SoEngine *, SoEngine *);
42 
43 public:
44  static void initClass(void);
45 
46  virtual void fixCopy(SbBool copyconnections);
47  virtual SbBool referencesCopy(void) const;
48 
49 private:
50  virtual void countWriteRefs(SoOutput * out) const;
51 
52  // For accessing the readValue() and writeValue() methods.
53  friend class SoMFEngine;
54 };
55 
56 #endif // !COIN_SOSFENGINE_H
57 //$ END TEMPLATE SFNodeAndEngine
SoMFEngine
The SoMFEngine class is a container for engines.
Definition: SoMFEngine.h:32
SoReadError::post
static void post(const SoInput *const in, const char *const format,...)
Definition: SoReadError.cpp:110
SoEngine::copy
SoEngine * copy(void) const
Definition: SoEngine.cpp:437
SoField::valueChanged
void valueChanged(SbBool resetdefault=1)
Definition: SoField.cpp:2433
SoWriteAction
The SoWriteAction class writes a scene graph to file.
Definition: SoWriteAction.h:31
SoOutput::write
virtual void write(const char c)
Definition: SoOutput.cpp:757
SoOutput
The SoOutput class is an abstraction of an output stream.
Definition: SoOutput.h:42
SoBase::removeAuditor
void removeAuditor(void *const auditor, const SoNotRec::Type type)
Definition: SoBase.cpp:948
SoFieldContainer::checkCopy
static SoFieldContainer * checkCopy(const SoFieldContainer *orig)
Definition: SoFieldContainer.cpp:797
SoSField
The SoSField class is the base class for fields which contains only a single value.
Definition: SoSField.h:29
SoSFEngine::fixCopy
virtual void fixCopy(SbBool copyconnections)
Definition: SoSFEngine.cpp:251
SoBase::unref
void unref(void) const
Definition: SoBase.cpp:627
SoPath
The SoPath class is a container class for traversal path descriptions.
Definition: SoPath.h:43
SoBase::read
static SbBool read(SoInput *in, SoBase *&base, SoType expectedtype)
Definition: SoBase.cpp:1146
SoBase::addAuditor
void addAuditor(void *const auditor, const SoNotRec::Type type)
Definition: SoBase.cpp:933
SoFieldContainer::findCopy
static SoFieldContainer * findCopy(const SoFieldContainer *orig, const SbBool copyconnections)
Definition: SoFieldContainer.cpp:831
SoBase
The SoBase class is the top-level superclass for a number of class-hierarchies.
Definition: SoBase.h:41
SoField::enableNotify
SbBool enableNotify(SbBool on)
Definition: SoField.cpp:1485
SoFieldContainer
The SoFieldContainer class is a base class for all classes that contain fields.
Definition: SoFieldContainer.h:35
SoBase::ref
void ref(void) const
Definition: SoBase.cpp:574
SoField::countWriteRefs
virtual void countWriteRefs(SoOutput *out) const
Definition: SoField.cpp:2005
SoSFEngine::referencesCopy
virtual SbBool referencesCopy(void) const
Definition: SoSFEngine.cpp:279
SoInput::eof
virtual SbBool eof(void) const
Definition: SoInput.cpp:1796
SoSFEngine
The SoSFEngine class is a container for a single engine.
Definition: SoSFEngine.h:38
SoField::referencesCopy
virtual SbBool referencesCopy(void) const
Definition: SoField.cpp:1666
SoBase::assertAlive
void assertAlive(void) const
Definition: SoBase.cpp:546
SoInput
The SoInput class is an abstraction of file import functionality.
Definition: SoInput.h:55
SoBase::isOfType
SbBool isOfType(SoType type) const
Definition: SoBase.cpp:710
SoNode
The SoNode class is the base class for nodes used in scene graphs.
Definition: SoNode.h:47
SoPath::getHead
SoNode * getHead(void) const
Definition: SoPath.cpp:180
SoEngine
SoEngine is the base class for Coin engines.
Definition: SoEngine.h:34
SoField::fixCopy
virtual void fixCopy(SbBool copyconnections)
Definition: SoField.cpp:1651

Copyright © 1998-2007 by Systems in Motion AS. All rights reserved.

Generated on Mon Jul 27 2020 for Coin by Doxygen. 1.8.18