#include <lsmp_int.hh>
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. | |
The consumer structure contains the status and control ifnormation for a single consumer.
| bool LSMP_consbk::isReadAll | ( | void | ) | const [inline] |
Test for read-all mode.
Test consumer read-all flags
| 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.
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() ).
1.5.4