\hypertarget{class_wheelchair_control_w_m_1_1_device_power_management}{\section{Wheelchair\-Control\-W\-M.\-Device\-Power\-Management Class Reference}
\label{class_wheelchair_control_w_m_1_1_device_power_management}\index{Wheelchair\-Control\-W\-M.\-Device\-Power\-Management@{Wheelchair\-Control\-W\-M.\-Device\-Power\-Management}}
}


Class to invoke unmanaged core dlls responsible for device power management.  


\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
static void \hyperlink{class_wheelchair_control_w_m_1_1_device_power_management_a664eec68fee75310f2f54dada9724589}{Reset\-Idle\-Timer} ()
\begin{DoxyCompactList}\small\item\em Reset internal system idle timer. Set power on state. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Types}
\begin{DoxyCompactItemize}
\item 
enum \hyperlink{class_wheelchair_control_w_m_1_1_device_power_management_a5d454fa0cb814ffe71a710f577ea24da}{power\-State} \-: int \{ \hyperlink{class_wheelchair_control_w_m_1_1_device_power_management_a5d454fa0cb814ffe71a710f577ea24daabeae1c4fc57b550de5ae1cbfb00fbf7b}{P\-O\-W\-E\-R\-\_\-\-S\-T\-A\-T\-E\-\_\-\-O\-N} = 0x10000, 
\hyperlink{class_wheelchair_control_w_m_1_1_device_power_management_a5d454fa0cb814ffe71a710f577ea24daa80bc6608e7302b3184f34f58d070d7dd}{P\-O\-W\-E\-R\-\_\-\-S\-T\-A\-T\-E\-\_\-\-O\-F\-F} = 0x20000, 
\hyperlink{class_wheelchair_control_w_m_1_1_device_power_management_a5d454fa0cb814ffe71a710f577ea24daa88146db528ef3e90c06943ed79ec41d5}{P\-O\-W\-E\-R\-\_\-\-S\-T\-A\-T\-E\-\_\-\-S\-U\-S\-P\-E\-N\-D} = 0x200000, 
\hyperlink{class_wheelchair_control_w_m_1_1_device_power_management_a5d454fa0cb814ffe71a710f577ea24daa00760820847cdb2f6cdeaa152b4a43e4}{P\-O\-W\-E\-R\-\_\-\-F\-O\-R\-C\-E} = 4096
 \}
\begin{DoxyCompactList}\small\item\em Power state codes. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item 
static void \hyperlink{class_wheelchair_control_w_m_1_1_device_power_management_a26680e262c2ec9bdbfb7dafb50374d95}{System\-Idle\-Timer\-Reset} ()
\begin{DoxyCompactList}\small\item\em Core function to reset system idle timer. \end{DoxyCompactList}\item 
static int \hyperlink{class_wheelchair_control_w_m_1_1_device_power_management_a3016ae6cf12b989428647ce2045a7b8d}{Set\-System\-Power\-State} (string pwr\-State, int pwr\-State\-Flags, int options)
\begin{DoxyCompactList}\small\item\em Core funcion to set system power state. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Class to invoke unmanaged core dlls responsible for device power management. 



Definition at line 8 of file Device\-Power\-Management.\-cs.



\subsection{Member Enumeration Documentation}
\hypertarget{class_wheelchair_control_w_m_1_1_device_power_management_a5d454fa0cb814ffe71a710f577ea24da}{\index{Wheelchair\-Control\-W\-M\-::\-Device\-Power\-Management@{Wheelchair\-Control\-W\-M\-::\-Device\-Power\-Management}!power\-State@{power\-State}}
\index{power\-State@{power\-State}!WheelchairControlWM::DevicePowerManagement@{Wheelchair\-Control\-W\-M\-::\-Device\-Power\-Management}}
\subsubsection[{power\-State}]{\setlength{\rightskip}{0pt plus 5cm}enum {\bf Wheelchair\-Control\-W\-M.\-Device\-Power\-Management.\-power\-State} \-: int\hspace{0.3cm}{\ttfamily [private]}}}\label{class_wheelchair_control_w_m_1_1_device_power_management_a5d454fa0cb814ffe71a710f577ea24da}


Power state codes. 

