Page principale | Liste des namespaces | Hiérarchie des classes | Liste par ordre alphabétique | Liste des composants | Liste des fichiers | Membres des namespaces | Composants | Déclarations

Référence de la classe ExManagerVertexArrays

#include <ExManagerVertexArrays.h>

Graphe d'héritage de la classe ExManagerVertexArrays

ExManager

Membres publics

void Reset (void)
void Init (void)
int RegisterArray (GLfloat *vertex, GLfloat *texture)
void DrawElements (GLint Start, GLsizei count)
void SetFlux (std::ostrstream *consol, ExCFluxAction *action)
bool GetStatus (void)
void SetStatus (bool status)
void SetAskForCommand (bool status)
void SetAskForExclusifCommand (bool status)
bool AskForCommand (void)
bool AskForExclusifCommand (void)
virtual void Reload (void)
virtual ExCAction InputCommand (ExCCommand Command)
virtual ExCAction InputAction (ExCAction Action)

Membres publics statiques

ExManagerVertexArraysCreateSingleton (void)

Attributs Publics

std::ostrstream * Consol
ExCFluxActionFluxAction

Attributs Protégés

bool m_Status
bool m_AskForCommand
bool m_Exclusif

Membres privés

 ExManagerVertexArrays (void)
 ~ExManagerVertexArrays (void)

Attributs Privés

GLfloat * m_Vertex
GLfloat * m_Texture
PFNGLLOCKARRAYSEXTPROC glLockArraysEXT
PFNGLUNLOCKARRAYSEXTPROC glUnlockArraysEXT

Attributs Privés Statiques

bool m_flag = false
ExManagerVertexArraysm_instance = NULL

Documentation des contructeurs et destructeurs

ExManagerVertexArrays::ExManagerVertexArrays void   )  [private]
 

Définition à la ligne 42 du fichier ExManagerVertexArrays.cpp.

Références glLockArraysEXT, et glUnlockArraysEXT.

00043 {
00044         glLockArraysEXT = NULL;
00045         glUnlockArraysEXT = NULL;
00046 }

ExManagerVertexArrays::~ExManagerVertexArrays void   )  [private]
 

Définition à la ligne 48 du fichier ExManagerVertexArrays.cpp.

Références m_flag.

00049 {
00050         m_flag =false;
00051 }


Documentation des méthodes

bool ExManager::AskForCommand void   )  [inline, inherited]
 

Définition à la ligne 89 du fichier ExManager.h.

Références ExManager::m_AskForCommand.

Référencé par ExManagerCommand::InputCommand().

00089 {return m_AskForCommand;}

bool ExManager::AskForExclusifCommand void   )  [inline, inherited]
 

Définition à la ligne 90 du fichier ExManager.h.

Références ExManager::m_Exclusif.

Référencé par ExManagerCommand::InputCommand().

00090 {return m_Exclusif;}

ExManagerVertexArrays * ExManagerVertexArrays::CreateSingleton void   )  [static]
 

Définition à la ligne 28 du fichier ExManagerVertexArrays.cpp.

Références CreateSingleton(), Guard, m_flag, m_instance, et UnGuard.

Référencé par CreateManager(), et CreateSingleton().

00028                                                                  {
00029 Guard(ExManagerVertexArrays* ExManagerVertexArrays::CreateSingleton(void))
00030         if(!m_flag)
00031         {
00032                 m_flag = true; // We are creating the error log now, so set flag to true
00033                 m_instance = new ExManagerVertexArrays; // Create the error log
00034         }else
00035         {
00036                 std::cout<<"Error singleton already created"<<std::endl;
00037         }
00038         return m_instance; 
00039 UnGuard
00040 }

void ExManagerVertexArrays::DrawElements GLint  Start,
GLsizei  count
 

Définition à la ligne 99 du fichier ExManagerVertexArrays.cpp.

Références Guard, et UnGuard.

00100 {
00101 Guard(void ExManagerVertexArrays::ExManagerVertexArrays::DrawElements(GLint Start,GLsizei count))
00102 
00103 UnGuard
00104 }

bool ExManager::GetStatus void   )  [inline, inherited]
 

Définition à la ligne 85 du fichier ExManager.h.

Références ExManager::m_Status.

Référencé par ExManagerInterface::Draw(), ExManagerConsole::Draw(), et ExManagerOutput::DrawScene().

00085 {return m_Status;}

void ExManagerVertexArrays::Init void   )  [virtual]
 

Redéfinie à partir de ExManager.

Définition à la ligne 59 du fichier ExManagerVertexArrays.cpp.

Références ExManager::Consol, glLockArraysEXT, glUnlockArraysEXT, Guard, Init(), et UnGuard.

Référencé par Init(), et PreInitManager().

00060 {
00061 Guard(void ExManagerVertexArrays::Init(void))
00062         glLockArraysEXT = NULL;
00063         glUnlockArraysEXT = NULL;
00064         char *extList = (char *) glGetString(GL_EXTENSIONS);
00065         //checking for compiled vertex array
00066         if(extList && strstr(extList,"GL_EXT_compiled_vertex_array"))
00067         {
00068                 #ifdef UNIX_SRC
00069                 #else
00070                         glLockArraysEXT = (PFNGLLOCKARRAYSEXTPROC) 
00071                         wglGetProcAddress("glLockArraysEXT");
00072 
00073                         glUnlockArraysEXT = (PFNGLUNLOCKARRAYSEXTPROC)
00074                         wglGetProcAddress("glUnlockArraysEXT");
00075                 #endif
00076                 //glEnableClientState ( GL_VERTEX_ARRAY );
00077                 //glEnableClientState ( GL_TEXTURE_COORD_ARRAY );
00078         }
00079         if(glLockArraysEXT = NULL){ *Consol<<"OpenGl glLockArraysEXT extension missing"<<std::endl; return;}
00080         if(glUnlockArraysEXT = NULL){ *Consol<<"OpenGl glUnlockArraysEXT extension missing"<<std::endl; return;}
00081         *Consol<<"ExManagerVertexArrays::GL_EXT_compiled_vertex_array found and enable"<<std::endl;
00082         
00083 UnGuard
00084 }

ExCAction ExManager::InputAction ExCAction  Action  )  [virtual, inherited]
 

Redéfinie dans ExManagerCommand, ExManagerConsole, ExManagerFog, ExManagerId, ExManagerMap, ExManagerNetwork, ExManagerPVS, ExManagerSpecialEffect, ExManagerWindow, ExManagerLoad, ExManagerAnimation, ExManagerCamera, ExManagerEntity, ExManagerInterface, ExManagerLoad, ExManagerMesh, ExManagerModel, ExManagerObjectWindow, ExManagerParticuleSystem, ExManagerSound, et ExManagerTexture.

Définition à la ligne 42 du fichier ExManager.cpp.

Références NOTHING.

00043 {return NOTHING;}

ExCAction ExManager::InputCommand ExCCommand  Command  )  [virtual, inherited]
 

Redéfinie dans ExManagerCommand, ExManagerConsole, ExManagerFog, ExManagerMap, ExManagerNetwork, ExManagerPVS, ExManagerSpecialEffect, ExManagerWindow, ExManagerLoad, ExManagerAnimation, ExManagerCamera, ExManagerEntity, ExManagerInterface, ExManagerLoad, ExManagerMesh, ExManagerModel, ExManagerObjectWindow, ExManagerParticuleSystem, et ExManagerSound.

Définition à la ligne 40 du fichier ExManager.cpp.

Références NOTHING.

00041 {return NOTHING;}

int ExManagerVertexArrays::RegisterArray GLfloat *  vertex,
GLfloat *  texture
 

Définition à la ligne 86 du fichier ExManagerVertexArrays.cpp.

Références Guard, m_Texture, m_Vertex, RegisterArray(), et UnGuard.

Référencé par RegisterArray().

