odin-detector/odin-data

View on GitHub
cpp/frameSimulator/include/FrameSimulatorOptions.h

Summary

Maintainability
Test Coverage
#ifndef FRAMESIMULATOR_FRAMESIMULATOROPTIONS_H
#define FRAMESIMULATOR_FRAMESIMULATOROPTIONS_H

#include "FrameSimulatorOption.h"
#include <string>

namespace FrameSimulator {

    /** Global / common frame simulator options
     * used by all plugins
     */
    static const FrameSimulatorOption<std::string> opt_ports("ports", "Provide a (comma separated) port list", "9999");
    static const FrameSimulatorOption<int> opt_frames("frames", "Number of frames (-1 sends all frames)", 1000);
    static const FrameSimulatorOption<float> opt_interval("interval", "Transmission interval between frames (s)", 0.02);

}

#endif