6#include <UserEvent.idl>
17 constant
int NO_ERROR = 0;
18 constant
int ERR_INVALID_PARAM = 1;
19 constant
int ERR_INIT_IN_PROGRESS = 2;
20 constant
int ERR_ALREADY_RUNNING = 3;
21 constant
int ERR_TOO_LARGE = 4;
22 constant
int ERR_OPERATION_NOT_SUPPORTED = 5;
173 in
Direction direction, out vector<ImageStorageMetaData> meta);
190 in
Direction direction, out vector<StorageImage> image);
The storage manager interface.
StorageInformation getInformation()
get storage information
int getMetaData(in Webcam webcam, in long start, in int count, in Direction direction, out vector< ImageStorageMetaData > meta)
get meta data of images from storage
int removeImages(in Webcam webcam, in long start, in int count, in Direction direction)
remove an image of the storage
int getImages(in Webcam webcam, in long start, in int count, in Direction direction, out vector< StorageImage > image)
retrieve images from the storage
vector< Activity > getActivities()
get all running activities
int startActivity(in Webcam webcam, in int count, in int interval)
start a capture activity
StorageStatus
StorageStatus.
@ INITIALIZING
Initializing is in progress,.
vector< StorageType > getSupportedStorageTypes()
Get supported storage types.
int addImage(in Webcam webcam, in Image image, out long index)
add an image to the storage
int startActivityWithFolder(in Webcam webcam, in int count, in int interval, in string folder)
Start a capture activity, storing the images to a specific storage folder.
int setSettings(in StorageSettings settings)
set storage settings
StorageSettings getSettings()
get storage settings
int stopActivity(in Webcam webcam)
stop a capture activity
int count
nr of images to take
int done
nr of images taken
Webcam webcam
webcam object
int interval
capture interval
Event: image upload to storage started.
Webcam webcam
webcam object
string folderUrl
URL under which the containing folder can be accessed.
StorageMetaData metaData
meta data
StorageType type
storage type
string username
username (empty/ignored for LOCAL storage type)
string password
password (empty/ignored for LOCAL storage type)
int capacity
maximum number of stored images; obsolete, no longer used
string server
server ip, share and path (empty/ignored for LOCAL storage type)
Webcam webcam
webcam object
long oldestIndex
oldest know index
long newestIndex
newest know index
int count
nr of stored images from this webcam