00087 {
00088 Guard(void ExManagerVertexArrays::RegisterArray(GLfloat *vertex,GLfloat *texture))
00089         GLint x=0;
00090         m_Texture=texture;
00091         m_Vertex=vertex;
00092         glVertexPointer(3, GL_FLOAT, 0, m_Vertex);
00093         //glTexCoordPointer(2, GL_FLOAT, 0, m_Texture);
00094         std::cout<<x<<std::endl;
00095         return x;
00096 UnGuard
00097 }

void ExManager::Reload void   )  [virtual, inherited]
 

Redéfinie dans ExManagerCollision, ExManagerAnimation, ExManagerEntity, ExManagerModel, ExManagerObject< TypeA >, ExManagerTexture, ExManagerObject< ExCAnimation >, ExManagerObject< ExCModel * >, ExManagerObject< ExCWindow >, ExManagerObject< ExCVertexProgram >, ExManagerObject< ExCLight >, ExManagerObject< ExCLoadingAnimation >, ExManagerObject< ExCInterface >, ExManagerObject< ExCSound >, ExManagerObject< ExCCamera * >, ExManagerObject< ExCFont >, ExManagerObject< ExCGizmo >, ExManagerObject< ExCMesh * >, ExManagerObject< ExCTexture >, ExManagerObject< ExCEntity * >, ExManagerObject< ExCSystemeParticule >, et ExManagerObject< ExCSpirit >.

Définition à la ligne 33 du fichier ExManager.cpp.

Référencé par ExManagerCommand::ProcesExCAction().

00034 {}

void ExManagerVertexArrays::Reset void   )  [virtual]
 

Redéfinie à partir de ExManager.

Définition à la ligne 53 du fichier ExManagerVertexArrays.cpp.

Références Guard, Reset(), et UnGuard.

Référencé par Reset().

00054 {
00055 Guard(void ExManagerVertexArrays::Reset(void))
00056 UnGuard
00057 }

void ExManager::SetAskForCommand bool  status  )  [inline, inherited]
 

Définition à la ligne 87 du fichier ExManager.h.

Références ExManager::m_AskForCommand.

Référencé par ExManagerConsole::ExManagerConsole(), ExManagerModel::ExManagerModel(), ExManagerObjectWindow::Init(), ExManagerNetwork::Init(), ExManagerConsole::InputAction(), ExManagerNetwork::InputCommand(), ExManagerLoad::LoadSetOfFile(), et ExManagerNetwork::Say().

00087 {m_AskForCommand=status;} 

void ExManager::SetAskForExclusifCommand bool  status  )  [inline, inherited]
 

Définition à la ligne 88 du fichier ExManager.h.

Références ExManager::m_Exclusif.

Référencé par ExManagerConsole::ExManagerConsole(), ExManagerModel::ExManagerModel(), ExManagerObjectWindow::Init(), ExManagerNetwork::Init(), ExManagerConsole::InputAction(), ExManagerNetwork::InputCommand(), et ExManagerNetwork::Say().

00088 {m_Exclusif=status;}

void ExManager::SetFlux std::ostrstream *  consol,
ExCFluxAction action
[inherited]
 

Définition à la ligne 35 du fichier ExManager.cpp.

Références ExManager::Consol, et ExManager::FluxAction.

Référencé par SetManagerLink().

00036 {
00037         Consol=consol;
00038         FluxAction=action;
00039 }

void ExManager::SetStatus bool  status  )  [inline, inherited]
 

Définition à la ligne 86 du fichier ExManager.h.

Références ExManager::m_Status.

Référencé par ExManagerConsole::Draw(), ExManagerConsole::ExManagerConsole(), ExManagerObjectWindow::Init(), ExManagerInterface::Init(), ExManagerConsole::InputAction(), ExManagerLoad::LoadSetOfFile(), et ExManagerConsole::SetConsoleState().

00086 {m_Status=status;}


Documentation des données imbriquées

std::ostrstream* ExManager::Consol [inherited]
 

Définition à la ligne 73 du fichier ExManager.h.

