EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Record support and user-defined fields
From: Marty Kraimer <[email protected]>
To: EPICS Core Talk <[email protected]>
Date: Thu, 14 Jul 2005 08:04:49 -0500

On Jul 13, 2005, at 10:46 AM, Benjamin Franksen wrote:

Sounds like you agree with that that presenting full blown templates
to users is not very nice :-)

No, that is not what I meant to say. Rather the decision of whether or
not to include templates in C+ interfaces must take their disadvantages
into account, too. I think there are many situations where presenting a
template based interface is exactly what is needed.

OTOH, I think we don't need to decide this question here. The developer
of the (struct based) building block is free to present the interface
how he/she sees fit. Client code will look the same.



Agreed.

What I am thinking is the following.

When preparing support meant for general use make it as simple and understandable as possible for the user even if it means more work for the developer. For record support and below, end users will often not be C++ experts and may have trouble if too much C++ magic is used.

Some additional comments:

1) We have the wrong title for this message thread. It should be something like "record support building blocks" rather than user-defined fields.

2) I suspect that this can be done via the device definitions as they appear in the DBD definitions. The direction=none could be used for record support building blocks. 3) Perhaps the name device is the wrong name? What it is actually doing is providing the ability to locate and communicate with code that does useful things for record support. This can mean interfacing to hardware but it can also be "building block" for records.

Marty


References:
V4 iocRecord: forward linking Ralph Lange
Re: Record support and user-defined fields Benjamin Franksen
Re: Record support and user-defined fields Marty Kraimer
Re: Record support and user-defined fields Benjamin Franksen

Navigate by Date:
Prev: Re: SNL improvement and ideas Benjamin Franksen
Next: Network Accessable Types Marty Kraimer
Index: 2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Record support and user-defined fields Benjamin Franksen
Next: again: memory management Benjamin Franksen
Index: 2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Feb 2012 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·