# OgrePrerequisites.h File Reference

`#include "OgrePlatform.h"`
`#include "OgreStdHeaders.h"`
`#include "OgreMemoryManager.h"`

Go to the source code of this file.

## Namespaces

namespace | Ogre

## Defines

#define | OGRE_FORCE_ANGLE_TYPES
#define | OGRE_VERSION_MAJOR 1
#define | OGRE_VERSION_MINOR 0
#define | OGRE_VERSION_PATCH 7
#define | OGRE_VERSION_NAME "Azathoth"
#define | OgreChar char
#define | _TO_CHAR(x) x
#define | HashMap ::std::hash_map
#define | OGRE_DELETE(p) { if(p) { delete (p); (p)=NULL; } }
| Useful macros.
#define | OGRE_DELETE_ARRAY(p) { if(p) { delete[] (p); (p)=NULL; } }
#define | OGRE_AUTO_MUTEX_NAME mutex
#define | OGRE_AUTO_MUTEX
#define | OGRE_LOCK_AUTO_MUTEX
#define | OGRE_MUTEX(name)
#define | OGRE_LOCK_MUTEX(name)
#define | OGRE_AUTO_SHARED_MUTEX
#define | OGRE_LOCK_AUTO_SHARED_MUTEX
#define | OGRE_NEW_AUTO_SHARED_MUTEX
#define | OGRE_DELETE_AUTO_SHARED_MUTEX
#define | OGRE_COPY_AUTO_SHARED_MUTEX(from)

## Define Documentation

#define _TO_CHAR | ( | x |  | ) | x

| Definition at line 120 of file OgrePrerequisites.h.

#define HashMap ::std::hash_map

| Definition at line 133 of file OgrePrerequisites.h.

#define OGRE_AUTO_MUTEX

| Definition at line 170 of file OgrePrerequisites.h.

#define OGRE_AUTO_MUTEX_NAME mutex

| Definition at line 157 of file OgrePrerequisites.h.

#define OGRE_AUTO_SHARED_MUTEX

| Definition at line 174 of file OgrePrerequisites.h.

#define OGRE_COPY_AUTO_SHARED_MUTEX | ( | from |  | ) |

Definition at line 178 of file OgrePrerequisites.h.

Referenced by Ogre::BspLevelPtr::BspLevelPtr(), Ogre::D3D9GpuProgramPtr::D3D9GpuProgramPtr(), Ogre::D3D9TexturePtr::D3D9TexturePtr(), Ogre::D3DTexturePtr::D3DTexturePtr(), Ogre::FontPtr::FontPtr(), Ogre::GLTexturePtr::GLTexturePtr(), Ogre::HighLevelGpuProgramPtr::HighLevelGpuProgramPtr(), Ogre::MaterialPtr::MaterialPtr(), Ogre::TexturePtr::operator=(), Ogre::SkeletonPtr::operator=(), Ogre::SharedPtr< Skeleton >::operator=(), Ogre::PatchMeshPtr::operator=(), Ogre::MaterialPtr::operator=(), Ogre::HighLevelGpuProgramPtr::operator=(), Ogre::GpuProgramPtr::operator=(), Ogre::GLTexturePtr::operator=(), Ogre::FontPtr::operator=(), Ogre::D3D9TexturePtr::operator=(), Ogre::D3D9GpuProgramPtr::operator=(), Ogre::D3DTexturePtr::operator=(), Ogre::BspLevelPtr::operator=(), Ogre::PatchMeshPtr::PatchMeshPtr(), Ogre::SharedPtr< Skeleton >::setNull(), Ogre::SharedPtr< Skeleton >::SharedPtr(), Ogre::SkeletonPtr::SkeletonPtr(), and Ogre::TexturePtr::TexturePtr().

#define OGRE_DELETE | ( | p |  | ) | { if(p) { delete (p); (p)=NULL; } }

| Useful macros. Definition at line 145 of file OgrePrerequisites.h.

#define OGRE_DELETE_ARRAY | ( | p |  | ) | { if(p) { delete[] (p); (p)=NULL; } }

| Definition at line 146 of file OgrePrerequisites.h.

#define OGRE_DELETE_AUTO_SHARED_MUTEX

| Definition at line 177 of file OgrePrerequisites.h. Referenced by Ogre::SharedPtr< Skeleton >::destroy().

#define OGRE_FORCE_ANGLE_TYPES

| Definition at line 29 of file OgrePrerequisites.h.

#define OGRE_LOCK_AUTO_MUTEX

| Definition at line 171 of file OgrePrerequisites.h. Referenced by Ogre::Resource::isLoaded().

#define OGRE_LOCK_AUTO_SHARED_MUTEX

| Definition at line 175 of file OgrePrerequisites.h. Referenced by Ogre::SharedPtr< Skeleton >::bind(), Ogre::SharedPtr< Skeleton >::release(), Ogre::SharedPtr< Skeleton >::unique(), and Ogre::SharedPtr< Skeleton >::useCount().

#define OGRE_LOCK_MUTEX | ( | name |  | ) |

Definition at line 173 of file OgrePrerequisites.h.

Referenced by Ogre::BspLevelPtr::BspLevelPtr(), Ogre::D3D9GpuProgramPtr::D3D9GpuProgramPtr(), Ogre::D3D9TexturePtr::D3D9TexturePtr(), Ogre::D3DTexturePtr::D3DTexturePtr(), Ogre::FontPtr::FontPtr(), Ogre::GLTexturePtr::GLTexturePtr(), Ogre::HighLevelGpuProgramPtr::HighLevelGpuProgramPtr(), Ogre::MaterialPtr::MaterialPtr(), Ogre::TexturePtr::operator=(), Ogre::SkeletonPtr::operator=(), Ogre::SharedPtr< Skeleton >::operator=(), Ogre::PatchMeshPtr::operator=(), Ogre::MaterialPtr::operator=(), Ogre::HighLevelGpuProgramPtr::operator=(), Ogre::GpuProgramPtr::operator=(), Ogre::GLTexturePtr::operator=(), Ogre::FontPtr::operator=(), Ogre::D3D9TexturePtr::operator=(), Ogre::D3D9GpuProgramPtr::operator=(), Ogre::D3DTexturePtr::operator=(), Ogre::BspLevelPtr::operator=(), Ogre::PatchMeshPtr::PatchMeshPtr(), Ogre::SharedPtr< Skeleton >::SharedPtr(), Ogre::SkeletonPtr::SkeletonPtr(), and Ogre::TexturePtr::TexturePtr().

#define OGRE_MUTEX | ( | name |  | ) |

| Definition at line 172 of file OgrePrerequisites.h.

#define OGRE_NEW_AUTO_SHARED_MUTEX

| Definition at line 176 of file OgrePrerequisites.h. Referenced by Ogre::SharedPtr< Skeleton >::bind(), and Ogre::SharedPtr< Skeleton >::SharedPtr().

#define OGRE_VERSION_MAJOR 1

| Definition at line 97 of file OgrePrerequisites.h.

#define OGRE_VERSION_MINOR 0

| Definition at line 98 of file OgrePrerequisites.h.

#define OGRE_VERSION_NAME "Azathoth"

| Definition at line 100 of file OgrePrerequisites.h.

#define OGRE_VERSION_PATCH 7

| Definition at line 99 of file OgrePrerequisites.h.

#define OgreChar char

| Definition at line 119 of file OgrePrerequisites.h. Referenced by Ogre::Font::getGlyphAspectRatio(), Ogre::Font::getGlyphTexCoords(), Ogre::Font::setGlyphAspectRatio(), and Ogre::Font::setGlyphTexCoords().

Copyright © 2000-2005 by The OGRE Team
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sun Feb 12 12:59:56 2006