Berkeley Nuclear Data Software
StepnetMotorSettings.h
Go to the documentation of this file.
1 #ifndef _STEPPER_MOTOR_SETTINGS_
4 #define _STEPPER_MOTOR_SETTINGS_
5 
6 //c++
7 #include <map>
8 #include <vector>
9 #include <string>
10 #include <iostream>
11 #include <fstream>
12 namespace NSDInstControl
13 {
15  {
16  public:
17 
20  std::map<std::string,std::vector<std::string> >m_information;
21 
25  void printConfig(std::string a_motorName,
26  std::ostream& a_stream = std::cout
27  ) const ;
29  void writeConfigFile(std::string a_motorName,
30  std::string a_fileName = "motorConfig.dat"
31  );
32  void readConfigFile(std::string a_motorName,
33  std::string a_fileName
34  );
35 
36  private:
37  void init();
38  };
39 }
40 
41 #endif
Definition: StepnetMotorSettings.h:15
void writeConfigFile(std::string a_motorName, std::string a_fileName="motorConfig.dat")
write configFile
Definition: StepnetMotorSettings.cpp:68
void printConfig(std::string a_motorName, std::ostream &a_stream=std::cout) const
Definition: StepnetMotorSettings.cpp:54
void readConfigFile(std::string a_motorName, std::string a_fileName)
Definition: StepnetMotorSettings.cpp:79
StepnetMotorSettings()
put the class into a default state ready to pitch parameters
Definition: StepnetMotorSettings.cpp:10
std::map< std::string, std::vector< std::string > > m_information
Definition: StepnetMotorSettings.h:20
CONF:HVMICC? is required before switching high voltage on.
Definition: bk9174BControl.h:9