comparison trunk/src/Modules/Output/Graphics/Devices/GraphicsOutputDeviceMovie.h @ 398:3ee03a6b95a0

- All \t to two spaces (style guide compliance)
author tomwalters
date Fri, 15 Oct 2010 05:46:53 +0000
parents 7a573750b186
children dd13c9834ceb
comparison
equal deleted inserted replaced
397:7a573750b186 398:3ee03a6b95a0
37 */ 37 */
38 // GraphicsOutputDevicePlotutils is also possible here 38 // GraphicsOutputDevicePlotutils is also possible here
39 class GraphicsOutputDeviceMovie : public GraphicsOutputDeviceCairo { 39 class GraphicsOutputDeviceMovie : public GraphicsOutputDeviceCairo {
40 public: 40 public:
41 GraphicsOutputDeviceMovie(AimParameters *pParam); 41 GraphicsOutputDeviceMovie(AimParameters *pParam);
42 virtual ~GraphicsOutputDeviceMovie() { }; 42 virtual ~GraphicsOutputDeviceMovie() { };
43 43
44 /*! \brief Initializes this output device, prepares plotting tools. 44 /*! \brief Initializes this output device, prepares plotting tools.
45 * \param sSoundFile Sound file for the movie 45 * \param sSoundFile Sound file for the movie
46 * \param sMovieFile Movie filename to produce 46 * \param sMovieFile Movie filename to produce
47 * \return true on success, false on failure. 47 * \return true on success, false on failure.
48 * 48 *
49 * As usual, make sure to call this function before any other. If this 49 * As usual, make sure to call this function before any other. If this
50 * Initialize() failed, you shouldn't try the other functions either. 50 * Initialize() failed, you shouldn't try the other functions either.
51 */ 51 */
52 bool Initialize(const char *sSoundFile, const char *sMovieFile); 52 bool Initialize(const char *sSoundFile, const char *sMovieFile);
53 53
54 void Start(); 54 void Start();
55 //! \brief This function now also generates the output movie. 55 //! \brief This function now also generates the output movie.
56 void Stop(); 56 void Stop();
57 57
58 protected: 58 protected:
59 /*! \brief Plots a summary of relevant parameters on the output 59 /*! \brief Plots a summary of relevant parameters on the output
60 * 60 *
61 * This is intended for use in a movie as the first frame, which has no 61 * This is intended for use in a movie as the first frame, which has no
62 * interesting data anyway, since at least one buffer of data is needed 62 * interesting data anyway, since at least one buffer of data is needed
63 * to be able to show someting. 63 * to be able to show someting.
64 * 64 *
65 * The caller must do the gGrab() and gRelease(). 65 * The caller must do the gGrab() and gRelease().
66 */ 66 */
67 void PlotParameterScreen(); 67 void PlotParameterScreen();
68 68
69 //! \brief Name of the sound file to be merged with the video 69 //! \brief Name of the sound file to be merged with the video
70 char m_sSoundFile[PATH_MAX]; 70 char m_sSoundFile[PATH_MAX];
71 //! \brief Name of the movie file to produce 71 //! \brief Name of the movie file to produce
72 char m_sMovieFile[PATH_MAX]; 72 char m_sMovieFile[PATH_MAX];
73 }; 73 };
74 74
75 #endif /* __GRAPHICS_OUTPUT_DEVICE_MOVIE_H__ */ 75 #endif /* __GRAPHICS_OUTPUT_DEVICE_MOVIE_H__ */