|
CoreDX DDS for Java from Twin Oaks Computing, Inc. |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.toc.coredx.DDS.SampleInfo
public class SampleInfo
The SampleInfo structure contains information associated with each Sample. The DataReader.read() and take() operations return two vectors. One vector contains Sample(s) and the other contains SampleInfo(s). There is a one-to-one correspondence between items in these two vectors. Each Sample is described by the corresponding SampleInfo instance.
| Field Summary | |
|---|---|
int |
absolute_generation_rank
The generation difference between this sample and the most recent sample. |
int |
disposed_generation_count
The number of times the instance has become 'ALIVE' after being explicitly disposed. |
int |
generation_rank
The generation difference of this sample and the most recent sample in the collection. |
InstanceHandle_t |
instance_handle
The handle that locally identifies the associated instance. |
long |
instance_state
Indicates whether the associated instance currently exists. |
int |
no_writers_generation_count
The number of times the instance has become 'ALIVE' after being automatically disposed due to no active writers. |
InstanceHandle_t |
publication_handle
The local handle of the source DataWriter. |
int |
sample_rank
Number of samples related to this instances that follow in the collection returned by the DataReader read or take operations. |
long |
sample_state
The associated data sample has/has not been read previously. |
Time_t |
source_timestamp
The time provided by the DataWriter when the sample was written. |
boolean |
valid_data
Is set to true if the associated DataSample contains data. |
long |
view_state
Associated instance has/has not been seen before. |
| Constructor Summary | |
|---|---|
SampleInfo()
|
|
| Method Summary | |
|---|---|
void |
copy(SampleInfo si)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public long sample_state
public long view_state
public long instance_state
if (sample_info->view_state & DDS.NOT_ALIVE_INSTANCE_STATE) ...
public Time_t source_timestamp
public InstanceHandle_t instance_handle
public InstanceHandle_t publication_handle
public int disposed_generation_count
public int no_writers_generation_count
public int sample_rank
public int generation_rank
public int absolute_generation_rank
public boolean valid_data
| Constructor Detail |
|---|
public SampleInfo()
| Method Detail |
|---|
public void copy(SampleInfo si)
|
Copyright © 2010 Twin Oaks Computing, Inc, All Rights Reserved |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||