\doxysection{State\+Representation.\+hpp}
\hypertarget{StateRepresentation_8hpp_source}{}\label{StateRepresentation_8hpp_source}\index{/home/chr/devel/PhD/Environment/pub/PCBEnv/pcbenv/cxx/RL/StateRepresentation.hpp@{/home/chr/devel/PhD/Environment/pub/PCBEnv/pcbenv/cxx/RL/StateRepresentation.hpp}}

\begin{DoxyCode}{0}
\DoxyCodeLine{00001\ }
\DoxyCodeLine{00002\ \textcolor{preprocessor}{\#ifndef\ GYM\_PCB\_RL\_STATEREPRESENTATION\_H}}
\DoxyCodeLine{00003\ \textcolor{preprocessor}{\#define\ GYM\_PCB\_RL\_STATEREPRESENTATION\_H}}
\DoxyCodeLine{00004\ }
\DoxyCodeLine{00005\ \textcolor{preprocessor}{\#include\ "{}Py.hpp"{}}}
\DoxyCodeLine{00006\ }
\DoxyCodeLine{00007\ \textcolor{keyword}{class\ }\mbox{\hyperlink{classAction}{Action}};}
\DoxyCodeLine{00008\ \textcolor{keyword}{class\ }\mbox{\hyperlink{classPCBoard}{PCBoard}};}
\DoxyCodeLine{00009\ \textcolor{keyword}{class\ }\mbox{\hyperlink{classConnection}{Connection}};}
\DoxyCodeLine{00010\ }
\DoxyCodeLine{00013\ }
\DoxyCodeLine{00015\ }
\DoxyCodeLine{00016\ \textcolor{keyword}{class\ }\mbox{\hyperlink{classStateRepresentation}{StateRepresentation}}}
\DoxyCodeLine{00017\ \{}
\DoxyCodeLine{00018\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00020\ \ \ \ \ \textcolor{keyword}{static}\ \mbox{\hyperlink{classStateRepresentation}{StateRepresentation}}\ *\mbox{\hyperlink{classStateRepresentation_ad2cb6dfe68065ebfeb0ea1e27aabe512}{create}}(PyObject\ *);}
\DoxyCodeLine{00021\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00022\ \ \ \ \ \textcolor{keyword}{virtual}\ PyObject\ *getPy(PyObject\ *args)\ \{\ \textcolor{keywordflow}{return}\ py::None();\ \}}
\DoxyCodeLine{00023\ }
\DoxyCodeLine{00024\ \ \ \ \ \textcolor{keyword}{virtual}\ \textcolor{keywordtype}{void}\ init(\mbox{\hyperlink{classPCBoard}{PCBoard}}\ \&PCB)\ \{\ mPCB\ =\ \&PCB;\ \}}
\DoxyCodeLine{00025\ \ \ \ \ \textcolor{keyword}{virtual}\ \string~StateRepresentation()\ \{\ \}}
\DoxyCodeLine{00026\ \ \ \ \ \textcolor{keyword}{virtual}\ \textcolor{keywordtype}{void}\ reset()\ \{\ \}}
\DoxyCodeLine{00027\ \ \ \ \ \textcolor{keyword}{virtual}\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{char}\ *name()\textcolor{keyword}{\ const\ }\{\ \textcolor{keywordflow}{return}\ \textcolor{stringliteral}{"{}"{}};\ \}}
\DoxyCodeLine{00028\ }
\DoxyCodeLine{00031\ \ \ \ \ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{classStateRepresentation_ae22071172f30ac4d05baca3422d133c6}{setFocus}}(\textcolor{keyword}{const}\ Connection\ *);}
\DoxyCodeLine{00032\ }
\DoxyCodeLine{00033\ \ \ \ \ \textcolor{keyword}{virtual}\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{classStateRepresentation_ae22071172f30ac4d05baca3422d133c6}{setFocus}}(\textcolor{keyword}{const}\ std::vector<Connection\ *>\ *)\ \{\ \}}
\DoxyCodeLine{00034\ }
\DoxyCodeLine{00035\ \ \ \ \ \textcolor{keyword}{virtual}\ \textcolor{keywordtype}{void}\ updateView(\textcolor{keyword}{const}\ Bbox\_2\ *\ =\ 0)\ \{\ \}}
\DoxyCodeLine{00036\ }
\DoxyCodeLine{00037\ \ \ \ \ \textcolor{keywordtype}{void}\ setLockedView(\textcolor{keywordtype}{bool}\ v)\ \{\ mLockedView\ =\ v;\ \}}
\DoxyCodeLine{00038\ }
\DoxyCodeLine{00040\ \ \ \ \ \textcolor{keyword}{virtual}\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{classStateRepresentation_a96b326785a81b13d7bb1261cbbaa7f83}{logAction}}(\textcolor{keyword}{const}\ \mbox{\hyperlink{classAction}{Action}}\ *)\ \{\ \}}
\DoxyCodeLine{00041\ \textcolor{keyword}{protected}:}
\DoxyCodeLine{00042\ \ \ \ \ \mbox{\hyperlink{classPCBoard}{PCBoard}}\ *mPCB\{0\};}
\DoxyCodeLine{00043\ \ \ \ \ \textcolor{keyword}{const}\ Connection\ *mFocus\{0\};}
\DoxyCodeLine{00044\ \ \ \ \ \textcolor{keywordtype}{bool}\ mLockedView\{\textcolor{keyword}{false}\};}
\DoxyCodeLine{00045\ \};}
\DoxyCodeLine{00046\ }
\DoxyCodeLine{00047\ \textcolor{keyword}{inline}\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{classStateRepresentation_ae22071172f30ac4d05baca3422d133c6}{StateRepresentation::setFocus}}(\textcolor{keyword}{const}\ \mbox{\hyperlink{classConnection}{Connection}}\ *X)}
\DoxyCodeLine{00048\ \{}
\DoxyCodeLine{00049\ \ \ \ \ mFocus\ =\ X;}
\DoxyCodeLine{00050\ \}}
\DoxyCodeLine{00051\ }
\DoxyCodeLine{00052\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{//\ GYM\_PCB\_RL\_STATEREPRESENTATION\_H}}

\end{DoxyCode}
