diff --git a/pvtoolsSrc/Makefile b/pvtoolsSrc/Makefile index 0766217..39a1b17 100644 --- a/pvtoolsSrc/Makefile +++ b/pvtoolsSrc/Makefile @@ -28,10 +28,6 @@ pvinfo_SRCS += pvutils.cpp PROD_HOST += pvlist pvlist_SRCS += pvlist.cpp -PROD_HOST += eget -eget_SRCS += eget.cpp -eget_SRCS += pvutils.cpp - PROD_LIBS += pvAccessCA pvAccess pvData ca Com PROD_SYS_LIBS_WIN32 += ws2_32 diff --git a/pvtoolsSrc/eget.cpp b/pvtoolsSrc/eget.cpp deleted file mode 100644 index 5723c51..0000000 --- a/pvtoolsSrc/eget.cpp +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright information and license terms for this software can be - * found in the file LICENSE that is included with the distribution - */ - -#include - -#define EXECNAME "eget" - -#define MAIN getMain -#include "pvget.cpp" - -#undef MAIN -#define MAIN callMain -#include "pvcall.cpp" - -static -void egetUsage (void) -{ - fprintf (stderr, "\nUsage: eget [options] [-s] ... [-a =]...\n\n" - "\noptions:\n" - " -h: Help: Print this message\n" - " -V: Print version and exit\n" - " -s : Service API compliant based RPC service name (accepts NTURI request argument)\n" - " -a : Service argument in 'name[=value]' or 'name value' form\n" - " -r : Get request string, specifies what fields to return and options, default is '%s'\n" - " -w : Wait time, specifies timeout, default is %f second(s)\n" -// " -z: Pure pvAccess RPC based service (send NTURI.query as request argument)\n" -// " -N: Do not format NT types, dump structure instead\n" -// " -i: Do not format standard types (enum_t, time_t, ...)\n" -// " -t: Terse mode\n" -// " -T: Transpose vector, table, matrix\n" -// " -x: Use column-major order to decode matrix\n" - " -p : Set default provider name, default is '%s'\n" -// " -q: Quiet mode, print only error messages\n" - " -d: Enable debug output\n" -// " -F : Use as an alternate output field fieldSeparator\n" -// " -f : Use as an input that provides a list PV name(s) to be read, use '-' for stdin\n" -// " -c: Wait for clean shutdown and report used instance count (for expert users)\n" -// " enum format:\n" -// " -n: Force enum interpretation of values as numbers (default is enum string)\n" - "\n\nexamples:\n\n" - "#! Get the value of the PV corr:li32:53:bdes\n" - "> eget corr:li32:53:bdes\n" - "\n" - "#! Get the table of all correctors from the rdb service\n" - "> eget -s rdbService -a entity=swissfel:devicenames\n" - "\n" - "#! Get the archive history of quad45:bdes;history between 2 times, from the archive service\n" - "> eget -s archiveService -a entity=quad45:bdes;history -a starttime=2012-02-12T10:04:56 -a endtime=2012-02-01T10:04:56\n" - "\n" - "#! Get polynomials for bunch of quads using a stdin to give a list of PV names\n" - "> eget -s names -a pattern=QUAD:LTU1:8%%:POLYCOEF | eget -f -\n" - "\n" - , request.c_str(), timeout, defaultProvider.c_str()); -} - -int main (int argc, char *argv[]) -{ - bool found_s = false; - for(int i=1; i