These Types are used as Parameters in Calls to the Database-API and should be used in Database Objects if possible. More...
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... | |
Defines | |
#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 | |
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. |
These Types are used as Parameters in Calls to the Database-API and should be used in Database Objects if possible.
#define KOGMO_RTDB_DEFAULT_HISTORY_INTERVAL 10.0 |
Definition at line 96 of file kogmo_rtdb_types.h.
#define KOGMO_RTDB_DEFAULT_MAX_CYCLETIME 0.030 |
Definition at line 98 of file kogmo_rtdb_types.h.
#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)
Definition at line 101 of file kogmo_rtdb_types.h.
#define KOGMO_RTDB_OBJIDLIST_MAX 1000 |
see
Definition at line 112 of file kogmo_rtdb_types.h.
#define KOGMO_RTDB_OBJMETA_NAME_MAXLEN 32 |
maximum size for object names in kogmo_rtdb_obj_info_t (including terminating null-byte)
Definition at line 105 of file kogmo_rtdb_types.h.
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.
Definition at line 117 of file kogmo_rtdb_types.h.
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).
Please note:
printf("%lli",(long long int)oid)
TODO:
Definition at line 54 of file kogmo_rtdb_types.h.
typedef char kogmo_rtdb_objname_t[KOGMO_RTDB_OBJMETA_NAME_MAXLEN] |
Type for a Object-Name (see kogmo_rtdb_obj_info_t).
Definition at line 109 of file kogmo_rtdb_types.h.
typedef int32_t kogmo_rtdb_objsize_t |
Size-Specification for Objects within the Database.
Please note:
printf("%lli",(long long int)osize)
TODO:
Definition at line 90 of file kogmo_rtdb_types.h.
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.
Please note:
printf("%lli",(long long int)otype)
TODO:
Definition at line 76 of file kogmo_rtdb_types.h.