OGRE  1.9.0
OgrePagingPrerequisites.h
Go to the documentation of this file.
1/*
2-----------------------------------------------------------------------------
3This source file is part of OGRE
4(Object-oriented Graphics Rendering Engine)
5For the latest info, see http://www.ogre3d.org/
6
7Copyright (c) 2000-2014 Torus Knot Software Ltd
8
9Permission is hereby granted, free of charge, to any person obtaining a copy
10of this software and associated documentation files (the "Software"), to deal
11in the Software without restriction, including without limitation the rights
12to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
13copies of the Software, and to permit persons to whom the Software is
14furnished to do so, subject to the following conditions:
15
16The above copyright notice and this permission notice shall be included in
17all copies or substantial portions of the Software.
18
19THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
20IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
21FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
22AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
23LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
24OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
25THE SOFTWARE.
26-----------------------------------------------------------------------------
27*/
28
29#ifndef __Ogre_Paging_Prereq_H__
30#define __Ogre_Paging_Prereq_H__
31
32#include "OgrePrerequisites.h"
33
34namespace Ogre
35{
36 // forward decls
39 class Page;
40 class PageConnection;
41 class PageContent;
45 class PagedWorld;
47 class PageManager;
48 class PageStrategy;
49 class PageStrategyData;
50 class PageProvider;
53
54
56
58 typedef uint32 PageID;
59
60}
61
62#if OGRE_PLATFORM == OGRE_PLATFORM_WIN32 || OGRE_PLATFORM == OGRE_PLATFORM_WINRT
63# if defined( OGRE_STATIC_LIB )
64# define _OgrePagingExport
65# else
66# if defined( OGRE_PAGING_EXPORTS )
67# define _OgrePagingExport __declspec( dllexport )
68# else
69# if defined( __MINGW32__ )
70# define _OgrePagingExport
71# else
72# define _OgrePagingExport __declspec( dllimport )
73# endif
74# endif
75# endif
76#elif defined ( OGRE_GCC_VISIBILITY )
77# define _OgrePagingExport __attribute__ ((visibility("default")))
78#else
79# define _OgrePagingExport
80#endif
81
82
83
84#endif
Page strategy which loads new pages based on a regular 2D grid.
Page strategy which loads new pages based on a regular 3D grid.
Define the interface to a factory class that will create subclasses of PageContentCollection.
Definition of the interface for a collection of PageContent instances.
Define the interface to a factory class that will create subclasses of PageContent.
Interface definition for a unit of content within a page.
The PageManager is the entry point through which you load all PagedWorld instances,...
Abstract class that can be implemented by the user application to provide a way to retrieve or genera...
Abstract marker class representing the data held against the PagedWorldSection which is specifically ...
Defines the interface to a strategy class which is responsible for deciding when Page instances are r...
Page class.
Definition OgrePage.h:51
Represents a section of the PagedWorld which uses a given PageStrategy, and which is made up of a gen...
This class represents a collection of pages which make up a world.
Factory class for SimplePageContentCollection.
Specialisation of PageContentCollection which just provides a simple list of PageContent instances.
uint32 PageID
Identifier for a page.
GeneralAllocatedObject PageAlloc
AllocatedObject< GeneralAllocPolicy > GeneralAllocatedObject
unsigned int uint32