dcrud  0.0.0
Distributed data and services
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
ICache.h File Reference
#include "Shareable.h"
#include "Status.h"
#include <coll/Set.h>
Include dependency graph for ICache.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef bool(* dcrudPredicate )(dcrudShareable item)
 

Functions

 UTIL_ADT (dcrudICache)
 
void dcrudICache_setOwnership (dcrudICache This, bool enabled)
 
bool dcrudICache_owns (dcrudICache This, dcrudGUID id)
 
dcrudStatus dcrudICache_create (dcrudICache This, dcrudShareable item)
 
dcrudShareable dcrudICache_read (dcrudICache This, dcrudGUID id)
 
dcrudStatus dcrudICache_update (dcrudICache This, dcrudShareable item)
 
dcrudStatus dcrudICache_delete (dcrudICache This, dcrudShareable item)
 
collForeachResult dcrudICache_foreach (dcrudICache This, collForeachFunction fn, void *userData)
 
collSet dcrudICache_select (dcrudICache This, dcrudPredicate query)
 
dcrudStatus dcrudICache_publish (dcrudICache This)
 
void dcrudICache_subscribe (dcrudICache This, dcrudClassID id)
 
void dcrudICache_refresh (dcrudICache This)
 

Typedef Documentation

typedef bool( * dcrudPredicate)(dcrudShareable item)

Definition at line 13 of file ICache.h.

Function Documentation

dcrudStatus dcrudICache_create ( dcrudICache  This,
dcrudShareable  item 
)
dcrudStatus dcrudICache_delete ( dcrudICache  This,
dcrudShareable  item 
)
collForeachResult dcrudICache_foreach ( dcrudICache  This,
collForeachFunction  fn,
void *  userData 
)
bool dcrudICache_owns ( dcrudICache  This,
dcrudGUID  id 
)
dcrudStatus dcrudICache_publish ( dcrudICache  This)
dcrudShareable dcrudICache_read ( dcrudICache  This,
dcrudGUID  id 
)
void dcrudICache_refresh ( dcrudICache  This)
collSet dcrudICache_select ( dcrudICache  This,
dcrudPredicate  query 
)
void dcrudICache_setOwnership ( dcrudICache  This,
bool  enabled 
)
void dcrudICache_subscribe ( dcrudICache  This,
dcrudClassID  id 
)
dcrudStatus dcrudICache_update ( dcrudICache  This,
dcrudShareable  item 
)
UTIL_ADT ( dcrudICache  )