TSP: The Transport Sample Protocol



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

bb_simple.c File Reference

#include <sys/types.h>
#include <sys/msg.h>
#include <string.h>
#include <bb_utils.h>
#include <bb_core.h>
#include <bb_simple.h>

Go to the source code of this file.

Functions

void * bb_simple_publish (S_BB_T *bb_simple, const char *var_name, const char *module_name, const int module_instance, E_BB_TYPE_T type, int type_size, int dimension)
 Publish data in a simple BB.

void * bb_simple_subscribe (S_BB_T *bb_simple, const char *var_name, const char *module_name, const int module_instance, E_BB_TYPE_T *type, int *type_size, int *dimension)
 Subscribe to a data in simple BB.

int32_t bb_simple_synchro_config (int synchro_type)
 Configure synchronization type (thread or process).

int32_t bb_simple_synchro_go (S_BB_T *bb_simple, int type_msg)
 Send a simple synchro message through the BB message queue.

int32_t bb_simple_synchro_wait (S_BB_T *bb_simple, int type_msg)
 Attente d'un message de deblocage de synchronisation SIMPLE.

int32_t bb_simple_synchro_verify (S_BB_T *bb_simple)
 Verification de la synchronisation SIMPLE.

int32_t bb_simple_thread_synchro_go (int msg_type)
 Envoi d'un message de déblocage de synchronisation SIMPLE (version thread).

int32_t bb_simple_thread_synchro_wait (int msg_type)
 Attente d'un message de déblocage de synchronisation SIMPLE (version thread).


Detailed Description

Header
/cvsroot/tsp/tsp/src/util/libbb/bb_simple.c,v 1.5 2004/10/23 13:25:16 deweerdt 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 : BlackBoard Idiom implementation

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

Definition in file bb_simple.c. Framework Home Page.


Beware !! TSP wave is coming...