53 int type()
const {
return _type; }
Defines the base class for all string processing objects in hoople.
A base class for objects that can provide a synopsis of their current state.
A virtual base class for pieces of "mail". Used by the mailbox object.
bool ready_to_send()
returns true if this letter is ready to
virtual ~letter()
derived classes should also implement this.
letter(int type=0, int start_after=0)
constructs a letter with the "type" and initial pause of "start_after".
int type() const
returns the type of letter held here.
virtual void text_form(basis::base_string &fill) const =0
derived letters must print a status blurb describing their contents.
void set_ready_time(int start_after)
resets the time when this letter is ready to be sent.
letter & operator=(const letter &to_copy)
assignment operator for base object.
Represents a point in time relative to the operating system startup time.