TAO_PortableGroup
2.1.8
|
This is a help class for iterating through ACE_Message_Blocks and to segment them into MIOP packets. More...
#include <UIPMC_Message_Block_Data_Iterator.h>
Public Member Functions | |
UIPMC_Message_Block_Data_Iterator (iovec *iov, int iovcnt) | |
Constructor. More... | |
bool | next_block (size_t max_length, iovec &block) |
Private Types | |
enum | State { INTER_BLOCK, INTRA_BLOCK } |
Private Attributes | |
iovec * | iov_ |
int | iovcnt_ |
int | iov_index_ |
char * | iov_ptr_ |
size_t | iov_len_left_ |
enum UIPMC_Message_Block_Data_Iterator::State | state_ |
This is a help class for iterating through ACE_Message_Blocks and to segment them into MIOP packets.
|
private |
UIPMC_Message_Block_Data_Iterator::UIPMC_Message_Block_Data_Iterator | ( | iovec * | iov, |
int | iovcnt | ||
) |
Constructor.
bool UIPMC_Message_Block_Data_Iterator::next_block | ( | size_t | max_length, |
iovec & | block | ||
) |
Get the next data block that has a size less than or equal to max_length. Return true if there is anything left.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |