|
Argus Camera Sample
Argus Camera Sample
|
Represents an item in the gallery. More...
Public Types | |
| enum | Type { TYPE_IMAGE, TYPE_VIDEO, TYPE_INVALID } |
| item types More... | |
Public Member Functions | |
| GalleryItem (const char *fileName, time_t modTime) | |
| virtual | ~GalleryItem () |
| virtual bool | initialize ()=0 |
| Initialize. | |
| virtual bool | shutdown ()=0 |
| shutdown | |
| virtual bool | startDisplay () |
| Start the display. | |
| virtual bool | pauseDisplay () |
| Pause the display. | |
| virtual bool | togglePlayBack () |
| Toggle playback. | |
| virtual bool | rewind () |
| Rewind. | |
| virtual Type | getType () const =0 |
| Get the item type. | |
| const std::string & | getFileName () const |
| Get the file name. | |
Protected Member Functions | |
| GalleryItem () | |
Protected Attributes | |
| std::string | m_fileName |
| time_t | m_modTime |
Friends | |
| bool | operator< (const GalleryItem &l, const GalleryItem &r) |
| Compare function for sort(). | |
Represents an item in the gallery.
Definition at line 76 of file Gallery.cpp.
item types
Definition at line 92 of file Gallery.cpp.
|
inline |
Definition at line 79 of file Gallery.cpp.
|
inlinevirtual |
Definition at line 85 of file Gallery.cpp.
|
protected |
|
inline |
Get the file name.
Definition at line 146 of file Gallery.cpp.
|
pure virtual |
Get the item type.
Implemented in ArgusSamples::GalleryItemVideo, and ArgusSamples::GalleryItemImage.
|
pure virtual |
Initialize.
Implemented in ArgusSamples::GalleryItemVideo, and ArgusSamples::GalleryItemImage.
|
inlinevirtual |
Pause the display.
Reimplemented in ArgusSamples::GalleryItemVideo.
Definition at line 126 of file Gallery.cpp.
|
inlinevirtual |
Rewind.
Reimplemented in ArgusSamples::GalleryItemVideo.
Definition at line 136 of file Gallery.cpp.
|
pure virtual |
shutdown
Implemented in ArgusSamples::GalleryItemVideo, and ArgusSamples::GalleryItemImage.
|
inlinevirtual |
Start the display.
Reimplemented in ArgusSamples::GalleryItemVideo.
Definition at line 121 of file Gallery.cpp.
|
inlinevirtual |
Toggle playback.
Reimplemented in ArgusSamples::GalleryItemVideo.
Definition at line 131 of file Gallery.cpp.
|
friend |
Compare function for sort().
Returns true if the first argument goes before the second argument, and false otherwise.
Definition at line 103 of file Gallery.cpp.
|
protected |
Definition at line 152 of file Gallery.cpp.
|
protected |
Definition at line 153 of file Gallery.cpp.
1.8.1