#include <UIPMC_Message_Block_Data_Iterator.h>
Collaboration diagram for UIPMC_Message_Block_Data_Iterator:
Public Member Functions | |
UIPMC_Message_Block_Data_Iterator (iovec *iov, int iovcnt) | |
Constructor. | |
size_t | next_block (size_t max_length, iovec &block) |
Private Types | |
enum | State { INTER_BLOCK, INTRA_BLOCK } |
Private Attributes | |
iovec * | iov_ |
int | iovcnt_ |
char * | iov_ptr_ |
int | iov_index_ |
size_t | iov_len_left_ |
State | state_ |
|
|
|
Constructor.
|
|
Get the next data block that has a size less than or equal to max_length. Return the length of the block returned. |
|
|
|
|
|
|
|
|
|
|
|
|