LSMP_consbk Struct Reference

Conumer status information. More...

#include <lsmp_int.hh>

List of all members.

Public Member Functions

bool isReadAll (void) const
 Test for read-all mode.
void clrWait (void)
 Clear waiting flag.
void setWait (void)
 Set waiting flag.

Public Attributes

int mxbuf
 Maxmimum buffers consumer may request.
int trig_mask
 Trigger mask.
int min_time
 Minimum time between events.
int min_sep
 Minimum separation between events.
int time_ctr
 Time Counter.
int skip_ctr
 Skip Counter.
int seg_ctr
 Number of segments currently allocated to the consumer.
int seg_tot
 Segments read since consumer allocation.
int flags
 Consumer status flags.
pid_t pid
 Consumer process identifier.


Detailed Description

Conumer status information.

The consumer structure contains the status and control ifnormation for a single consumer.


Member Function Documentation

bool LSMP_consbk::isReadAll ( void   )  const [inline]

Test for read-all mode.

Test consumer read-all flags

Returns:
true if consumer is read-all.

void LSMP_consbk::clrWait ( void   )  [inline]

Clear waiting flag.

Clear the waiting for event (EVWAIT) status flag.

void LSMP_consbk::setWait ( void   )  [inline]

Set waiting flag.

Set the waiting for event (EVWAIT) status flag.


Member Data Documentation

int LSMP_consbk::seg_ctr

Number of segments currently allocated to the consumer.

The number of allocated segments is the number of allocated or reserved segments. This counter is incremented when a buffer is reserved (LSMP_PROD::distribute() ) or allocated (LSMP_CON::get_buffer() ) and decremented when the buffer is freed (LSMP_CON::free_buffer() ).


The documentation for this struct was generated from the following file:
Generated on Sun Mar 8 19:21:10 2009 for dmt by  doxygen 1.5.4