21 #ifndef __ShutterControl_h__
22 #define __ShutterControl_h__
52 int set_last_t(
double lt);
54 int open_shutter(
void *adata = 0);
55 int close_shutter(
void *adata = 0);
57 virtual int set_state(
int st);
59 virtual int get_state();
60 virtual int get_sw_state();
61 virtual int get_hw_state();
66 virtual int start_ShutterControl();
67 virtual int shutdown_ShutterControl();
75 virtual int do_shutter_open(
void *adata);
76 virtual int do_shutter_close(
void *adata);
80 #endif //__ShutterControl_h__
double dead_time
Time to wait between commanded changes in state.
ShutterControl()
Default constructor.
int initialize_ShutterControl()
Sets the basic parameters to default values.
double last_t
the time of the last commanded change in state
int hw_state
1 is open, -1 is shut, 0 is unknown
int sw_state
1 is open, -1 is shut, 0 is unknown
double curr_t
the current time
timeval tp
for use in getting system time
bool ignore_hw_state
For when hw_state is unavailable.