HORIBA C++ SDK
Library for HORIBA devices
Loading...
Searching...
No Matches
horiba::os::Process Class Referenceabstract

Represents a platform agnostic interface for a process. More...

#include <process.h>

Inheritance diagram for horiba::os::Process:

Public Member Functions

virtual ~Process ()=default
 
virtual void start ()=0
 Starts the process if not already started.
 
virtual bool running ()=0
 Returns whether the process is running or not.
 
virtual void stop ()=0
 Stops the process if currently running.
 

Detailed Description

Represents a platform agnostic interface for a process.

Constructor & Destructor Documentation

◆ ~Process()

virtual horiba::os::Process::~Process ( )
virtualdefault

Member Function Documentation

◆ running()

virtual bool horiba::os::Process::running ( )
pure virtual

Returns whether the process is running or not.

Returns
True if the process is running, false otherwise.

Implemented in horiba::os::WindowsProcess.

◆ start()

virtual void horiba::os::Process::start ( )
pure virtual

Starts the process if not already started.

Implemented in horiba::os::WindowsProcess.

◆ stop()

virtual void horiba::os::Process::stop ( )
pure virtual

Stops the process if currently running.

Implemented in horiba::os::WindowsProcess.


The documentation for this class was generated from the following file: