Abstract base class for obstacle frame providers. More...
#include <FigureFrameFetcher.h>
Public Member Functions | |
| ObstacleBaseFrameFetch (const QString &valid_base_path, QObject *parent) | |
| Constructs the base obstacle frame fetcher. | |
| virtual QRect & | src_bounding_rect ()=0 |
| Returns the source bounding rectangle. | |
Public Member Functions inherited from FrameProvider | |
| FrameProvider (const QString &valid_base_path, QObject *parent) | |
| Constructs a FrameProvider with initial path. | |
| virtual | ~FrameProvider () |
| Destructor. | |
| void | append_src (const QString &valid_base_path) |
| Adds a single source path. | |
| void | append_srcs (const QStringList &valid_base_paths) |
| Adds multiple source paths. | |
| void | lock_src (const QString &valid_base_path) |
| Locks to a specific source path. | |
| void | terminate_flow () |
| Stops frame updates. | |
| void | resume_flow () |
| Resumes frame updates. | |
| void | manual_shuffle_once () |
| Manually triggers one frame shuffle. | |
| QPixmap & | src_pixmap () |
| Gets current source pixmap. | |
Abstract base class for obstacle frame providers.
|
explicit |
Constructs the base obstacle frame fetcher.
| valid_base_path | Path to valid frame resources. |
| parent | The parent QObject. |
|
pure virtual |
Returns the source bounding rectangle.
Implements FrameProvider.
Implemented in CactusFrameFetch, and BirdFrameFetch.