#include <QueueIO.h>
◆ tcQueueIO()
◆ ~tcQueueIO()
tcQueueIO::~tcQueueIO |
( |
| ) |
|
|
virtual |
◆ capture()
Start a capture with this request. If the request's number of frames is tsNewRequest::CANCEL_CAPTURE then the current capture is stopped if possible.
- Parameters
-
asRequest | - the request for capture being made. |
- Returns
- a nack code if the capture parameters are inelligable for this IOChannel.
Implements tcIOChannel.
◆ currentSize()
uint32_t SocCamera::tcQueueIO::currentSize |
( |
| ) |
|
The current size of the queue. If it is greater than the number of images that can fit in RAM, the takeImage() function is undefined on what it will return.
- Returns
- the current size of the queue.
◆ flush()
void SocCamera::tcQueueIO::flush |
( |
| ) |
|
Flush all contents from the queue.
◆ registerWatcher()
void SocCamera::tcQueueIO::registerWatcher |
( |
tcQueueWatcher * |
apNewWatcher | ) |
|
◆ sendUpdate()
When this is called, a stream into memory is complete.
- Parameters
-
apMsg | - the update message. |
Implements tcIOChannel.
◆ setBpp()
Operation not supported; p-resent for compatibility with library.
All images are 16 bit.
- Parameters
-
aeBppMode | - the bits per pixel mode. |
- Returns
- the nack code for the operation
Implements tcIOChannel.
◆ setThreshold()
void SocCamera::tcQueueIO::setThreshold |
( |
uint32_t |
anMaxSize | ) |
|
Set the maximum number of images that can be in the queue at any given time.
When the threshold is exceeded, the threshold exceeded function of the watcher classes will be called.
- Parameters
-
the | maximum size of the queue. |
◆ takeImage()
tcImage * SocCamera::tcQueueIO::takeImage |
( |
| ) |
|
Pops an image from the queue.
- Returns
- a heap allocated pointer to an image that is now the caller's responsibility. NULL if there is no image to take (when currentSize() == 0).
◆ takeMessage()
Take just the new frame message.
- Returns
- the new frame message from the front of the queue. It is then popped off the queue.
◆ unregisterWatcher()
void SocCamera::tcQueueIO::unregisterWatcher |
( |
tcQueueWatcher * |
apWatcher | ) |
|
The documentation for this class was generated from the following files:
- /tmp/mitycam_sdk/ARM/camera_software/src/Utility/QueueIO.h
- /tmp/mitycam_sdk/ARM/camera_software/src/Utility/QueueIO.cpp