#include <LATdatagramIterator.h>
Inheritance diagram for LATdatagramIterator:
Public Types | |
enum | { ERR_IDmismatch = 1 } |
Public Member Functions | |
LATdatagramIterator (LATdatagram *start, LATdatagram *end) | |
Constructor for iterating over a list of datagrams. | |
LATdatagramIterator () | |
Default constructor for iterating over a list of datagrams. | |
unsigned | iterate () |
Iterate over a list of LATdatagrams from start to end. | |
unsigned | iterate (LATdatagram *start, LATdatagram *end) |
Iterate over a list of LATdatagrams from start to end. | |
LATdatagram * | start () const |
LATdatagram * | end () const |
int | status () const |
virtual int | handleError (LATdatagram *datagram, unsigned code, unsigned p1=0, unsigned p2=0) const |
Handle all errors possible in LATdatagramIterator. | |
virtual int | process (LATdatagram *)=0 |
Copyright: Copyright 2004 by The Board of Trustees of the Leland Stanford Junior University. All rights reserved.
|
Constructor for iterating over a list of datagrams. This constructor caches the start and end pointers of the list provided by the caller.
|
|
Return the cached pointer to the end of the LATdatagram list |
|
Handle all errors possible in LATdatagramIterator. This method is used to handle errors occurring during the iteration over an LATdatagram. By default it does nothing, however it is virtual and is able to be overridden by the user.
|
|
Iterate over a list of LATdatagrams from start to end.
|
|
Iterate over a list of LATdatagrams from start to end. This method uses the LATdatagram list parameters cached at construction time.
|
|
Virtual method for calling the application back with a LATdatagram Implemented in LDBI_LATdatagramIterator. |
|
Return the cached pointer to the start of the LATdatagram list |
|
Return the completion status from the iteration |