1 #ifndef MAIL_STOP_CLASS
2 #define MAIL_STOP_CLASS
a simple place-holder that anonymizes the type passed to the callback.
A virtual base class for pieces of "mail". Used by the mailbox object.
const structures::unique_int & _id
items_to_deliver(const structures::unique_int &id, letter *package)
Base class for routes on which letters are automatically delivered.
virtual void delivery_for_you(const structures::unique_int &id, letter *package)=0
the derived object must provide this function.
virtual void real_callback(callback_data_block &data)
invoked by the safe callback machinery.
A reasonably easy way to make callbacks safe from shutdown ordering issues.
A unique identifier based on integers.