This class iterates through the accumulated messages depending on the configuration flags (filter).
The iterator keeps a local copy of the data extracted from the accumulator.
Definition at line 484 of file kfbxusernotification.h.
#include <kfbxusernotification.h>
Public Member Functions |
|
KFbxUserNotificationFilteredIterator (KFbxUserNotification &pAccumulator, int pFilterClass, KFbxUserNotification::OutputSource pSrc=KFbxUserNotification::eSEQUENCED_DETAILS, bool pNoDetail=true) | |
Constructor. |
|
virtual | ~KFbxUserNotificationFilteredIterator () |
int | GetNbItems () const |
Returns the number of elements contained in
this iterator. |
|
void | Reset () |
Put the iterator in its reset state.
|
|
AccumulatorEntry *const | First () |
Get this iterator's first item. |
|
AccumulatorEntry *const | Previous () |
Get this iterator's previous item. |
|
AccumulatorEntry *const | Next () |
Get this iterator's next item. |
|
Protected Member Functions |
|
virtual void | BuildFilteredList (KFbxUserNotification &pAccumulator) |
Protected Attributes |
|
int | mIterator |
int | mFilterClass |
bool | mNoDetail |
KFbxUserNotification::OutputSource | mAccuSrcData |
KArrayTemplate < AccumulatorEntry * > |
mFilteredAE |
KFbxUserNotificationFilteredIterator | ( | KFbxUserNotification & | pAccumulator, |
int | pFilterClass, | ||
KFbxUserNotification::OutputSource | pSrc =
KFbxUserNotification::eSEQUENCED_DETAILS , |
||
bool | pNoDetail =
true |
||
) |
Constructor.
pAccumulator | This reference is only used during construction for retrieving the data required to fill the iterator. |
pFilterClass | The bitwise combination of the AEClass identifiers. An AccumulatorEntry element is copied from the accumulator if its Class matches one of the bits of this flag. |
pSrc | Specify which data format is extracted from the accumulator. |
pNoDetail | This parameter is used ONLY if pSrc == eACCUMULATOR_ENTRY and, if set to false, the details of the AccumulatorEntry are also sent to the output devices. If left to its default value, only the description of the AccumulatorEntry is sent. |
virtual ~KFbxUserNotificationFilteredIterator | ( | ) | [virtual] |
int GetNbItems | ( | ) | const |
Returns the number of elements contained in this iterator.
void Reset | ( | ) |
Put the iterator in its reset state.
AccumulatorEntry* const First | ( | ) |
AccumulatorEntry* const Previous | ( | ) |
Get this iterator's previous item.
AccumulatorEntry* const Next | ( | ) |
Get this iterator's next item.
virtual void BuildFilteredList | ( | KFbxUserNotification & | pAccumulator | ) | [protected, virtual] |
int
mIterator [protected] |
Definition at line 539 of file kfbxusernotification.h.
int
mFilterClass [protected] |
Definition at line 540 of file kfbxusernotification.h.
bool
mNoDetail [protected] |
Definition at line 541 of file kfbxusernotification.h.
KFbxUserNotification::OutputSource
mAccuSrcData [protected] |
Definition at line 542 of file kfbxusernotification.h.
KArrayTemplate<AccumulatorEntry*>
mFilteredAE [protected] |
Definition at line 543 of file kfbxusernotification.h.