00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027 #ifndef OSDL_VIDEO_RENDERER_H_
00028 #define OSDL_VIDEO_RENDERER_H_
00029
00030
00031
00032 #include "OSDLRenderer.h"
00033
00034
00035
00036
00037 namespace OSDL
00038 {
00039
00040
00041
00042 namespace Rendering
00043 {
00044
00045
00046
00047
00048
00049
00050
00051
00052 class Camera ;
00053
00054
00055
00057 class OSDL_DLL VideoRenderingException: public RenderingException
00058 {
00059
00060 public:
00061
00062 explicit VideoRenderingException( const std::string & message );
00063
00064 virtual ~VideoRenderingException() throw() ;
00065
00066 } ;
00067
00068
00069
00070
00085 class OSDL_DLL VideoRenderer : public Rendering::Renderer
00086 {
00087
00088
00089 public:
00090
00091
00092
00110 explicit VideoRenderer( bool registerToRootRenderer = true ) ;
00111
00112
00113
00118 virtual ~VideoRenderer() throw() ;
00119
00120
00121
00166 virtual void render(
00167 Events::RenderingTick currentRenderingTick = 0 ) ;
00168
00169
00170
00183 virtual void onRenderingSkipped(
00184 Events::RenderingTick skippedRenderingTick ) ;
00185
00186
00187
00199 virtual const std::string toString(
00200 Ceylan::VerbosityLevels level = Ceylan::high ) const ;
00201
00202
00203
00204
00205 protected:
00206
00207
00209
00210
00211
00212
00213
00214 private:
00215
00216
00217
00226 VideoRenderer( const VideoRenderer & source ) ;
00227
00228
00229
00238 VideoRenderer & operator = ( const VideoRenderer & source ) ;
00239
00240
00241 } ;
00242
00243
00244 }
00245
00246 }
00247
00248
00249
00250 #endif // OSDL_VIDEO_RENDERER_H_
00251