1 /*****************************************************************************\
3 * Name : entity_registry *
4 * Author : Chris Koeritz *
6 *******************************************************************************
7 * Copyright (c) 2002-$now By Author. This program is free software; you can *
8 * redistribute it and/or modify it under the terms of the GNU General Public *
9 * License as published by the Free Software Foundation; either version 2 of *
10 * the License or (at your option) any later version. This is online at: *
11 * http://www.fsf.org/copyleft/gpl.html *
12 * Please send any updates to: fred@gruntose.com *
13 \*****************************************************************************/
15 #include "entity_registry.h"
17 #include <mathematics/chaos.h>
18 #include <processes/safe_roller.h>
19 #include <octopus/entity_defs.h>
21 using namespace basis;
22 using namespace mathematics;
23 using namespace processes;
24 using namespace timely;
28 entity_registry::entity_registry()
29 : _sequencer(new safe_roller(1, MAXINT32 / 2)),
34 entity_registry::~entity_registry()
42 astring blank_entity_registry::text_form()
43 { return "blank_entity_registry--all are allowed, none are remembered."; }
45 bool blank_entity_registry::locate_entity(const octopus_entity &formal(entity),
46 time_stamp &last_active, byte_array &verification)
48 last_active = time_stamp();
49 verification = byte_array();