\begin{Desc}
\item[Enumerator]\par
\begin{description}
\index{P\-O\-W\-E\-R\-\_\-\-S\-T\-A\-T\-E\-\_\-\-O\-N@{P\-O\-W\-E\-R\-\_\-\-S\-T\-A\-T\-E\-\_\-\-O\-N}!Wheelchair\-Control\-W\-M\-::\-Device\-Power\-Management@{Wheelchair\-Control\-W\-M\-::\-Device\-Power\-Management}}\index{Wheelchair\-Control\-W\-M\-::\-Device\-Power\-Management@{Wheelchair\-Control\-W\-M\-::\-Device\-Power\-Management}!P\-O\-W\-E\-R\-\_\-\-S\-T\-A\-T\-E\-\_\-\-O\-N@{P\-O\-W\-E\-R\-\_\-\-S\-T\-A\-T\-E\-\_\-\-O\-N}}\item[{\em 
\hypertarget{class_wheelchair_control_w_m_1_1_device_power_management_a5d454fa0cb814ffe71a710f577ea24daabeae1c4fc57b550de5ae1cbfb00fbf7b}{P\-O\-W\-E\-R\-\_\-\-S\-T\-A\-T\-E\-\_\-\-O\-N}\label{class_wheelchair_control_w_m_1_1_device_power_management_a5d454fa0cb814ffe71a710f577ea24daabeae1c4fc57b550de5ae1cbfb00fbf7b}
}]Device on. \index{P\-O\-W\-E\-R\-\_\-\-S\-T\-A\-T\-E\-\_\-\-O\-F\-F@{P\-O\-W\-E\-R\-\_\-\-S\-T\-A\-T\-E\-\_\-\-O\-F\-F}!Wheelchair\-Control\-W\-M\-::\-Device\-Power\-Management@{Wheelchair\-Control\-W\-M\-::\-Device\-Power\-Management}}\index{Wheelchair\-Control\-W\-M\-::\-Device\-Power\-Management@{Wheelchair\-Control\-W\-M\-::\-Device\-Power\-Management}!P\-O\-W\-E\-R\-\_\-\-S\-T\-A\-T\-E\-\_\-\-O\-F\-F@{P\-O\-W\-E\-R\-\_\-\-S\-T\-A\-T\-E\-\_\-\-O\-F\-F}}\item[{\em 
\hypertarget{class_wheelchair_control_w_m_1_1_device_power_management_a5d454fa0cb814ffe71a710f577ea24daa80bc6608e7302b3184f34f58d070d7dd}{P\-O\-W\-E\-R\-\_\-\-S\-T\-A\-T\-E\-\_\-\-O\-F\-F}\label{class_wheelchair_control_w_m_1_1_device_power_management_a5d454fa0cb814ffe71a710f577ea24daa80bc6608e7302b3184f34f58d070d7dd}
}]Deivce of. \index{P\-O\-W\-E\-R\-\_\-\-S\-T\-A\-T\-E\-\_\-\-S\-U\-S\-P\-E\-N\-D@{P\-O\-W\-E\-R\-\_\-\-S\-T\-A\-T\-E\-\_\-\-S\-U\-S\-P\-E\-N\-D}!Wheelchair\-Control\-W\-M\-::\-Device\-Power\-Management@{Wheelchair\-Control\-W\-M\-::\-Device\-Power\-Management}}\index{Wheelchair\-Control\-W\-M\-::\-Device\-Power\-Management@{Wheelchair\-Control\-W\-M\-::\-Device\-Power\-Management}!P\-O\-W\-E\-R\-\_\-\-S\-T\-A\-T\-E\-\_\-\-S\-U\-S\-P\-E\-N\-D@{P\-O\-W\-E\-R\-\_\-\-S\-T\-A\-T\-E\-\_\-\-S\-U\-S\-P\-E\-N\-D}}\item[{\em 
\hypertarget{class_wheelchair_control_w_m_1_1_device_power_management_a5d454fa0cb814ffe71a710f577ea24daa88146db528ef3e90c06943ed79ec41d5}{P\-O\-W\-E\-R\-\_\-\-S\-T\-A\-T\-E\-\_\-\-S\-U\-S\-P\-E\-N\-D}\label{class_wheelchair_control_w_m_1_1_device_power_management_a5d454fa0cb814ffe71a710f577ea24daa88146db528ef3e90c06943ed79ec41d5}
}]Device suspended (on power button short press). \index{P\-O\-W\-E\-R\-\_\-\-F\-O\-R\-C\-E@{P\-O\-W\-E\-R\-\_\-\-F\-O\-R\-C\-E}!Wheelchair\-Control\-W\-M\-::\-Device\-Power\-Management@{Wheelchair\-Control\-W\-M\-::\-Device\-Power\-Management}}\index{Wheelchair\-Control\-W\-M\-::\-Device\-Power\-Management@{Wheelchair\-Control\-W\-M\-::\-Device\-Power\-Management}!P\-O\-W\-E\-R\-\_\-\-F\-O\-R\-C\-E@{P\-O\-W\-E\-R\-\_\-\-F\-O\-R\-C\-E}}\item[{\em 
\hypertarget{class_wheelchair_control_w_m_1_1_device_power_management_a5d454fa0cb814ffe71a710f577ea24daa00760820847cdb2f6cdeaa152b4a43e4}{P\-O\-W\-E\-R\-\_\-\-F\-O\-R\-C\-E}\label{class_wheelchair_control_w_m_1_1_device_power_management_a5d454fa0cb814ffe71a710f577ea24daa00760820847cdb2f6cdeaa152b4a43e4}
}]Flag set to force new power mode regardless of device global settings. \end{description}
\end{Desc}


