casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
nreal.h
Go to the documentation of this file.
1 //# nreal.h: this defines nreal time structures used by the VLA table filler
2 //# Copyright (C) 1999
3 //# Associated Universities, Inc. Washington DC, USA.
4 //#
5 //# This library is free software; you can redistribute it and/or modify it
6 //# under the terms of the GNU Library General Public License as published by
7 //# the Free Software Foundation; either version 2 of the License, or (at your
8 //# option) any later version.
9 //#
10 //# This library is distributed in the hope that it will be useful, but WITHOUT
11 //# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12 //# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
13 //# License for more details.
14 //#
15 //# You should have received a copy of the GNU Library General Public License
16 //# along with this library; if not, write to the Free Software Foundation,
17 //# Inc., 675 Massachusetts Ave, Cambridge, MA 02139, USA.
18 //#
19 //# Correspondence concerning AIPS++ should be addressed as follows:
20 //# Internet email: aips2-request@nrao.edu.
21 //# Postal address: AIPS++ Project Office
22 //# National Radio Astronomy Observatory
23 //# 520 Edgemont Road
24 //# Charlottesville, VA 22903-2475 USA
25 //#
26 //#
27 //# $Id: nreal.h,v 19.3.18.3 2006/02/17 23:46:40 wyoung Exp $
28 //#! ========================================================================
29 
30 #ifndef NRAO_NREAL_H
31 #define NRAO_NREAL_H
32 //
33 //# Forward Declarations
34 //
35 // <summary>
36 // Defines nreal time structures used by the VLA table filler
37 // </summary>
38 //
39 // <use visibility=local> or <use visibility=export>
40 //
41 // <reviewed reviewer="" date="yyyy/mm/dd" tests="" demos="">
42 // </reviewed>
43 //
44 // <prerequisite>
45 // <li> SomeClass
46 // <li> SomeOtherClass
47 // <li> some concept
48 // </prerequisite>
49 //
50 // <etymology>
51 // </etymology>
52 //
53 // <synopsis>
54 // </synopsis>
55 //
56 // <example>
57 // </example>
58 //
59 // <motivation>
60 // </motivation>
61 //
62 // <templating arg=T>
63 // <li>
64 // <li>
65 // </templating>
66 //
67 // <thrown>
68 // <li>
69 // <li>
70 // </thrown>
71 //
72 // <todo asof="yyyy/mm/dd">
73 // <li> add this feature
74 // <li> fix this bug
75 // <li> start discussion of this possible extension
76 // </todo>
77 //
78 //class ClassName
79 //{
80 //public:
81 //
82 //protected:
83 //
84 //private:
85 //
86 //};
87 //
88 //
89 // Global Functions
90 //
91 // <linkfrom anchor=unique-string-within-this-file
92 //classes="class-1,...,class-n">
93 // <here> Global functions </here> for foo and bar.
94 // </linkfrom>
95 //
96 // comments for this group of related global functions
97 // go here...
98 //
99 // <group name=unique-string-within-this-file>
100 // </group>
101 //
102 // comments about the following group
103 // <group name=another-unique-string-within-this-file>
104 // </group>
105 
106 
107 /* Simple union to help make an internet addr printable in the
108 123.456.789.123 format. Likely unnecessary but I'm learning */
109 
110 #include <stdio.h>
111 
112 #define BUF_SIZE 2048
113 #define ONLINE_RECORD_SIZE_MAX 26624
114 #define PHYS_RECORD_SIZE 26624
115 #define MAX_LOGICAL_RECORD_SIZE 850000
116 /* #define MAX_TIME 60 */
117 
118 struct TapeHeader{
119  short current;
120  short total;
121 };
122 
123 void attachFile(const char *);
124 void detachFile();
125 int olopen_(int *, char *, int);
126 int oladvf_(int *, int *);
127 int readVLALogRec(char *);
128 
129 #endif
short current
Definition: nreal.h:119
int oladvf_(int *, int *)
void attachFile(const char *)
short total
Definition: nreal.h:120
void detachFile()
int olopen_(int *, char *, int)
int readVLALogRec(char *)