HORIBA C++ SDK
Library for HORIBA devices
Loading...
Searching...
No Matches
windows_process.h
Go to the documentation of this file.
1#ifndef WINDOWS_PROCESS_H
2#define WINDOWS_PROCESS_H
3
5
6#include <string>
7
8namespace horiba::os {
12class WindowsProcess : public Process {
13 public:
20 explicit WindowsProcess(std::string process_path, std::string process_name);
21
25 void start() override;
26
32 bool running() override;
33
37 void stop() override;
38
39 private:
40 std::string process_path;
41 std::string process_name;
42};
43} /* namespace horiba::os */
44
45#endif /* ifndef WINDOWS_PROCESS_H */
Represents a platform agnostic interface for a process.
Definition process.h:9
bool running() override
Returns whether the process is running or not.
void stop() override
Stops the process if currently running.
void start() override
Starts the process if not already started.
WindowsProcess(std::string process_path, std::string process_name)
Builds a Windows process.
Definition process.h:4