Sha256: a2b066caf13dcf6328eed0b6045ffc6a0074192d0f53b309a197837e8f338f03

Contents?: true

Size: 1.05 KB

Versions: 7

Compression:

Stored size: 1.05 KB

Contents

#ifndef ORIGEN_TEST_METHOD_FREQUENCY_MEASUREMENT_INCLUDED
#define ORIGEN_TEST_METHOD_FREQUENCY_MEASUREMENT_INCLUDED

#include "base.hpp"
#include "mapi.hpp"
#include "rdi.hpp"

using namespace std;

namespace Origen {
namespace TestMethod {

class FrequencyMeasurement: public Base  {
    void serialProcessing(int site);

    int _periodBased;
    string _pin;
    int _samples;
    int _periodInNs;
    int _processResults;

public:
    FrequencyMeasurement();
    virtual ~FrequencyMeasurement();
    void SMC_backgroundProcessing();
    void execute();

    FrequencyMeasurement & periodBased(int v);
    FrequencyMeasurement & pin(string v);
    FrequencyMeasurement & samples(int v);
    FrequencyMeasurement & periodInNs(int v);
    FrequencyMeasurement & processResults(int v);

protected:
    FrequencyMeasurement & getThis();

    // Internal variables, declared outside the the execute function body since
    // they may be useful in callback functions
    ARRAY_I activeSites;
    string testSuiteName;
    string label;
    vector<int> funcResults;

};

}
}
#endif

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
origen_std_lib-0.10.1 stdlib/v93k/origen/origen/test_method/frequency_measurement.hpp
origen_std_lib-0.10.0 stdlib/v93k/origen/origen/test_method/frequency_measurement.hpp
origen_std_lib-0.9.0 stdlib/v93k/origen/origen/test_method/frequency_measurement.hpp
origen_std_lib-0.8.3 stdlib/v93k/origen/origen/test_method/frequency_measurement.hpp
origen_std_lib-0.8.2 stdlib/v93k/origen/origen/test_method/frequency_measurement.hpp
origen_std_lib-0.8.1 stdlib/v93k/origen/origen/test_method/frequency_measurement.hpp
origen_std_lib-0.8.0 stdlib/v93k/origen/origen/test_method/frequency_measurement.hpp