17 #ifndef __WollastonStatus_h__
18 #define __WollastonStatus_h__
36 WollastonStatus( std::string name,
const std::string& conffile)
throw (AOException);
105 #endif //__WollastonStatus_h__
The wollaston lift status maintainer.
int get_cur_pos()
Get the current positon of the motor.
virtual std::string remote_command(std::string com)
Overridden from VisAOApp_base::remote_command, here just calls common_command.
virtual int update_statusboard()
Update the status board.
The standalone VisAO application, does not interface with the AO Supervisor.
Declarations for the standalone VisAO application.
int set_cur_pos(int cp)
Set the value of cur_pos of the motor.
WollastonStatus(std::string name, const std::string &conffile)
Standard constructor with a config file.
VisAO software utilitites, declarations.
virtual std::string local_command(std::string com)
Overridden from VisAOApp_base::local_command, here just calls common_command.
int cur_pos
The current position of the lift, -1 is down, 0 is intermediate, 1 is up.
std::string get_state_str()
Get the state string.
virtual int Run()
The main loop.
std::string common_command(std::string com, int cmode)
The common command processor for commands received by fifo.
The namespace of VisAO software.
void initApp()
Initialization common to both constructors.