Toggle rig control/follow, rigthread fixes, save rig control state

This commit is contained in:
Charles J. Cliffe
2016-02-16 01:13:26 -05:00
parent 93d2c73fb9
commit 74d3e771fd
7 changed files with 176 additions and 28 deletions
+10
View File
@@ -100,6 +100,15 @@ public:
std::string getRigPort();
void setRigPort(std::string rigPort);
void setRigControlMode(bool cMode);
bool getRigControlMode();
void setRigFollowMode(bool fMode);
bool getRigFollowMode();
void setRigEnabled(bool enabled);
bool getRigEnabled();
#endif
void setConfigName(std::string configName);
@@ -122,5 +131,6 @@ private:
#if USE_HAMLIB
std::atomic_int rigModel, rigRate;
std::string rigPort;
std::atomic_bool rigEnabled, rigFollowMode, rigControlMode;
#endif
};