Gray C++ Libraries  0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
Manager_Texture Class Reference

#include <Manager_Texture.h>

Inheritance diagram for Manager_Texture:
Frm::Manager< Texture * > Frm::Manager< Texture * > Frm::Manager< Texture * > Frm::Manager< Texture * >

Public Member Functions

 Manager_Texture (void)
 
 ~Manager_Texture (void)
 
void SetTargetType (uchar &pTargetType)
 
void SetTranspColor (uchar pr, uchar pg, uchar pb)
 
bool Load (std::string &pFileName)
 
bool Unload (uint16 pIndex)
 
void Reset (void)
 
uint16 SetTexture (std::string &pFileName)
 
const GLuint GetID (uint16 pIndex)
 
 Manager_Texture (void)
 
 ~Manager_Texture (void)
 
void SetTargetType (uchar &pTargetType)
 
void SetTranspColor (uchar pr, uchar pg, uchar pb)
 
bool Load (std::string &pFileName)
 
bool Unload (uint16 pIndex)
 
void Reset (void)
 
uint16 SetTexture (std::string &pFileName)
 
const GLuint GetID (uint16 pIndex)
 
 Manager_Texture (void)
 
 ~Manager_Texture (void)
 
void SetTargetType (uchar &pTargetType)
 
void SetTranspColor (uchar pr, uchar pg, uchar pb)
 
bool Load (std::string &pFileName)
 
bool Unload (uint16 pIndex)
 
void Reset (void)
 
uint16 SetTexture (std::string &pFileName)
 
const GLuint GetID (uint16 pIndex)
 
 Manager_Texture (void)
 
 ~Manager_Texture (void)
 
void SetTargetType (uchar &pTargetType)
 
void SetTranspColor (uchar pr, uchar pg, uchar pb)
 
bool Load (std::string &pFileName)
 
bool Unload (uint16 pIndex)
 
void Reset (void)
 
uint16 SetTexture (std::string &pFileName)
 
const GLuint GetID (uint16 pIndex)
 
- Public Member Functions inherited from Frm::Manager< Texture * >
 Manager (void)
 
 Manager (void)
 
 Manager (void)
 
 Manager (void)
 
void SetSize (uint16 pMaxSize)
 
void SetSize (uint16 pMaxSize)
 
void SetSize (uint16 pMaxSize)
 
void SetSize (uint16 pMaxSize)
 
virtual ~Manager (void)
 
virtual ~Manager (void)
 
virtual ~Manager (void)
 
virtual ~Manager (void)
 
uint16 Add (Texture * &pT)
 
uint16 Add (Texture * &pT)
 
uint16 Add (Texture * &pT)
 
uint16 Add (Texture * &pT)
 
bool Set (uint16 pID, Texture * pT)
 
bool Set (uint16 pID, Texture * pT)
 
bool Set (uint16 pID, Texture * pT)
 
bool Set (uint16 pID, Texture * pT)
 
TextureRemove (uint16 pID)
 
TextureRemove (uint16 pID)
 
TextureRemove (uint16 pID)
 
TextureRemove (uint16 pID)
 
TextureGet (uint16 pID)
 
TextureGet (uint16 pID)
 
TextureGet (uint16 pID)
 
TextureGet (uint16 pID)
 
uint16 Size (void)
 
uint16 Size (void)
 
uint16 Size (void)
 
uint16 Size (void)
 
const Textureoperator[] (uint16 pID)
 
const Textureoperator[] (uint16 pID)
 
const Textureoperator[] (uint16 pID)
 
const Textureoperator[] (uint16 pID)
 

Protected Member Functions

bool check (std::string &pFileName)
 
bool Create (void)
 
bool check (std::string &pFileName)
 
bool Create (void)
 
bool check (std::string &pFileName)
 
bool Create (void)
 
bool check (std::string &pFileName)
 
bool Create (void)
 

Protected Attributes

Frm::IO< TEXTURE > * IOStrategy
 
TEXTURE _Texture
 
Texture_TextStruct
 
uchar _TargetType
 
ToolBox::ConvText _Convert
 
- Protected Attributes inherited from Frm::Manager< Texture * >
std::vector< Texture * > _Ts
 

Constructor & Destructor Documentation

◆ Manager_Texture() [1/4]

Manager_Texture::Manager_Texture ( void  )
inline

◆ ~Manager_Texture() [1/4]

Manager_Texture::~Manager_Texture ( void  )

◆ Manager_Texture() [2/4]

Manager_Texture::Manager_Texture ( void  )
inline

◆ ~Manager_Texture() [2/4]

Manager_Texture::~Manager_Texture ( void  )

◆ Manager_Texture() [3/4]

