From 5c2d62e56f6767ee48d01ddec7f5efe8c2ce41c2 Mon Sep 17 00:00:00 2001 From: kpetersn Date: Tue, 22 Aug 2017 15:13:09 -0500 Subject: [PATCH] Removed AMCIRegister.{cc,h}. Fixes #65 --- motorApp/AMCISrc/AMCIRegister.cc | 52 -------------------------------- motorApp/AMCISrc/AMCIRegister.h | 44 --------------------------- motorApp/AMCISrc/Makefile | 2 -- 3 files changed, 98 deletions(-) delete mode 100644 motorApp/AMCISrc/AMCIRegister.cc delete mode 100644 motorApp/AMCISrc/AMCIRegister.h diff --git a/motorApp/AMCISrc/AMCIRegister.cc b/motorApp/AMCISrc/AMCIRegister.cc deleted file mode 100644 index ce0afdf5..00000000 --- a/motorApp/AMCISrc/AMCIRegister.cc +++ /dev/null @@ -1,52 +0,0 @@ -/* -FILENAME... AMCIRegister.cc -USAGE... Register AMCI motor device driver shell commands. - -Version: $Revision: 1.4 $ -Modified By: $Author: sluiter $ -Last Modified: $Date: 2004-07-16 19:06:58 $ -*/ - -/***************************************************************** - COPYRIGHT NOTIFICATION -***************************************************************** - -(C) COPYRIGHT 1993 UNIVERSITY OF CHICAGO - -This software was developed under a United States Government license -described on the COPYRIGHT_UniversityOfChicago file included as part -of this distribution. -**********************************************************************/ - -#include -#include "AMCIRegister.h" -#include "epicsExport.h" - -extern "C" -{ - -// AMCI ANG1 Setup arguments -static const iocshArg setupArg0 = {"asyn port name", iocshArgString}; -static const iocshArg setupArg1 = {"Input port name", iocshArgString}; -static const iocshArg setupArg2 = {"Output port name", iocshArgString}; -static const iocshArg setupArg3 = {"Number of axes", iocshArgInt}; -static const iocshArg setupArg4 = {"Polling rate moving", iocshArgInt}; -static const iocshArg setupArg5 = {"Polling rate idle", iocshArgInt}; - -static const iocshArg * const ANG1SetupArgs[6] = {&setupArg0, &setupArg1, &setupArg2, &setupArg3, &setupArg4, &setupArg5}; - -static const iocshFuncDef setupANG1 = {"ANG1Setup", 6, ANG1SetupArgs}; - -static void setupANG1CallFunc(const iocshArgBuf *args) -{ - ANG1Setup(args[0].sval, args[1].sval, args[2].sval, args[3].ival, args[4].ival, args[5].ival); -} - -static void AMCIRegister(void) -{ - iocshRegister(&setupANG1, setupANG1CallFunc); -} - -epicsExportRegistrar(AMCIRegister); - -} // extern "C" diff --git a/motorApp/AMCISrc/AMCIRegister.h b/motorApp/AMCISrc/AMCIRegister.h deleted file mode 100644 index 98511177..00000000 --- a/motorApp/AMCISrc/AMCIRegister.h +++ /dev/null @@ -1,44 +0,0 @@ -/* -FILENAME... AMCIRegister.h -USAGE... This file contains function prototypes for AMCI IOC shell commands. - -Version: $Revision: 1.3 $ -Modified By: $Author: sluiter $ -Last Modified: $Date: 2004-07-16 19:06:58 $ -*/ - -/* - * Original Author: Ron Sluiter - * Date: 05/19/03 - * - * Experimental Physics and Industrial Control System (EPICS) - * - * Copyright 1991, the Regents of the University of California, - * and the University of Chicago Board of Governors. - * - * This software was produced under U.S. Government contracts: - * (W-7405-ENG-36) at the Los Alamos National Laboratory, - * and (W-31-109-ENG-38) at Argonne National Laboratory. - * - * Initial development by: - * The Controls and Automation Group (AT-8) - * Ground Test Accelerator - * Accelerator Technology Division - * Los Alamos National Laboratory - * - * Co-developed with - * The Controls and Computing Group - * Accelerator Systems Division - * Advanced Photon Source - * Argonne National Laboratory - * - * Modification Log: - * ----------------- - */ - -#include "motor.h" -#include "motordrvCom.h" - -/* Function prototypes. */ -extern RTN_STATUS ANG1Setup(const char *, const char *, const char *, int, int, int); - diff --git a/motorApp/AMCISrc/Makefile b/motorApp/AMCISrc/Makefile index b1156cec..9f1782e7 100644 --- a/motorApp/AMCISrc/Makefile +++ b/motorApp/AMCISrc/Makefile @@ -10,8 +10,6 @@ include $(TOP)/configure/CONFIG LIBRARY_IOC += AMCI -SRCS += AMCIRegister.cc - # motorRecord.h will be created from motorRecord.dbd # install devMotorSoft.dbd into /dbd DBD += ANG1Support.dbd