![]() |
http://www.sim.no http://www.coin3d.org |
This class is mainly for internal use (from SoBase) and it should not be necessary to be familiar with it for "ordinary" Coin use. More...
#include <Inventor/lists/SoAuditorList.h>
Public Member Functions | |
SoAuditorList (void) | |
~SoAuditorList () | |
void | append (void *const auditor, const SoNotRec::Type type) |
void | set (const int index, void *const auditor, const SoNotRec::Type type) |
void * | getObject (const int index) const |
SoNotRec::Type | getType (const int index) const |
int | getLength (void) const |
int | find (void *const auditor, const SoNotRec::Type type) const |
void | remove (const int index) |
void | remove (void *const auditor, const SoNotRec::Type type) |
void | notify (SoNotList *l) |
This class is mainly for internal use (from SoBase) and it should not be necessary to be familiar with it for "ordinary" Coin use.
SoAuditorList::SoAuditorList | ( | void | ) |
Default constructor.
SoAuditorList::~SoAuditorList | ( | ) |
Destructor.
void SoAuditorList::append | ( | void *const | auditor, | |
const SoNotRec::Type | type | |||
) |
Append an auditor of type to the list.
void SoAuditorList::set | ( | const int | index, | |
void *const | auditor, | |||
const SoNotRec::Type | type | |||
) |
Set auditor pointer and auditor type in list at index.
References getLength().
void * SoAuditorList::getObject | ( | const int | index | ) | const |
Returns auditor pointer at index.
References SbPList::operator[]().
SoNotRec::Type SoAuditorList::getType | ( | const int | index | ) | const |
int SoAuditorList::getLength | ( | void | ) | const |
int SoAuditorList::find | ( | void *const | auditor, | |
const SoNotRec::Type | type | |||
) | const |
Find auditor of type in list and return index. Returns -1 if auditor is not in the list.
References getLength(), getObject(), and getType().
Referenced by remove().
void SoAuditorList::remove | ( | const int | index | ) |
Remove auditor at index.
Reimplemented from SbPList.
References getLength().
Referenced by SoBase::getAuditors(), and SoBase::~SoBase().
void SoAuditorList::remove | ( | void *const | auditor, | |
const SoNotRec::Type | type | |||
) |
Remove auditor of type from list.
References find().
void SoAuditorList::notify | ( | SoNotList * | l | ) |
Send notification to all our auditors.
References SbPList::append(), SbPList::find(), getLength(), getObject(), and getType().
Copyright © 1998-2007 by Systems in Motion AS. All rights reserved.
Generated on Mon Feb 23 16:33:43 2009 for Coin by Doxygen. 1.5.8