Multi-ApplicationOnlineProfiling  2.1
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data_Entry.h File Reference
#include <stddef.h>
#include "CRC64.h"
#include "Chained_List.h"
#include "Spinlock.h"
Include dependency graph for Data_Entry.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  Data_entry
 Struct defining a piece of data that can exist on the blackboard. More...
 

Functions

struct Data_entryData_entry_init (uint64_t key, void *payload, size_t size)
 Creates a new Data_entry. More...
 
struct Data_entryData_entry_clone (struct Data_entry *de)
 Clones a Data_entry. More...
 
void Data_entry_release (struct Data_entry *de)
 Clears a Data_entry. More...
 
static void Data_entry_reset_ref_count (struct Data_entry *de)
 Resets the ref_count of a Data_entry. More...
 
static uint64_t Data_entry_get_ref_count (struct Data_entry *de)
 Getter on the ref_count of a Data_entry. More...
 
static void Data_entry_inc_ref_count (struct Data_entry *de, uint64_t val)
 Increments the ref_count of a Data_entry by a given value. More...
 
static uint64_t Data_entry_dec_ref_count (struct Data_entry *de)
 Decrements the ref_count of a Data_entry. More...
 
static uint64_t Data_entry_get_key (struct Data_entry *de)
 Getter on the Data_entry key. More...
 
static size_t Data_entry_get_payload_size (struct Data_entry *de)
 Getter on the Data_entry payload size. More...
 
static void * Data_entry_get_payload (struct Data_entry *de)
 Getter on the actual data of a Data_entry. More...