libDwm-0.9.45
DwmProcessTable.hh File Reference

Dwm::ProcessTable typedef and utility function prototypes. More...

#include <map>
#include "DwmProcessInfo.hh"
Include dependency graph for DwmProcessTable.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef std::map< pid_t, Dwm::ProcessInfoDwm::ProcessTable
 We represent a process table as a map of Dwm::Process keyed by process ID.
 

Functions

bool Dwm::GetProcessTable (ProcessTable &processTable)
 Fetches the current process table. Returns true on success.
 
bool Dwm::GetProcessInfo (pid_t pid, ProcessInfo &processInfo)
 
bool Dwm::ToJson (const ProcessTable &processTable, nlohmann::json &json)
 
nlohmann::json Dwm::ToJson (const ProcessTable &processTable)
 
std::ostream & operator<< (std::ostream &os, const Dwm::ProcessTable &pt)
 

Detailed Description

Dwm::ProcessTable typedef and utility function prototypes.

Author
Daniel W. McRobb