Manager_Texture::Manager_Texture ( void  )
inline

◆ ~Manager_Texture() [3/4]

Manager_Texture::~Manager_Texture ( void  )

◆ Manager_Texture() [4/4]

Manager_Texture::Manager_Texture ( void  )
inline

◆ ~Manager_Texture() [4/4]

Manager_Texture::~Manager_Texture ( void  )

Member Function Documentation

◆ check() [1/4]

bool Manager_Texture::check ( std::string &  pFileName)
protected

◆ check() [2/4]

bool Manager_Texture::check ( std::string &  pFileName)
protected

◆ check() [3/4]

bool Manager_Texture::check ( std::string &  pFileName)
protected

◆ check() [4/4]

bool Manager_Texture::check ( std::string &  pFileName)
protected

◆ Create() [1/4]

bool Manager_Texture::Create ( void  )
protected

◆ Create() [2/4]

bool Manager_Texture::Create ( void  )
protected

◆ Create() [3/4]

bool Manager_Texture::Create ( void  )
protected

◆ Create() [4/4]

bool Manager_Texture::Create ( void  )
protected

◆ GetID() [1/4]

const GLuint Manager_Texture::GetID ( uint16  pIndex)
inline

◆ GetID() [2/4]

const GLuint Manager_Texture::GetID ( uint16  pIndex)
inline

◆ GetID() [3/4]

const GLuint Manager_Texture::GetID ( uint16  pIndex)
inline

◆ GetID() [4/4]

const GLuint Manager_Texture::GetID ( uint16  pIndex)
inline

◆ Load() [1/4]

bool Manager_Texture::Load ( std::string &  pFileName)

◆ Load() [2/4]

bool Manager_Texture::Load ( std::string &  pFileName)

◆ Load() [3/4]

bool Manager_Texture::Load ( std::string &  pFileName)

◆ Load() [4/4]

bool Manager_Texture::Load ( std::string &  pFileName)

◆ Reset() [1/4]

void Manager_Texture::Reset ( void  )

◆ Reset() [2/4]

void Manager_Texture::Reset ( void  )

◆ Reset() [3/4]

void Manager_Texture::Reset ( void  )

◆ Reset() [4/4]

void Manager_Texture::Reset ( void  )

◆ SetTargetType() [1/4]

void Manager_Texture::SetTargetType ( uchar pTargetType)
inline

◆ SetTargetType() [2/4]

void Manager_Texture::SetTargetType ( uchar pTargetType)
inline

◆ SetTargetType() [3/4]

void Manager_Texture::SetTargetType ( uchar pTargetType)
inline

◆ SetTargetType() [4/4]

void Manager_Texture::SetTargetType ( uchar pTargetType)
inline

◆ SetTexture() [1/4]

uint16 Manager_Texture::SetTexture ( std::string &  pFileName)

◆ SetTexture() [2/4]

uint16 Manager_Texture::SetTexture ( std::string &  pFileName)

◆ SetTexture() [3/4]

uint16 Manager_Texture::SetTexture ( std::string &  pFileName)

◆ SetTexture() [4/4]

uint16 Manager_Texture::SetTexture ( std::string &  pFileName)

◆ SetTranspColor() [1/4]

void Manager_Texture::SetTranspColor ( uchar  pr,
uchar  pg,
uchar  pb 
)
inline

◆ SetTranspColor() [2/4]

void Manager_Texture::SetTranspColor ( uchar  pr,
uchar  pg,
uchar  pb 
)
inline

◆ SetTranspColor() [3/4]

void Manager_Texture::SetTranspColor ( uchar  pr,
uchar  pg,
uchar  pb 
)
inline

◆ SetTranspColor() [4/4]

void Manager_Texture::SetTranspColor ( uchar  pr,
uchar  pg,
uchar  pb 
)
inline

◆ Unload() [1/4]

bool Manager_Texture::Unload ( uint16  pIndex)

◆ Unload() [2/4]

bool Manager_Texture::Unload ( uint16  pIndex)

◆ Unload() [3/4]

bool Manager_Texture::Unload ( uint16  pIndex)

◆ Unload() [4/4]

bool Manager_Texture::Unload ( uint16  pIndex)

Member Data Documentation

◆ _Convert

ToolBox::ConvText Manager_Texture::_Convert
protected

◆ _TargetType

uchar Manager_Texture::_TargetType
protected

◆ _TextStruct

Texture * Manager_Texture::_TextStruct
protected

◆ _Texture

TEXTURE Manager_Texture::_Texture
protected

◆ IOStrategy

Frm::IO< TEXTURE > * Manager_Texture::IOStrategy
protected

The documentation for this class was generated from the following files: