TestFrameWork Namespace Reference

Classes

class  Application
class  AppWindowListener
class  Camera
class  Exception
class  Geometry
class  ICustomEvent
class  ILogicCallable
class  IRenderCallable
class  ISubsystemsAllocator
class  ITab
class  IThreadCallable
class  IUserEvent
class  IUserEventListener
class  IWindowListener
class  Logic
class  Matrix4x4
class  MouseEvent
class  MouseState
class  OpenglContext
class  OpenglDriver
class  OpenglException
class  OpenglIndexBuffer
class  OpenglLastError
class  OpenglPixelFormat
class  OpenglProgram
struct  ShaderFileDesc
class  OpenglShader
class  OpenglTexture
struct  Vertex
class  OpenglVertexBuffer
class  Render
class  Scene
class  Thread
class  Timer
 Timer class provides services to measure the time. It's based on high performance counter. Create a timer object to start the counter. Get the elapsed time using ElapsedTime. More...
class  UserEventQueue
class  Vector3
class  Win32LastError
 Get formatted last error code of windows. More...
class  Win32Window
class  Window

Typedefs

typedef std::vector< Vector3Positions
typedef std::vector< Vector3Normals
typedef std::vector< int > Indices
typedef int CustomEventType
typedef boost::shared_ptr
< ICustomEvent
ICustomEventPtr
typedef boost::shared_ptr
< ILogicCallable
ILogicCallablePtr
typedef boost::shared_ptr
< IRenderCallable
IRenderCallablePtr
typedef boost::shared_ptr< ITabITabPtr
typedef std::vector< ITabPtr > ITabVector
typedef boost::shared_ptr
< IThreadCallable
IThreadCallablePtr
typedef boost::shared_ptr
< IUserEvent
IUserEventPtr
typedef boost::shared_ptr< LogicLogicPtr
typedef boost::shared_ptr
< MouseEvent
MouseEventPtr
typedef boost::shared_ptr
< OpenglDriver
OpenglDriverPtr
typedef OpenglIndexBuffer< int > OpenglIndexBuffer32
typedef boost::shared_ptr
< OpenglIndexBuffer32
OpenglIndexBuffer32Ptr
typedef boost::shared_array< int > Indices32
typedef boost::shared_ptr
< OpenglProgram
OpenglProgramPtr
typedef boost::weak_ptr
< OpenglProgram
OpenglProgramWeakPtr
typedef boost::shared_ptr
< OpenglShader
OpenglShaderPtr
typedef boost::shared_array< char > TextureData
typedef boost::shared_ptr
< OpenglTexture
OpenglTexturePtr
typedef boost::weak_ptr
< OpenglTexture
OpenglTextureWeakPtr
typedef boost::shared_array
< Vertex
Vertices
typedef boost::shared_ptr
< OpenglVertexBuffer
OpenglVertexBufferPtr
typedef boost::shared_ptr< RenderRenderPtr
typedef boost::shared_ptr< SceneScenePtr
typedef boost::shared_ptr< ThreadThreadPtr
typedef std::deque< IUserEventPtr > RawUserEventsQueue
typedef boost::shared_ptr< WindowWindowPtr

Enumerations

enum  UserEventType { Mouse, Custom }
enum  MouseButton {
  Left, Middle, Right, Wheel,
  None
}
enum  OpenglPrimitive { Triangles }
enum  OpenglVersion {
  OpenglVersion_2_0, OpenglVersion_2_1, OpenglVersion_3_0, OpenglVersion_3_1,
  OpenglVersion_3_2
}
enum  OpenglShaderStage { VertexStage, FragmentStage }
enum  OpenglTextureFormat {
  Red, RGB, RGB32F, RGBA,
  RGBA32F
}
enum  OpenglTextureFilter { Nearest, Linear }
enum  OpenglTextureEdgeValue {
  Repeat, MirroredRepeat, ClampToEdge, ClampToBorder,
  Clamp
}

Functions

void OnGLErrorThrowException (void)
std::string ConvertUTF16ToUTF8 (const std::wstring &utf16String)
std::wstring ConvertUTF8ToUTF16 (const std::string &utf8String)
Vector3 operator+ (const Vector3 &leftV, const Vector3 &rightV)
Vector3 operator- (const Vector3 &leftV, const Vector3 &rightV)
Vector3 operator* (const Vector3 &leftV, const Vector3 &rightV)
Vector3 operator* (const Vector3 &leftV, float k)
Vector3 operator* (float k, const Vector3 &rightV)
Vector3 Interpolate (const Vector3 &leftV, const Vector3 &rightV, float k)
Vector3 Max (const Vector3 &leftV, const Vector3 &rightV)
Vector3 Truncate (const Vector3 &leftV, const Vector3 &rightV)
Vector3 Normalize (const Vector3 &vector)
bool IsFinite (const Vector3 &vector)

Detailed Description

Copyright (c) 2010 Ruben Penalva. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. The name of the author may not be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Copyright (c) 2010 Ruben Penalva. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. The name of the author may not be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. TODO

Copyright (c) 2010 Ruben Penalva. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. The name of the author may not be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. TODO

Copyright (c) 2010 Ruben Penalva. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. The name of the author may not be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. TODO


Function Documentation

std::string TestFrameWork::ConvertUTF16ToUTF8 ( const std::wstring &  utf16String  ) 

Getting the required size

Converting

std::wstring TestFrameWork::ConvertUTF8ToUTF16 ( const std::string &  utf8String  ) 

Getting the required size

Converting


Generated by  doxygen 1.6.2