HORIBA C++ SDK
Library for HORIBA devices
Loading...
Searching...
No Matches
process.h
Go to the documentation of this file.
1#ifndef PROCESS_H
2#define PROCESS_H
3
4namespace horiba::os {
5
9class Process {
10 public:
11 virtual ~Process() = default;
12
16 virtual void start() = 0;
17
23 virtual bool running() = 0;
24
28 virtual void stop() = 0;
29};
30
31} /* namespace horiba::os */
32#endif /* ifndef PROCESS_H */
Represents a platform agnostic interface for a process.
Definition process.h:9
virtual ~Process()=default
virtual void stop()=0
Stops the process if currently running.
virtual bool running()=0
Returns whether the process is running or not.
virtual void start()=0
Starts the process if not already started.
Definition process.h:4