EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  <19971998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  <19971998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: InitHooks
From: Benjamin Franksen <[email protected]>
To: [email protected]
Date: Tue, 15 Jul 1997 17:29:27 +0200
Marty Kraimer wrote:
> 
> Note that you can do this without changing base. Just provide a routine:
> 
> void initHooks(int callNumber) {localInitHooks(callNumber); }
> 
> and let localInitHooks do what you suggest.

Yes, but then I cannot reference the original initHooks function. Of
course I can copy the original initHooks.c to my application directory,
change the name, etc... but then I can also patch the original initHooks
function to do what I want. I do _not_ say that the current solution
doesn't allow me to do the things I want to do, it is just non-modular
and somehow unsatisfying, and this contrasts the otherwise very flexible
flavor of EPICS.

Look, if someone simply wants to _use_ my driver, and maybe is not an
EPICS expert, (s)he wants to have a simple installation procedure like
"place a call 'register...' in your startup file" and _not_ "You also
have to copy your initHooks.c to your application directory, patch it in
the following (detailed explanation here, where to put the code) and
then uncomment the line 'LIBOBJS += ...' in your baseLIBOBJS file,
instead ........".

	Ben
-- 
The Notorious Neb Nesknarf
// snail: BESSY II, Rudower Chaussee 5, D-12489 Berlin, Germany
// email: [email protected]
// phone/fax: +49(30)6392-4865 / 6392-4859

References:
InitHooks Benjamin Franksen
Re: InitHooks Marty Kraimer

Navigate by Date:
Prev: training Bob Dalesio
Next: Re: InitHooks saa
Index: 1994  1995  1996  <19971998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: InitHooks Marty Kraimer
Next: Re: InitHooks Marty Kraimer
Index: 1994  1995  1996  <19971998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·