#include <ExManagerVertexArrays.h>
Graphe d'héritage de la classe ExManagerVertexArrays
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 | |
ExManagerVertexArrays * | CreateSingleton (void) |
Attributs Publics | |
std::ostrstream * | Consol |
ExCFluxAction * | FluxAction |
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 |
ExManagerVertexArrays * | m_instance = NULL |
|
Définition à la ligne 42 du fichier ExManagerVertexArrays.cpp. Références glLockArraysEXT, et glUnlockArraysEXT.
00043 { 00044 glLockArraysEXT = NULL; 00045 glUnlockArraysEXT = NULL; 00046 } |
|
Définition à la ligne 48 du fichier ExManagerVertexArrays.cpp. Références m_flag.
00049 { 00050 m_flag =false; 00051 } |
|
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;} |
|
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;} |
|
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 } |
|
Définition à la ligne 99 du fichier ExManagerVertexArrays.cpp.
|
|
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;} |
|
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 } |
|
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;} |
|
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;} |
|
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 } |
|
|
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().
|
|
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;} |
|
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;} |
|
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 } |
|
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;} |
|
|
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(). |
|
Définition à la ligne 76 du fichier ExManagerVertexArrays.h. Référencé par ExManagerVertexArrays(), et Init(). |
|
Définition à la ligne 77 du fichier ExManagerVertexArrays.h. Référencé par ExManagerVertexArrays(), et Init(). |
|
Définition à la ligne 70 du fichier ExManager.h. Référencé par ExManager::AskForCommand(), ExManagerConsole::ExManagerConsole(), et ExManager::SetAskForCommand(). |
|
Définition à la ligne 71 du fichier ExManager.h. Référencé par ExManager::AskForExclusifCommand(), et ExManager::SetAskForExclusifCommand(). |
|
Définition à la ligne 25 du fichier ExManagerVertexArrays.cpp. Référencé par CreateSingleton(), et ~ExManagerVertexArrays(). |
|
Définition à la ligne 26 du fichier ExManagerVertexArrays.cpp. Référencé par CreateSingleton(). |
|
Définition à la ligne 69 du fichier ExManager.h. Référencé par ExManager::GetStatus(), et ExManager::SetStatus(). |
|
Définition à la ligne 70 du fichier ExManagerVertexArrays.h. Référencé par RegisterArray(). |
|
Définition à la ligne 69 du fichier ExManagerVertexArrays.h. Référencé par RegisterArray(). |