octopus.cpp File Reference

#include "entity_data_bin.h"
#include "entity_defs.h"
#include "identity_tentacle.h"
#include "infoton.h"
#include "octopus.h"
#include "tentacle.h"
#include "unhandled_request.h"
#include <basis/chaos.h>
#include <basis/istring.h>
#include <basis/log_base.h>
#include <basis/mutex.h>
#include <basis/portable.h>
#include <data_struct/amorph.cpp>
#include <data_struct/string_hash.cpp>
#include <mechanisms/safe_roller.h>
#include <mechanisms/time_stamp.h>

Include dependency graph for octopus.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(*_molock)
#define WHACK_RETURN(to_ret, to_whack)
#define LOG(t)   CLASS_EMERGENCY_LOG(program_wide_logger(), t)

Variables

const int MAXIMUM_TRASH_SIZE = 128 * KILOBYTE
const int OCTOPUS_CHECKING_INTERVAL = 4 * MINUTE_ms


Define Documentation

#define GRAB_LOCK   auto_synchronizer l(*_molock)

Definition at line 42 of file octopus.cpp.

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

Definition at line 61 of file octopus.cpp.

#define WHACK_RETURN ( to_ret,
to_whack   ) 

Value:

{ \
  unhandled_request *bad_response = new unhandled_request(id, \
      request->classifier(), to_ret); \
  _responses->add_item(bad_response, id); \
  WHACK(to_whack); \
  return to_ret; \
}

Definition at line 49 of file octopus.cpp.

Referenced by octopus::evaluate().


Variable Documentation

const int MAXIMUM_TRASH_SIZE = 128 * KILOBYTE

Definition at line 57 of file octopus.cpp.

Referenced by octopus::expunge().

const int OCTOPUS_CHECKING_INTERVAL = 4 * MINUTE_ms

Definition at line 63 of file octopus.cpp.

Referenced by octopus::periodic_cleaning().


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