\hypertarget{class_ogre_1_1_page_strategy}{}\doxysection{Ogre\+::Page\+Strategy Class Reference}
\label{class_ogre_1_1_page_strategy}\index{Ogre::PageStrategy@{Ogre::PageStrategy}}


Defines the interface to a strategy class which is responsible for deciding when \mbox{\hyperlink{class_ogre_1_1_page}{Page}} instances are requested for addition and removal from the paging system.  




{\ttfamily \#include $<$Ogre\+Page\+Strategy.\+h$>$}



Inheritance diagram for Ogre\+::Page\+Strategy\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{class_ogre_1_1_page_strategy__inherit__graph}
\end{center}
\end{figure}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{group___paging_ga45203e73d8cf17040469d99b89148f2a}{Page\+Strategy}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name, \mbox{\hyperlink{class_ogre_1_1_page_manager}{Page\+Manager}} $\ast$manager)
\item 
virtual \mbox{\hyperlink{group___paging_gaadbd8fbf0c1aa1703c4d34f1011a4ff5}{$\sim$\+Page\+Strategy}} ()
\item 
virtual \mbox{\hyperlink{class_ogre_1_1_page_strategy_data}{Page\+Strategy\+Data}} $\ast$ \mbox{\hyperlink{group___paging_ga1f3ee75de1ece00f1d8dc5f1eb92832e}{create\+Data}} () \mbox{\hyperlink{_ogre_platform_8h_a11162eebee0099930c48076229cc6f04}{O\+G\+R\+E\+\_\+\+N\+O\+D\+I\+S\+C\+A\+RD}}=0
\begin{DoxyCompactList}\small\item\em Create a \mbox{\hyperlink{class_ogre_1_1_page_strategy_data}{Page\+Strategy\+Data}} instance containing the data specific to this \mbox{\hyperlink{class_ogre_1_1_page_strategy}{Page\+Strategy}}. \end{DoxyCompactList}\item 
virtual void \mbox{\hyperlink{group___paging_ga90dd9281a8804b6332a6fa477a950186}{destroy\+Data}} (\mbox{\hyperlink{class_ogre_1_1_page_strategy_data}{Page\+Strategy\+Data}} $\ast$d)=0
\begin{DoxyCompactList}\small\item\em Destroy a \mbox{\hyperlink{class_ogre_1_1_page_strategy_data}{Page\+Strategy\+Data}} instance containing the data specific to this \mbox{\hyperlink{class_ogre_1_1_page_strategy}{Page\+Strategy}}. \end{DoxyCompactList}\item 
virtual void \mbox{\hyperlink{group___paging_ga1990d8b1110ac0555e3ec18da77675b8}{frame\+End}} (\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} time\+Elapsed, \mbox{\hyperlink{class_ogre_1_1_paged_world_section}{Paged\+World\+Section}} $\ast$section)
\begin{DoxyCompactList}\small\item\em Called when the frame ends. \end{DoxyCompactList}\item 
virtual void \mbox{\hyperlink{group___paging_gadb6fc9f82a8ea955971b46c052a151af}{frame\+Start}} (\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} time\+Since\+Last\+Frame, \mbox{\hyperlink{class_ogre_1_1_paged_world_section}{Paged\+World\+Section}} $\ast$section)
\begin{DoxyCompactList}\small\item\em Called when the frame starts. \end{DoxyCompactList}\item 
\mbox{\hyperlink{class_ogre_1_1_page_manager}{Page\+Manager}} $\ast$ \mbox{\hyperlink{group___paging_ga79dc7f55274f677dac8bf64798f4bbea}{get\+Manager}} () const
\item 
const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \& \mbox{\hyperlink{group___paging_ga1b175f0b77c05ed13df9d917b71c6a31}{get\+Name}} () const
\item 
virtual \mbox{\hyperlink{namespace_ogre_a5126a9c9fbccbfe4c78070263098acb2}{Page\+ID}} \mbox{\hyperlink{group___paging_ga78f9813d951ab38b1ebbae6b0f807df6}{get\+Page\+ID}} (const \mbox{\hyperlink{namespace_ogre_ac94fc4008c1165dea017263fee56b273}{Vector3}} \&world\+Pos, \mbox{\hyperlink{class_ogre_1_1_paged_world_section}{Paged\+World\+Section}} $\ast$section)=0
\begin{DoxyCompactList}\small\item\em Get the page ID for a given world position. \end{DoxyCompactList}\item 
virtual void \mbox{\hyperlink{group___paging_gaa3db993f4446cb811e094c8ad0ab23df}{notify\+Camera}} (\mbox{\hyperlink{class_ogre_1_1_camera}{Camera}} $\ast$cam, \mbox{\hyperlink{class_ogre_1_1_paged_world_section}{Paged\+World\+Section}} $\ast$section)
\begin{DoxyCompactList}\small\item\em Called when a camera is used for any kind of rendering. \end{DoxyCompactList}\item 
virtual void \mbox{\hyperlink{group___paging_ga96e254ffc49131053601b8f17e4054f8}{update\+Debug\+Display}} (\mbox{\hyperlink{class_ogre_1_1_page}{Page}} $\ast$p, \mbox{\hyperlink{class_ogre_1_1_scene_node}{Scene\+Node}} $\ast$sn)=0
\begin{DoxyCompactList}\small\item\em Update the contents of the passed in \mbox{\hyperlink{class_ogre_1_1_scene_node}{Scene\+Node}} to reflect the debug display of a given page. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Defines the interface to a strategy class which is responsible for deciding when \mbox{\hyperlink{class_ogre_1_1_page}{Page}} instances are requested for addition and removal from the paging system. 

\begin{DoxyRemark}{Remarks}
The interface is deliberately light, with no specific mention of requesting new \mbox{\hyperlink{class_ogre_1_1_page}{Page}} instances. It is entirely up to the \mbox{\hyperlink{class_ogre_1_1_page_strategy}{Page\+Strategy}} to respond to the events raised on it and to call methods on other classes (such as requesting new pages). 
\end{DoxyRemark}


The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{_ogre_page_strategy_8h}{Ogre\+Page\+Strategy.\+h}}\end{DoxyCompactItemize}
