Subversion Repositories DIN Is Noise

Rev

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
2097 jag 3
* DIN Is Noise is copyright (c) 2006-2024 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;
2027 jag 20
  int tar;
1970 jag 21
  int a;
22
  double every, f0r;
1976 jag 23
  int rndt [2];
1970 jag 24
  alarmt alm[2];
25
  double* t[2];
1976 jag 26
  valt* vt[2];
1970 jag 27
  autopauset (defvelaccel& d);
1974 jag 28
  void settrigt (int i, double& d);
29
  void setyes (int y, autorotator& ar);
1970 jag 30
  void go ();
31
  void operator() (autorotator& ar);
32
};
33
 
1977 jag 34
std::istream& operator>> (std::istream& file, autopauset& ap);
35
std::ostream& operator<< (std::ostream& file, autopauset& ap);
36
 
1970 jag 37
#endif