TSP: The Transport Sample Protocol



Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

tsp_sample_ringbuf.h File Reference

#include "tsp_prjcfg.h"
#include "tsp_consumer.h"
#include "tsp_ringbuf.h"

Go to the source code of this file.

Defines

#define TSP_DUMMY_PROVIDER_GLOBAL_INDEX_EOF   0xFFFFFFFF
 Used to add a dummy item in fifo for an eof notification (sent by the provider).

#define TSP_DUMMY_PROVIDER_GLOBAL_INDEX_RECONF   0xFFFFFFFE
 Used to add a dummy item in fifo for an reconf notification (sent by the provider).

#define TSP_DUMMY_PROVIDER_GLOBAL_INDEX_RECEIVER_ERROR   0xFFFFFFFD
 Used to tell that a connection problem occured (added in the ringbuf by the data_receiver).

#define TSP_DUMMY_PROVIDER_GLOBAL_INDEX_GLU_DATA_LOST   0xFFFFFFFC
 Used to tell that on the provider side, the GLU lost some data (provider too slow ?).

#define TSP_DUMMY_PROVIDER_GLOBAL_INDEX_CONSUMER_DATA_LOST   0xFFFFFFFB
 Used to tell that on the provider side, some data were lost for this consumer (consumer too slow ?), or network overload ?


Detailed Description

Header
/cvsroot/tsp/tsp/src/core/driver/tsp_sample_ringbuf.h,v 1.7 2002/12/24 14:14:25 tntdev Exp

-----------------------------------------------------------------------

TSP Library - core components for a generic Transport Sampling Protocol.

Copyright (c) 2002 Yves DUFRENNE, Stephane GALLES, Eric NOULARD and Robert PAGNOT

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

-----------------------------------------------------------------------

Project : TSP Maintainer : tsp@astrium-space.com Component : Consumer

-----------------------------------------------------------------------

Purpose : Interface for the creation of the ringbuf used to store the incoming samples and read thrue the consumer API

-----------------------------------------------------------------------

Definition in file tsp_sample_ringbuf.h.


Define Documentation

#define TSP_DUMMY_PROVIDER_GLOBAL_INDEX_CONSUMER_DATA_LOST   0xFFFFFFFB
 

Used to tell that on the provider side, some data were lost for this consumer (consumer too slow ?), or network overload ?

Definition at line 66 of file tsp_sample_ringbuf.h.

Referenced by TSP_consumer_read_sample().

#define TSP_DUMMY_PROVIDER_GLOBAL_INDEX_EOF   0xFFFFFFFF
 

Used to add a dummy item in fifo for an eof notification (sent by the provider).

Definition at line 53 of file tsp_sample_ringbuf.h.

Referenced by TSP_consumer_read_sample().

#define TSP_DUMMY_PROVIDER_GLOBAL_INDEX_GLU_DATA_LOST   0xFFFFFFFC
 

Used to tell that on the provider side, the GLU lost some data (provider too slow ?).

Definition at line 62 of file tsp_sample_ringbuf.h.

Referenced by TSP_consumer_read_sample().

#define TSP_DUMMY_PROVIDER_GLOBAL_INDEX_RECEIVER_ERROR   0xFFFFFFFD
 

Used to tell that a connection problem occured (added in the ringbuf by the data_receiver).

Definition at line 59 of file tsp_sample_ringbuf.h.

Referenced by TSP_consumer_read_sample().

#define TSP_DUMMY_PROVIDER_GLOBAL_INDEX_RECONF   0xFFFFFFFE
 

Used to add a dummy item in fifo for an reconf notification (sent by the provider).

Definition at line 56 of file tsp_sample_ringbuf.h.

Referenced by TSP_consumer_read_sample().

Framework Home Page.


Beware !! TSP wave is coming...