Definition at line 31 of file Device\-Power\-Management.\-cs.



\subsection{Member Function Documentation}
\hypertarget{class_wheelchair_control_w_m_1_1_device_power_management_a664eec68fee75310f2f54dada9724589}{\index{Wheelchair\-Control\-W\-M\-::\-Device\-Power\-Management@{Wheelchair\-Control\-W\-M\-::\-Device\-Power\-Management}!Reset\-Idle\-Timer@{Reset\-Idle\-Timer}}
\index{Reset\-Idle\-Timer@{Reset\-Idle\-Timer}!WheelchairControlWM::DevicePowerManagement@{Wheelchair\-Control\-W\-M\-::\-Device\-Power\-Management}}
\subsubsection[{Reset\-Idle\-Timer}]{\setlength{\rightskip}{0pt plus 5cm}static void Wheelchair\-Control\-W\-M.\-Device\-Power\-Management.\-Reset\-Idle\-Timer (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [static]}}}\label{class_wheelchair_control_w_m_1_1_device_power_management_a664eec68fee75310f2f54dada9724589}


Reset internal system idle timer. Set power on state. 

\begin{DoxySeeAlso}{See Also}
\hyperlink{class_wheelchair_control_w_m_1_1_device_power_management_a5d454fa0cb814ffe71a710f577ea24da}{power\-State}


\end{DoxySeeAlso}


Definition at line 58 of file Device\-Power\-Management.\-cs.

\hypertarget{class_wheelchair_control_w_m_1_1_device_power_management_a3016ae6cf12b989428647ce2045a7b8d}{\index{Wheelchair\-Control\-W\-M\-::\-Device\-Power\-Management@{Wheelchair\-Control\-W\-M\-::\-Device\-Power\-Management}!Set\-System\-Power\-State@{Set\-System\-Power\-State}}
\index{Set\-System\-Power\-State@{Set\-System\-Power\-State}!WheelchairControlWM::DevicePowerManagement@{Wheelchair\-Control\-W\-M\-::\-Device\-Power\-Management}}
\subsubsection[{Set\-System\-Power\-State}]{\setlength{\rightskip}{0pt plus 5cm}static int Wheelchair\-Control\-W\-M.\-Device\-Power\-Management.\-Set\-System\-Power\-State (
\begin{DoxyParamCaption}
\item[{string}]{pwr\-State, }
\item[{int}]{pwr\-State\-Flags, }
\item[{int}]{options}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [private]}}}\label{class_wheelchair_control_w_m_1_1_device_power_management_a3016ae6cf12b989428647ce2045a7b8d}


Core funcion to set system power state. 


\begin{DoxyParams}{Parameters}
{\em pwr\-State} & Desired power state.\\
\hline
{\em pwr\-State\-Flags} & Power state flasgs.\\
\hline
{\em options} & Misc. options.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Status code.
\end{DoxyReturn}
\begin{DoxySeeAlso}{See Also}
\hyperlink{class_wheelchair_control_w_m_1_1_device_power_management_a5d454fa0cb814ffe71a710f577ea24da}{power\-State}


\end{DoxySeeAlso}
\hypertarget{class_wheelchair_control_w_m_1_1_device_power_management_a26680e262c2ec9bdbfb7dafb50374d95}{\index{Wheelchair\-Control\-W\-M\-::\-Device\-Power\-Management@{Wheelchair\-Control\-W\-M\-::\-Device\-Power\-Management}!System\-Idle\-Timer\-Reset@{System\-Idle\-Timer\-Reset}}
\index{System\-Idle\-Timer\-Reset@{System\-Idle\-Timer\-Reset}!WheelchairControlWM::DevicePowerManagement@{Wheelchair\-Control\-W\-M\-::\-Device\-Power\-Management}}
\subsubsection[{System\-Idle\-Timer\-Reset}]{\setlength{\rightskip}{0pt plus 5cm}static void Wheelchair\-Control\-W\-M.\-Device\-Power\-Management.\-System\-Idle\-Timer\-Reset (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [private]}}}\label{class_wheelchair_control_w_m_1_1_device_power_management_a26680e262c2ec9bdbfb7dafb50374d95}


Core function to reset system idle timer. 



The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
C\-:/\-Users/\-Ondra/\-Desktop/\-Wheelchair Control W\-M/Device\-Power\-Management.\-cs\end{DoxyCompactItemize}
