TAO_PortableGroup 4.0.0
Loading...
Searching...
No Matches
Public Member Functions | Private Types | Private Attributes | List of all members
UIPMC_Message_Block_Data_Iterator Class Reference

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.
 
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_
 

Detailed Description

This is a help class for iterating through ACE_Message_Blocks and to segment them into MIOP packets.

Member Enumeration Documentation

◆ State

Enumerator
INTER_BLOCK 
INTRA_BLOCK 

Constructor & Destructor Documentation

◆ UIPMC_Message_Block_Data_Iterator()

UIPMC_Message_Block_Data_Iterator::UIPMC_Message_Block_Data_Iterator ( iovec * iov,
int iovcnt )

Constructor.

Member Function Documentation

◆ next_block()

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.

Member Data Documentation

◆ iov_

iovec* UIPMC_Message_Block_Data_Iterator::iov_
private

◆ iov_index_

int UIPMC_Message_Block_Data_Iterator::iov_index_
private

◆ iov_len_left_

size_t UIPMC_Message_Block_Data_Iterator::iov_len_left_
private

◆ iov_ptr_

char* UIPMC_Message_Block_Data_Iterator::iov_ptr_
private

◆ iovcnt_

int UIPMC_Message_Block_Data_Iterator::iovcnt_
private

◆ state_

enum UIPMC_Message_Block_Data_Iterator::State UIPMC_Message_Block_Data_Iterator::state_
private

The documentation for this class was generated from the following files: