Dali 3D User Interface Engine
List of all members | Public Member Functions | Private Member Functions | Private Attributes
Dali::Internal::ProgramController::ProgramPair Class Reference

Wrapper for a program and its hash code. More...

#include <program-controller.h>

Collaboration diagram for Dali::Internal::ProgramController::ProgramPair:
Collaboration graph
[legend]

Public Member Functions

 ProgramPair (Program *program, size_t shaderHash)
 Constructor. More...
 
 ~ProgramPair ()
 Destructor, non-virtual as not a base. More...
 
ProgramGetProgram ()
 Inline getter for the program. More...
 
size_t GetHash ()
 Inline getter for the hash. More...
 

Private Member Functions

 ProgramPair (const ProgramPair &)
 
ProgramPairoperator= (const ProgramPair &)
 

Private Attributes

ProgrammProgram
 
size_t mShaderHash
 

Detailed Description

Wrapper for a program and its hash code.

Definition at line 44 of file program-controller.h.

Constructor & Destructor Documentation

Dali::Internal::ProgramController::ProgramPair::ProgramPair ( Program program,
size_t  shaderHash 
)
inline

Constructor.

Parameters
program
shaderHash

Definition at line 53 of file program-controller.h.

Dali::Internal::ProgramController::ProgramPair::~ProgramPair ( )
inline

Destructor, non-virtual as not a base.

Definition at line 60 of file program-controller.h.

References mProgram.

Dali::Internal::ProgramController::ProgramPair::ProgramPair ( const ProgramPair )
private

Member Function Documentation

size_t Dali::Internal::ProgramController::ProgramPair::GetHash ( )
inline

Inline getter for the hash.

Returns
the hash

Definition at line 78 of file program-controller.h.

References mShaderHash.

Program* Dali::Internal::ProgramController::ProgramPair::GetProgram ( )
inline

Inline getter for the program.

Returns
the program

Definition at line 69 of file program-controller.h.

References mProgram.

ProgramPair& Dali::Internal::ProgramController::ProgramPair::operator= ( const ProgramPair )
private

Member Data Documentation

Program* Dali::Internal::ProgramController::ProgramPair::mProgram
private

Definition at line 88 of file program-controller.h.

Referenced by GetProgram(), and ~ProgramPair().

size_t Dali::Internal::ProgramController::ProgramPair::mShaderHash
private

Definition at line 89 of file program-controller.h.

Referenced by GetHash().


The documentation for this class was generated from the following file:
Dali Docs Home
Read more about Dali