1 saw 1.1 /*-----------------------------------------------------------------------------
2 * Copyright (c) 1993 Southeastern Universities Research Association,
3 * Continuous Electron Beam Accelerator Facility
4 *
5 * This software was developed under a United States Government license
6 * described in the NOTICE file included as part of this distribution.
7 *
8 * Stephen A. Wood, 12000 Jefferson Ave., Newport News, VA 23606
9 * Email: saw@cebaf.gov Tel: (804) 249-7367 Fax: (804) 249-5800
10 *-----------------------------------------------------------------------------
11 *
12 * Description:
13 * Include file with prototypes for CTP routines.
14 *
15 * Author: Stephen Wood, CEBAF Hall C
16 *
17 * Revision History:
18 * $Log: th.h,v $
|
44 saw 1.1
45 /* General booking routines */
46 thStatus thLoad(char *fname);
47 thStatus thOBook();
48 thStatus thBook();
49
50
51 /* Test package routines */
52 typedef enum {
53 WALK_DISPLAY, WALK_CLEAR_FLAGS, WALK_CLEAR_SCALERS, WALK_EXECUTE,
54 WALK_REMOVE, WALK_INCREMENT_SCALERS} WALKOP;
55
56 thStatus thWalkTree(char *block_name, WALKOP walkop);
57 thStatus thExecuteTests(char *block_name);
58 thStatus thClearTestFlags(char *block_name);
59 thStatus thClearTestScalers(char *block_name);
60 thStatus thIncTestScalers(char *block_name);
61 /*#define thExecuteTests(block_name) thWalkTree(block_name,WALK_EXECUTE)*/
62 /*#define thIncTestScalers(block_name) \
63 thWalkTree(block_name,WALK_INCREMENT_SCALERS)*/
64 #define thDisplayTests(block_name) thWalkTree(block_name,WALK_DISPLAY)
65 saw 1.1 #define thRemoveTests(block_name) thWalkTree(block_name,WALK_REMOVE)
66 /*#define thClearTestFlags(block_name) \
67 thWalkTree(block_name,WALK_CLEAR_FLAGS)*/
68 /*#define thClearTestScalers(block_name) \
69 thWalkTree(block_name,WALK_CLEAR_SCALERS)*/
70 thStatus thExecuteGroup(char *group_name);
71 thStatus thClearGroup(char *group_name);
72 thStatus thClearScalersGroup(char *group_name);
73 thStatus thIncrementScalersGroup(char *group_name);
|