comp.lang.ada
 help / color / mirror / Atom feed
From: Georg Bauhaus <bauhaus@futureapps.invalid>
Subject: Re: I have no idea why this will not compile.
Date: Mon, 2 May 2016 09:36:58 +0200
Date: 2016-05-02T09:36:58+02:00	[thread overview]
Message-ID: <ng6vs9$1i1$1@dont-email.me> (raw)
In-Reply-To: <d395fcce-db38-48e2-b7e4-1c1f78b6e12a@googlegroups.com>

On 01.05.16 23:52, John Smith wrote:

> The hope was that I could keep everything inside of the object and open/close
> the file once (the closing would be done in the destructor.)  I'll need to read
> up on Ada pointers to better understand what I'm getting myself into.

Just for completeness, the tie does not need to become manifest
as a component. It could be a call, or it could be a message sent
when the Logger_State object is initialized, or finalized.

When the program becomes multithreaded, a question will be whether
multiple loggers should write to multiple files, too. If they should
write to the same file, then this requirement together with a File_Type
component mean that proper serialization of calls needs to be added
to Logger_State in addition.



  reply	other threads:[~2016-05-02  7:36 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-01  3:22 I have no idea why this will not compile John Smith
2016-05-01  4:07 ` Jeffrey R. Carter
2016-05-01  6:47 ` Georg Bauhaus
2016-05-01 21:52   ` John Smith
2016-05-02  7:36     ` Georg Bauhaus [this message]
2016-05-01 10:10 ` mockturtle
2016-05-01 20:55   ` John Smith
2016-05-01 23:52     ` Jeffrey R. Carter
2016-05-02  1:02     ` Jeremiah
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox