Subversion Repositories DIN Is Noise

Rev

Rev 1977 | Rev 1994 | 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
3
* DIN Is Noise is copyright (c) 2006-2022 Jagannathan Sampath
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"
12
 
13
struct defvelaccel;
14
struct autorotator;
15
struct valt;
16
 
17
struct autopauset {
18
  int yes;
19
  int a;
20
  double every, f0r;
1976 jag 21
  int rndt [2];
1970 jag 22
  alarmt alm[2];
23
  double* t[2];
1976 jag 24
  valt* vt[2];
1970 jag 25
  autopauset (defvelaccel& d);
1974 jag 26
  void settrigt (int i, double& d);
27
  void setyes (int y, autorotator& ar);
1970 jag 28
  void go ();
29
  void operator() (autorotator& ar);
30
};
31
 
1977 jag 32
std::istream& operator>> (std::istream& file, autopauset& ap);
33
std::ostream& operator<< (std::ostream& file, autopauset& ap);
34
 
1970 jag 35
#endif