Commit Graph

95 Commits

Author SHA1 Message Date
Andrew Johnson
7e120e3388 Don't register the hook more than once. 2008-06-25 16:49:13 +00:00
Andrew Johnson
c97214d4d2 Added initTrace command to exampleApp, registers a verbose initHook. 2008-06-24 21:49:57 +00:00
Andrew Johnson
2d031c46a2 Fixed bad example code. 2007-01-24 22:05:16 +00:00
Andrew Johnson
c3e3f6be37 Added two example database substitutions files and converted the example st.cmd
files to use these instead of repeated dbLoadRecords commands.
2006-11-17 19:36:17 +00:00
Andrew Johnson
68292ed1e6 Added example code that registers a new iocsh command. 2005-04-08 17:48:08 +00:00
Marty Kraimer
5a41338d08 epicsExit 2004-08-27 16:23:20 +00:00
Marty Kraimer
f4251bcf79 make snc propram reentrient 2004-07-15 11:54:05 +00:00
Andrew Johnson
40e79bace4 Switch back from a registrar() entry to a function() entry.
Use the new DBD file auto-constructor, with conditionals.
Make SNC compilation conditional on $(SNCSEQ).
Build both standalone and component versions of sncExample.
2004-03-31 19:30:06 +00:00
Andrew Johnson
bfb3de64ce Use double for local type, not float. 2004-03-31 16:41:02 +00:00
Marty Kraimer
f9107d0233 add registrar(sncExampleRegistrar) 2003-09-25 11:38:06 +00:00
Janet B. Anderson
e31993bb84 Changed template in macro name to all caps TEMPLATE. 2003-08-11 15:39:58 +00:00
Andrew Johnson
10414b4429 Added a debug variable to the example mySub routines,
making this settable from the ioc shell.
2003-07-16 21:20:45 +00:00
Andrew Johnson
44031b3e94 Renamed the support library to xxxSupport, to match previous tidy-up. 2003-07-16 20:10:50 +00:00
Andrew Johnson
7cf94abe78 Tidying up various things:
Made the support library contain only the xxxRecord and device support,
then renamed _APPNAME_Support.dbd to xxxSupport.dbd to reflect this.
Actually I should rename the library to libxxxSupport, but I didn't yet.

Now we link the dbSubExample.o code directly to the application,
renamed the registrar routine inside this to mySubRegistrar,
and also moved the registrar() dbd entry into _APPNAME_Include.dbd.
2003-07-16 20:03:52 +00:00
Marty Kraimer
2d114dc5bb mySub can be static 2003-04-22 12:04:14 +00:00
Marty Kraimer
14b069660f make clear distinction between support and ioc apps 2003-04-04 15:01:42 +00:00
Marty Kraimer
7ec63f6034 changes for epicsExport 2003-04-01 21:06:49 +00:00
Marty Kraimer
cb3c89f1da change for win32 2003-03-31 20:03:16 +00:00
Marty Kraimer
4b95841fcd more changes to get epicsShare to work on win32 2003-03-28 20:25:43 +00:00
Marty Kraimer
21ee244b5e more changes for epicsShare 2003-03-28 16:01:45 +00:00
Marty Kraimer
37338038df fix epicsShare decoration 2003-03-27 15:00:33 +00:00
Marty Kraimer
7fb37da827 changes for new build rules 2003-03-26 20:10:04 +00:00
Marty Kraimer
76883c4a2f use NELEMENTS instead of registryFunction.h 2003-03-21 20:05:23 +00:00
Marty Kraimer
e808742fe1 function replaced by registrar 2003-03-21 19:41:50 +00:00
Janet B. Anderson
335269a25a Make rec, softDev, and testDev libs shared. 2003-03-20 19:53:29 +00:00
Janet B. Anderson
421310b544 Modified to reflect new <name>_TEMPLATE changes. 2003-03-19 17:51:33 +00:00
Andrew Johnson
a1f332be01 Moved base.dbd from both makeBaseApp templates into src/misc.
An application only needs a copy if it wants to remove stuff.
2003-02-11 23:25:11 +00:00
Andrew Johnson
57a21b390f We should discourage the creation of .dbd files in Db subdirectories.
From 3.14 they also need the _RegisterRecordDeviceDriver.cpp stuff,
which should appear in a src directory.
2003-02-11 23:04:35 +00:00
W. Eric Norum
2296613061 Change comment to match file name. 2003-02-06 14:58:59 +00:00
W. Eric Norum
471bb75029 Clean up some printf format/argument warnings. 2003-02-06 14:55:50 +00:00
Andrew Johnson
081cb42dc8 Moved CA client examples into their own caClientApp
Added caServerApp - copied from src/cas/example/simple
Made simpleApp significantly more useful
Made exampleApp use the _APPNAME_ macro instead of example in various places
2003-02-05 23:46:23 +00:00
Marty Kraimer
a5e80e7872 add return type to main 2002-12-02 20:43:45 +00:00
Janet B. Anderson
6b8dbc5355 Added compressExample record. 2002-10-18 21:00:10 +00:00
Andrew Johnson
137b10f7a8 Removed complex C++ registration of subroutines,
replaced by function() statments in .dbd file.
2002-09-25 18:36:48 +00:00
Jeff Hill
dbd2d00699 use the new create channel interface similar to the other ca example 2002-08-22 00:01:55 +00:00
Marty Kraimer
c12159fee8 fix mistake 2002-07-30 18:06:37 +00:00
Marty Kraimer
f5cfe11261 add dbSubExample 2002-07-30 15:12:06 +00:00
Janet B. Anderson
93b0bf478d Updated license comments. 2002-07-12 21:35:43 +00:00
W. Eric Norum
348c8916d2 Switch to non-deprecated routines. 2002-04-15 19:37:27 +00:00
Marty Kraimer
28282e176d make caMonitor a host application 2001-10-15 18:50:16 +00:00
Janet B. Anderson
296d94a2c5 Added caExample_SRCS definition - SRCS required for automated depends. 2001-08-07 16:44:23 +00:00
Marty Kraimer
9989ff73fe Make vxCom an OBJ library 2001-08-01 14:31:59 +00:00
Marty Kraimer
ca14e4eabc make exampleMain a .cpp file 2001-07-25 15:10:12 +00:00
Janet B. Anderson
3a4435a70a Removed unneeded vxWorks LDFLAGS undefined iocInit line. 2001-06-13 19:52:12 +00:00
Janet B. Anderson
dd95b5462e Removed references for baseLIBOBJS. 2001-06-11 18:53:07 +00:00
Janet B. Anderson
7874d35daf Changes to create vxWorks archive libraries and prods. 2001-06-07 14:26:06 +00:00
Janet B. Anderson
9ecf5a5349 Added pv_DIR defintions. 2001-05-23 16:17:35 +00:00
W. Eric Norum
d99fb7029d Change all instances of ioccrf' to iocsh' to reflect the added
capabilities of the IOC shell routines.
2001-05-17 18:16:49 +00:00
Marty Kraimer
abe09ef1d3 add new features for seqExample 2001-03-21 14:53:36 +00:00
Marty Kraimer
51c938abb9 changes for drvTS 2001-03-07 21:26:37 +00:00