109 void removeCallback(
int id);
112 void removeAllCallbacks();
The General Function Template.
Definition: Function.h:284
float allCpuUsage
Definition: ProcessMonitor.h:78
undocument this line if you encounter any issues!
Definition: Any.h:37
Class interface for un-copyable classes.
Definition: Uncopyable.h:64
Simple object oriented thread class wrapping the pthread library.
Definition: Thread.h:90
#define ICLUtils_API
this macros are important for creating dll's
Definition: CompatMacros.h:171
Data * m_data
internal data pointer
Definition: ProcessMonitor.h:66
float memoryUsage
Definition: ProcessMonitor.h:79
int numCPUs
Definition: ProcessMonitor.h:80
int numThreads
Definition: ProcessMonitor.h:76
Function< void, const Info & > Callback
callback function/functor type
Definition: ProcessMonitor.h:102
float cpuUsage
Definition: ProcessMonitor.h:77
ICLUtils_API std::ostream & operator<<(std::ostream &s, const ConfigFile &cf)
Default ostream operator to put a ConfigFile into a stream.
The ProcessMonitor class grants access to processes memory and CPU usage.
Definition: ProcessMonitor.h:64
int pid
Definition: ProcessMonitor.h:75
Utility struct, that is used to pass available information at once.
Definition: ProcessMonitor.h:74