OpenSplice Java 5 DCPS  v6.x
OpenSplice Java 5 OpenSplice Data Distribution Service Data-Centric Publish-Subscribe API
org.opensplice.dds.sub.IteratorProtobuf< PROTOBUF_TYPE, DDS_TYPE > Class Template Reference
Inheritance diagram for org.opensplice.dds.sub.IteratorProtobuf< PROTOBUF_TYPE, DDS_TYPE >:
Inheritance graph
Collaboration diagram for org.opensplice.dds.sub.IteratorProtobuf< PROTOBUF_TYPE, DDS_TYPE >:
Collaboration graph

Public Member Functions

 IteratorProtobuf (OsplServiceEnvironment environment, DataReaderProtobuf< PROTOBUF_TYPE, DDS_TYPE > reader, Object sampleSeqHolder, Field dataSeqHolderValue, SampleInfoSeqHolder infoSeqHolder)
 
void add (Sample< TYPE > o)
 
void close ()
 
boolean hasNext ()
 
boolean hasPrevious ()
 
Sample< TYPE > next ()
 
int nextIndex ()
 
Sample< TYPE > previous ()
 
int previousIndex ()
 
void remove ()
 
void set (Sample< TYPE > o)
 

Protected Member Functions

PROTOBUF_TYPE getData (int index)
 
SampleImpl< PROTOBUF_TYPE > [] setupSampleList ()
 

Protected Attributes

final Field dataSeqHolderValue
 
final OsplServiceEnvironment environment
 
final SampleInfoSeqHolder infoSeqHolder
 
final AbstractDataReader< TYPE > reader
 
final Object sampleSeqHolder
 

Detailed Description

Definition at line 34 of file IteratorProtobuf.java.

Constructor & Destructor Documentation

◆ IteratorProtobuf()

org.opensplice.dds.sub.IteratorProtobuf< PROTOBUF_TYPE, DDS_TYPE >.IteratorProtobuf ( OsplServiceEnvironment  environment,
DataReaderProtobuf< PROTOBUF_TYPE, DDS_TYPE >  reader,
Object  sampleSeqHolder,
Field  dataSeqHolderValue,
SampleInfoSeqHolder  infoSeqHolder 
)

Definition at line 39 of file IteratorProtobuf.java.

Member Function Documentation

◆ add()

void org.opensplice.dds.sub.AbstractIterator< TYPE >.add ( Sample< TYPE >  o)
inherited

Definition at line 126 of file AbstractIterator.java.

◆ close()

void org.opensplice.dds.sub.AbstractIterator< TYPE >.close ( )
inherited

Definition at line 103 of file AbstractIterator.java.

◆ getData()

PROTOBUF_TYPE org.opensplice.dds.sub.IteratorProtobuf< PROTOBUF_TYPE, DDS_TYPE >.getData ( int  index)
protected

Definition at line 88 of file IteratorProtobuf.java.

◆ hasNext()

boolean org.opensplice.dds.sub.AbstractIterator< TYPE >.hasNext ( )
inherited

Definition at line 61 of file AbstractIterator.java.

◆ hasPrevious()

boolean org.opensplice.dds.sub.AbstractIterator< TYPE >.hasPrevious ( )
inherited

Definition at line 73 of file AbstractIterator.java.

◆ next()

Sample<TYPE> org.opensplice.dds.sub.AbstractIterator< TYPE >.next ( )
inherited

Definition at line 132 of file AbstractIterator.java.

◆ nextIndex()

int org.opensplice.dds.sub.AbstractIterator< TYPE >.nextIndex ( )
inherited

Definition at line 85 of file AbstractIterator.java.

◆ previous()

Sample<TYPE> org.opensplice.dds.sub.AbstractIterator< TYPE >.previous ( )
inherited

Definition at line 148 of file AbstractIterator.java.

◆ previousIndex()

int org.opensplice.dds.sub.AbstractIterator< TYPE >.previousIndex ( )
inherited

Definition at line 94 of file AbstractIterator.java.

◆ remove()

void org.opensplice.dds.sub.AbstractIterator< TYPE >.remove ( )
inherited

Definition at line 114 of file AbstractIterator.java.

◆ set()

void org.opensplice.dds.sub.AbstractIterator< TYPE >.set ( Sample< TYPE >  o)
inherited

Definition at line 120 of file AbstractIterator.java.

◆ setupSampleList()

SampleImpl<PROTOBUF_TYPE> [] org.opensplice.dds.sub.IteratorProtobuf< PROTOBUF_TYPE, DDS_TYPE >.setupSampleList ( )
protected

Definition at line 49 of file IteratorProtobuf.java.

Member Data Documentation

◆ dataSeqHolderValue

final Field org.opensplice.dds.sub.AbstractIterator< TYPE >.dataSeqHolderValue
protectedinherited

Definition at line 37 of file AbstractIterator.java.

◆ environment

final OsplServiceEnvironment org.opensplice.dds.sub.AbstractIterator< TYPE >.environment
protectedinherited

Definition at line 34 of file AbstractIterator.java.

◆ infoSeqHolder

final SampleInfoSeqHolder org.opensplice.dds.sub.AbstractIterator< TYPE >.infoSeqHolder
protectedinherited

Definition at line 35 of file AbstractIterator.java.

◆ reader

final AbstractDataReader<TYPE> org.opensplice.dds.sub.AbstractIterator< TYPE >.reader
protectedinherited

Definition at line 33 of file AbstractIterator.java.

◆ sampleSeqHolder

final Object org.opensplice.dds.sub.AbstractIterator< TYPE >.sampleSeqHolder
protectedinherited

Definition at line 36 of file AbstractIterator.java.


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