sends::transaction::chan_stat Class Reference
[Sends Pipeline Stage Classes]

Channel ID and status. More...

#include <transaction.hh>

List of all members.

Public Member Functions

 chan_stat (chan_index chn)
 Channel constructor.
 chan_stat (void)
 Default Constructor.
gps_type fill (void) const
 Fill time GPS.
chan_index index (void) const
 Channel index.
bool ready (gps_type stop) const
 Test is all channel data are available.
void set_fill (gps_type t)
 set the fill time.


Detailed Description

Channel ID and status.

The chan_stat class contains the channel ID and current processing status of each channel involved in the transaction.


Constructor & Destructor Documentation

sends::transaction::chan_stat::chan_stat ( chan_index  chn  )  [inline]

Channel constructor.

Construct a channel status object for the specified channel.

Parameters:
chn Index of the channel into the channel list.

sends::transaction::chan_stat::chan_stat ( void   )  [inline]

Default Constructor.

Null channel constructor. This constructor is made available for use when constructing the transaction channel list.


Member Function Documentation

transaction::gps_type sends::transaction::chan_stat::fill ( void   )  const [inline]

Fill time GPS.

Get the fill point for the channel. The fill point is the first second of data after the transactoin start time not yet reserved for the transaction.

Returns:
GPS time to which data have been reserved

transaction::chan_index sends::transaction::chan_stat::index ( void   )  const [inline]

Channel index.

Return the index of the channel.

Returns:
Index of the channel in the master channel list.

bool sends::transaction::chan_stat::ready ( gps_type  stop  )  const [inline]

Test is all channel data are available.

Test whether all data for channel in the current stride have been read into segments and reserved.

Parameters:
stop End of the current stride.
Returns:
True if all channel data in stride are available.

void sends::transaction::chan_stat::set_fill ( gps_type  t  )  [inline]

set the fill time.

Set the fill time to the specified GPS.

Parameters:
t time to which the fill pointer is set.


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

Generated on Tue Jun 10 12:18:12 2008 for SENDS by  doxygen 1.5.5