Subversion Repositories DIN Is Noise

Rev

Rev 1994 | Rev 2027 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1970 jag 1
/*
2
* autopause.h
2009 jag 3
* DIN Is Noise is copyright (c) 2006-2023 Jagannathan Sampath
1970 jag 4
* DIN Is Noise is released under GNU Public License 2.0
5
* For more information, please visit https://dinisnoise.org/
6
*/
7
 
8
#ifndef __autopause
9
#define __autopause
10
 
11
#include "alarm.h"
1994 jag 12
#include <fstream>
1970 jag 13
 
14
struct defvelaccel;
15
struct autorotator;
16
struct valt;
17
 
18
struct autopauset {
19
  int yes;
20
  int a;
21
  double every, f0r;
1976 jag 22
  int rndt [2];
1970 jag 23
  alarmt alm[2];
24
  double* t[2];
1976 jag 25
  valt* vt[2];
1970 jag 26
  autopauset (defvelaccel& d);
1974 jag 27
  void settrigt (int i, double& d);
28
  void setyes (int y, autorotator& ar);
1970 jag 29
  void go ();
30
  void operator() (autorotator& ar);
31
};
32
 
1977 jag 33
std::istream& operator>> (std::istream& file, autopauset& ap);
34
std::ostream& operator<< (std::ostream& file, autopauset& ap);
35
 
1970 jag 36
#endif