From: Matthew Heaney <matthewjheaney@earthlink.net>
Subject: Re: Some help for a C++ guy
Date: Sat, 09 Apr 2005 22:20:25 GMT
Date: 2005-04-09T22:20:25+00:00 [thread overview]
Message-ID: <ud5t3lhhx.fsf@earthlink.net> (raw)
In-Reply-To: 1112975709.395996.258940@f14g2000cwb.googlegroups.com
defaultuserbr@yahoo.com writes:
> To tell the truth, there probably should be some sort of parameter.
> Each message has a unique message ID that really should be carried in
> the package/class/whatever.
Can you move the state data into the handler?
package P is
type Handler_Type is abstract tagged limited null record;
procedure Process_Status
(Handler : in out Handler_Type;
Status : in Status_Type) is abstract;
procedure Register (Handler : in Handler_Type);
...
end P;
Clients derive from Handler_Type and add state as necessary.
prev parent reply other threads:[~2005-04-09 22:20 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-07 22:14 Some help for a C++ guy defaultuserbr
2005-04-07 22:51 ` Ed Falis
2005-04-07 23:18 ` defaultuserbr
2005-04-07 23:32 ` Ed Falis
2005-04-08 15:41 ` defaultuserbr
2005-04-08 5:50 ` Simon Wright
2005-04-08 15:47 ` defaultuserbr
2005-04-08 17:49 ` defaultuserbr
2005-04-08 20:42 ` tmoran
2005-04-08 21:18 ` defaultuserbr
2005-04-08 20:54 ` defaultuserbr
2005-04-08 22:20 ` tmoran
2005-04-08 23:03 ` defaultuserbr
2005-04-09 0:19 ` tmoran
2005-04-09 15:17 ` defaultuserbr
2005-04-08 4:43 ` tmoran
2005-04-08 15:55 ` defaultuserbr
2005-04-09 22:20 ` Matthew Heaney [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox