Data Structures | Defines | Typedefs

kogmo_rtdb_types.h File Reference

Types for the contained Objects in the Real-time Vehicle Database. More...

#include <inttypes.h>

Go to the source code of this file.

Data Structures

struct  kogmo_rtdb_obj_info_t
 Data Block that contains Object-Metadata. The Metadata of an Object should not (or only very slowly) change during its livetime. More...
struct  kogmo_rtdb_obj_slot_t
 Specification of a certain history slot of an object for fast access. More...
struct  kogmo_rtdb_connect_info_t
 Data Block for requesting a Database-Connection This is used only once for establishing the Database Connection. By using a struct, we can add more fields later. More...
struct  kogmo_rtdb_handle_t

Defines

#define KOGMO_RTDB_REV   540
#define KOGMO_RTDB_DEFAULT_HISTORY_INTERVAL   10.0
 see kogmo_rtdb_obj_info_t
#define KOGMO_RTDB_DEFAULT_MAX_CYCLETIME   0.030
 see kogmo_rtdb_obj_info_t
#define KOGMO_RTDB_KEEP_DELETED_INTERVAL   0.25
 how long to keep deleted objects if history is shorter (the manager has an additional purge interval of 0.25 sec)
#define KOGMO_RTDB_OBJMETA_NAME_MAXLEN   32
 maximum size for object names in kogmo_rtdb_obj_info_t (including terminating null-byte)
#define KOGMO_RTDB_OBJIDLIST_MAX   1000
 see
#define min_cycletime   avg_cycletime
#define KOGMO_RTDB_CONNECT_FLAGS_NOHANDLERS   0x0001
 Flags to modify RTDB Connections These have to be ORed and set to kogmo_rtdb_connect_info_t.flags or as argument to RTDBConn (). Please do not try other values!
#define KOGMO_RTDB_CONNECT_FLAGS_TRYNOWAIT   0x0004
 Normally, if there's no database to connect to, kogmo_rtdb_connect() just waits until it finds one.
#define KOGMO_RTDB_CONNECT_FLAGS_SILENT   0x0008
 Do not output error messages, useful in combination with TRYNOWAIT and LIVEONERR.
#define KOGMO_RTDB_CONNECT_FLAGS_LIVEONERR   0x0010
 Normally, if there are problems connecting to the database, your application terminates.
#define KOGMO_RTDB_CONNECT_FLAGS_IMMEDIATELYDELETE   0x0020
 If this process dies, immediately delete all its objects.
#define KOGMO_RTDB_CONNECT_FLAGS_REALTIME   0x0100
 (internal, ask matthias.goebl*goebl.net before use)

Typedefs

typedef int32_t kogmo_rtdb_objid_t
 ID for Objects within the Database that are unique during database runtime. IDs are not unique between database restarts (so far).
typedef int32_t kogmo_rtdb_objtype_t
 Type-Identifier for Objects within the Database that is unique forever. This is to avoid missinterpretation when using old data sets.
typedef int32_t kogmo_rtdb_objsize_t
 Size-Specification for Objects within the Database.
typedef char kogmo_rtdb_objname_t [KOGMO_RTDB_OBJMETA_NAME_MAXLEN]
 Type for a Object-Name (see kogmo_rtdb_obj_info_t).
typedef kogmo_rtdb_objid_t kogmo_rtdb_objid_list_t [KOGMO_RTDB_OBJIDLIST_MAX+1]
 Type for a pre-allocated Array to receive the results of kogmo_rtdb_obj_readdatameta(). It is terminated by a 0-element.

Detailed Description

Types for the contained Objects in the Real-time Vehicle Database.

Copyright (c) 2003-2006 Matthias Goebl <matthias.goebl*goebl.net> Lehrstuhl fuer Realzeit-Computersysteme (RCS) Technische Universitaet Muenchen (TUM)

Definition in file kogmo_rtdb_types.h.


Define Documentation

#define KOGMO_RTDB_REV   540

Definition at line 20 of file kogmo_rtdb_types.h.

#define min_cycletime   avg_cycletime

Definition at line 182 of file kogmo_rtdb_types.h.


Generated for KogMo-RTDB by Matthias.Goebl (mattias.goebl*kogmo-rtdb.de) - all rights reserved.