Référencé par ExManagerObject< TypeA >::Add(), ExManagerConsole::AddStringAction(), ExManagerConsole::ApplyBuffCommand(), ExManagerInputGLUT::CheckInput(), ExManagerSound::DisplayAviableInput(), ExManagerInputGLUT::DisplayAviableInput(), ExManagerLoad::DisplayFileType(), ExManagerLoad::GetFileType(), Init(), ExManagerTexture::Init(), ExManagerSound::Init(), ExManagerFog::Init(), ExManagerSound::InputAction(), ExManagerPVS::InputAction(), ExManagerParticuleSystem::InputAction(), ExManagerModel::InputAction(), ExManagerMesh::InputAction(), ExManagerMap::InputAction(), ExManagerLoad::InputAction(), ExManagerInterface::InputAction(), ExManagerFog::InputAction(), ExManagerEntity::InputAction(), ExManagerConsole::InputAction(), ExManagerCommand::InputAction(), ExManagerCamera::InputAction(), ExManagerAnimation::InputAction(), ExManagerObject< TypeA >::List(), ExManagerModel::List(), ExManagerId::List(), ExManagerConsole::ListConsoleCommand(), ExManagerTexture::Load(), ExManagerParticuleSystem::Load(), ExManagerModel::Load(), ExManagerInterface::Load(), ExManagerTexture::LoadCubeMap(), ExManagerLoad::LoadSetOfFile(), ExManagerSound::LoadSound(), ExManagerSound::PauseSound(), ExManagerSound::PlaySound(), ExManagerCommand::ProcesExCAction(), ExManagerId::RecordObject(), ExManager::SetFlux(), ExManagerSound::SetRepeatSound(), ExManagerSound::StopSound(), ExManagerConsole::UpdateConsolBuffer(), et ExManagerConsole::Write().

ExCFluxAction* ExManager::FluxAction [inherited]
 

Définition à la ligne 74 du fichier ExManager.h.

Référencé par ExManagerWindow::Apply(), ExManagerCommand::ApplyAction(), ExManagerCommand::LoadExecFile(), ExManagerId::RecordObject(), ExManager::SetFlux(), et ExManagerSpecialEffect::Specialeffect().

PFNGLLOCKARRAYSEXTPROC ExManagerVertexArrays::glLockArraysEXT [private]
 

Définition à la ligne 76 du fichier ExManagerVertexArrays.h.

Référencé par ExManagerVertexArrays(), et Init().

PFNGLUNLOCKARRAYSEXTPROC ExManagerVertexArrays::glUnlockArraysEXT [private]
 

Définition à la ligne 77 du fichier ExManagerVertexArrays.h.

Référencé par ExManagerVertexArrays(), et Init().

bool ExManager::m_AskForCommand [protected, inherited]
 

Définition à la ligne 70 du fichier ExManager.h.

Référencé par ExManager::AskForCommand(), ExManagerConsole::ExManagerConsole(), et ExManager::SetAskForCommand().

bool ExManager::m_Exclusif [protected, inherited]
 

Définition à la ligne 71 du fichier ExManager.h.

Référencé par ExManager::AskForExclusifCommand(), et ExManager::SetAskForExclusifCommand().

bool ExManagerVertexArrays::m_flag = false [static, private]
 

Définition à la ligne 25 du fichier ExManagerVertexArrays.cpp.

Référencé par CreateSingleton(), et ~ExManagerVertexArrays().

ExManagerVertexArrays * ExManagerVertexArrays::m_instance = NULL [static, private]
 

Définition à la ligne 26 du fichier ExManagerVertexArrays.cpp.

Référencé par CreateSingleton().

bool ExManager::m_Status [protected, inherited]
 

Définition à la ligne 69 du fichier ExManager.h.

Référencé par ExManager::GetStatus(), et ExManager::SetStatus().

GLfloat* ExManagerVertexArrays::m_Texture [private]
 

Définition à la ligne 70 du fichier ExManagerVertexArrays.h.

Référencé par RegisterArray().

GLfloat* ExManagerVertexArrays::m_Vertex [private]
 

Définition à la ligne 69 du fichier ExManagerVertexArrays.h.

Référencé par RegisterArray().


La documentation associée à cette classe a été générée à partir des fichiers suivants :
Généré le Tue Oct 28 12:44:05 2003 pour ExNihilo par doxygen 1.3.4