entity_data_bin.cpp File Reference

#include "entity_data_bin.h"
#include "entity_defs.h"
#include "infoton.h"
#include "tentacle.h"
#include <basis/istring.h>
#include <basis/log_base.h>
#include <basis/mutex.h>
#include <data_struct/amorph.cpp>
#include <data_struct/string_hash.cpp>
#include <mechanisms/time_stamp.h>

Include dependency graph for entity_data_bin.cpp:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define GRAB_LOCK   auto_synchronizer l(*_ent_lock)
#define LOG(s)   CLASS_EMERGENCY_LOG(program_wide_logger(), s)
#define static_class_name()   "entity_data_bin"
#define DUMP_STATE
#define static_class_name()   "entity_data_bin"
#define static_class_name()   "entity_data_bin"

Functions

bool text_form_applier (const octopus_entity &formal(key), entity_basket &bask, void *data_link)
bool scramble_applier (const octopus_entity &formal(key), entity_basket &bask, void *data_link)
bool any_item_applier (const octopus_entity &formal(key), entity_basket &bask, void *data_link)
bool cleaning_applier (const octopus_entity &key, entity_basket &bask, void *data_link)

Variables

const int OCTOPUS_TABLE_BITS = 6
const int DATA_DECAY_INTERVAL = 4 * MINUTE_ms


Define Documentation

#define DUMP_STATE

Definition at line 204 of file entity_data_bin.cpp.

Referenced by entity_data_bin::acquire_for_any(), entity_data_bin::acquire_for_entity(), and entity_data_bin::acquire_for_identifier().

#define GRAB_LOCK   auto_synchronizer l(*_ent_lock)

Definition at line 34 of file entity_data_bin.cpp.

#define LOG (  )     CLASS_EMERGENCY_LOG(program_wide_logger(), s)

Definition at line 38 of file entity_data_bin.cpp.

 
#define static_class_name (  )     "entity_data_bin"

 
#define static_class_name (  )     "entity_data_bin"

 
#define static_class_name (  )     "entity_data_bin"


Function Documentation

bool any_item_applier ( const octopus_entity formal(key),
entity_basket &  bask,
void *  data_link 
)

Definition at line 241 of file entity_data_bin.cpp.

References FUNCDEF, LOG, and octopus_entity::mangled_form().

Referenced by entity_data_bin::acquire_for_any().

bool cleaning_applier ( const octopus_entity key,
entity_basket &  bask,
void *  data_link 
)

Definition at line 384 of file entity_data_bin.cpp.

References DATA_DECAY_INTERVAL, FUNCDEF, and LOG.

Referenced by entity_data_bin::clean_out_deadwood().

bool scramble_applier ( const octopus_entity formal(key),
entity_basket &  bask,
void *  data_link 
)

Definition at line 176 of file entity_data_bin.cpp.

References FUNCDEF.

bool text_form_applier ( const octopus_entity formal(key),
entity_basket &  bask,
void *  data_link 
)

Definition at line 160 of file entity_data_bin.cpp.

Referenced by simple_entity_registry::text_form(), and entity_data_bin::text_form().


Variable Documentation

const int DATA_DECAY_INTERVAL = 4 * MINUTE_ms

Definition at line 44 of file entity_data_bin.cpp.

Referenced by cleaning_applier().

const int OCTOPUS_TABLE_BITS = 6

Definition at line 40 of file entity_data_bin.cpp.


Generated on Fri Oct 10 04:29:41 2008 for HOOPLE Libraries by  doxygen 1.5.1