idle_detect  0.8.3.0
Provides overall idle detection for a linux computer
Public Member Functions | Public Attributes | List of all members
EventDetect::TtyMonitor::Tty Class Reference

The Tty class is a small class to hold pts/tty information. It is essentially a struct with a parameterized constructor. More...

#include <event_detect.h>

Public Member Functions

 Tty (const fs::path &tty_device_path)
 Parameterized constructor. More...
 

Public Attributes

fs::path m_tty_device_path
 Holds the pts/tty device path.
 
int64_t m_tty_last_active_time
 Holds the last active time of the pts/tty.
 

Detailed Description

The Tty class is a small class to hold pts/tty information. It is essentially a struct with a parameterized constructor.

Constructor & Destructor Documentation

◆ Tty()

TtyMonitor::Tty::Tty ( const fs::path &  tty_device_path)
explicit

Parameterized constructor.

Parameters
tty_device_path

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