27#include <Inventor/SoType.h>
28#include <Inventor/lists/SoAuditorList.h>
29#include <Inventor/C/base/rbptree.h>
38 static void initClass(
void);
41 void unref(
void)
const;
42 void unrefNoDelete(
void)
const;
43 int32_t getRefCount(
void)
const;
48 SbBool isOfType(
SoType type)
const;
49 static SoType getClassTypeId(
void);
51 virtual SbName getName(
void)
const;
52 virtual void setName(
const SbName & newname);
54 static void addName(
SoBase *
const base,
const char *
const name);
55 static void removeName(
SoBase *
const base,
const char *
const name);
57 virtual void startNotify(
void);
61 void removeAuditor(
void *
const auditor,
const SoNotRec::Type type);
64 virtual void addWriteReference(
SoOutput * out, SbBool isfromfield = FALSE);
65 SbBool shouldWrite(
void);
67 static void incrementCurrentWriteCounter(
void);
68 static void decrementCurrentWriteCounter(
void);
75 static void setInstancePrefix(
const SbString & c);
77 static void setTraceRefs(SbBool trace);
78 static SbBool getTraceRefs(
void);
80 static SbBool connectRoute(
SoInput * input,
81 const SbName & fromnodename,
const SbName & fromfieldname,
84 void assertAlive(
void)
const;
85 static SbBool readRoute(
SoInput * input);
89 enum BaseFlags { IS_ENGINE = 0x01, IS_GROUP = 0x02 };
94 virtual void destroy(
void);
96 SbBool hasMultipleWriteRefs(
void)
const;
97 SbBool writeHeader(
SoOutput * out, SbBool isgroup, SbBool isengine)
const;
98 void writeFooter(
SoOutput * out)
const;
99 virtual const char * getFileFormatName(
void)
const;
103 static uint32_t getCurrentWriteCounter(
void);
104 static void staticDataLock(
void);
105 static void staticDataUnlock(
void);
108 static void cleanClass(
void);
110 static SoType classTypeId;
113 mutable int referencecount : 28;
114 mutable unsigned int alive : 4;
118 cc_rbptree auditortree;
125inline void intrusive_ptr_add_ref(
SoBase * obj) { obj->
ref(); }
126inline void intrusive_ptr_release(
SoBase * obj) { obj->
unref(); }
The SbName class stores strings by reference.
Definition SbName.h:31
The SbString class is a string class with convenience functions for string operations.
Definition SbString.h:42
The SoAuditorList class is used to keep track of auditors for certain object classes.
Definition SoAuditorList.h:43
The SoBaseList class is a container for pointers to SoBase derived objects.
Definition SoBaseList.h:32
The SoBase class is the top-level superclass for a number of class-hierarchies.
Definition SoBase.h:36
void unref(void) const
Definition SoBase.cpp:509
BaseFlags
Definition SoBase.h:89
virtual SoType getTypeId(void) const =0
void ref(void) const
Definition SoBase.cpp:459
virtual SbBool readInstance(SoInput *input, unsigned short flags)=0
The SoNotList class is a list of SoNotRec notification records.
Definition SoNotification.h:34
Type
Definition SoNotRec.h:35
The SoOutput class is an abstraction of an output stream.
Definition SoOutput.h:42
The SoType class is the basis for the run-time type system in Coin.
Definition SoType.h:50
Copyright © 1998-2010 by Kongsberg Oil & Gas Technologies. All rights reserved.
Generated on Wed Jul 17 2024 for Coin by Doxygen 1.12.0.