21 using namespace basis;
30 list_synchronizer::list_synchronizer()
48 bool to_return =
false;
54 to_return = t->
update(object_id);
67 if (t) t->
clean(older_than);
Outcomes describe the state of completion for an operation.
tentacle * locked_get_tentacle(int indy)
access indy'th tentacle.
void unlock_tentacles()
unlocks the list.
basis::outcome add_tentacle(tentacle *to_add, bool filter=false)
hooks a tentacle in to provide processing of one type of infoton.
int locked_tentacle_count()
number of tentacles.
basis::outcome zap_tentacle(const structures::string_array &group_name)
similar to remove_tentacle(), but destroys the tentacle.
void lock_tentacles()
locks the tentacle list for use with locked_get_tentacle.
An array of strings with some additional helpful methods.
bool prefix_compare(const string_array &second) const
Returns true if all of the elements in this are the same in "second".
Supports distributed management of a list of object states.
bool update(const structures::string_array &classifier, int offset=0)
void clean(int older_than)
const structures::string_array & list_name() const
bool update(const structures::string_array &object_id)
basis::outcome add_list(list_manager *to_add)
basis::outcome zap_list(const structures::string_array &list_name)
void clean(int older_than)
Provides various functions for massaging strings.
The guards collection helps in testing preconditions and reporting errors.
const int MEGABYTE
Number of bytes in a megabyte.
A dynamic container class that holds any kind of object via pointers.