renderWindow.h File Reference

#include <BALL/COMMON/global.h>
#include <BALL/VIEW/RENDERING/renderTarget.h>
#include <boost/static_assert.hpp>
#include <boost/type_traits/is_same.hpp>

Go to the source code of this file.


Classes

class  BALL::VIEW::RenderWindow< taPixelDatatype >

Namespaces

namespace  BALL
namespace  BALL::VIEW

Defines

#define BALLVIEW_IS_SAME_TYPE(aTypeA, aTypeB)   (boost::is_same<aTypeA, aTypeB>::value)
 

Macro checks at compile time, whether aTypeA and aTypeB are the same.


#define BALLVIEW_STATIC_ASSERT_TYPE_IS_INT_OR_FLOAT(aType)   BOOST_STATIC_ASSERT(BALLVIEW_IS_SAME_TYPE(aType, int) || BALLVIEW_IS_SAME_TYPE(aType, float))
 

Macro checks at compile time, whether aType is int or float.



Typedefs

typedef RenderWindow< floatBALL::VIEW::t_RenderWindow

Define Documentation

#define BALLVIEW_IS_SAME_TYPE ( aTypeA,
aTypeB   )     (boost::is_same<aTypeA, aTypeB>::value)

Macro checks at compile time, whether aTypeA and aTypeB are the same.

#define BALLVIEW_STATIC_ASSERT_TYPE_IS_INT_OR_FLOAT ( aType   )     BOOST_STATIC_ASSERT(BALLVIEW_IS_SAME_TYPE(aType, int) || BALLVIEW_IS_SAME_TYPE(aType, float))

Macro checks at compile time, whether aType is int or float.