Origen V93K SMT7 Library
 All Classes Namespaces Files Functions Variables Typedefs Macros
frequency_measurement.hpp
Go to the documentation of this file.
1 #ifndef ORIGEN_TEST_METHOD_FREQUENCY_MEASUREMENT_INCLUDED
2 #define ORIGEN_TEST_METHOD_FREQUENCY_MEASUREMENT_INCLUDED
3 
4 #include "base.hpp"
5 #include "mapi.hpp"
6 #include "rdi.hpp"
7 
8 using namespace std;
9 
10 namespace Origen {
11 namespace TestMethod {
12 
13 class FrequencyMeasurement : public Base {
14  void serialProcessing(int site);
15 
16  int _periodBased;
17  string _pin;
18  string _port;
19  int _samples;
20  int _periodInNs;
21  int _processResults;
22 
23  public:
25  virtual ~FrequencyMeasurement();
26  void SMC_backgroundProcessing();
27 
28  FrequencyMeasurement& periodBased(int v);
29  FrequencyMeasurement& pin(string v);
30  FrequencyMeasurement& port(string v);
31  FrequencyMeasurement& samples(int v);
32  FrequencyMeasurement& periodInNs(int v);
33  FrequencyMeasurement& processResults(int v);
34 
35  protected:
37  FrequencyMeasurement& getThis();
38  void _setup();
39  void _execute();
40 
41  string label;
42  vector<int> funcResults;
43 };
44 }
45 }
46 #endif
FrequencyMeasurement super
Definition: frequency_measurement.hpp:36
Definition: base.hpp:13
Site & site()
Definition: origen.cpp:13
vector< int > funcResults
Definition: frequency_measurement.hpp:42
Definition: frequency_measurement.hpp:13
string label
Definition: frequency_measurement.hpp:41