#include <l1394_XShmImg.h>
Inheritance diagram for L1394_MM::XShmImg:
Public Member Functions | |
XShmImg (const int width, const int height, const char *title, l1394_converter=0) | |
constructor | |
XShmImg (const char *title, l1394_converter=0) | |
constructor | |
virtual | ~XShmImg () |
destructor | |
unsigned char * | getBuffer () const |
This function returns a pointer to the shared memory of the window. | |
void | update () |
This function updates the X-window. | |
void | setTitle (const char *title) |
This function sets the title of the X-window. | |
int | getColorDepth () const |
This function returns the color depth of a window as integer value. | |
virtual void | start () |
This function starts the converter and diplay the frames. | |
virtual void | nodeDestroy (const L1394::Node *) |
If this function is called, the destructor of this class is called. | |
virtual void | nodeDisabled (const L1394::Node *) |
This function handles the NODE_DISABLED event from the connected device. |
Definition at line 21 of file l1394_XShmImg.h.
|
constructor
Definition at line 10 of file l1394_XShmImg.cpp. References setTitle(). |
|
constructor
Definition at line 19 of file l1394_XShmImg.cpp. |
|
destructor
Definition at line 114 of file l1394_XShmImg.cpp. References L1394_MM::Window::stop(). |
|
This function returns a pointer to the shared memory of the window.
Implements L1394_MM::Window. Definition at line 125 of file l1394_XShmImg.cpp. |
|
This function returns the color depth of a window as integer value. This value depends on your X-Server settings.
Implements L1394_MM::Window. Definition at line 68 of file l1394_XShmImg.h. |
|
If this function is called, the destructor of this class is called. So you don't need to delete a connected window.
Definition at line 150 of file l1394_XShmImg.cpp. References L1394_MM::Window::disconnect(), L1394::internal::Message::errorStream(), L1394_MM::Window::getDevice(), L1394_MM::Window::message, and L1394_MM::Window::stop(). |
|
This function handles the NODE_DISABLED event from the connected device.
Definition at line 145 of file l1394_XShmImg.cpp. References L1394_MM::Window::stop(). |
|
This function sets the title of the X-window.
Implements L1394_MM::Window. Definition at line 138 of file l1394_XShmImg.cpp. Referenced by XShmImg(). |
|
This function starts the converter and diplay the frames. You don't need to reimplement this function if you use the run_static function to run the window. Reimplemented from L1394_MM::Window. Definition at line 28 of file l1394_XShmImg.cpp. References L1394_MM::Window::getDevice(), and L1394_MM::Window::start(). Referenced by main(). |
|
This function updates the X-window.
Implements L1394_MM::Window. Definition at line 132 of file l1394_XShmImg.cpp. |