Unibrain API-810 User Manual Page 20

  • Download
  • Add to my manuals
  • Print
  • Page
    / 97
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 19
20
Reference
In the following reference of all interfaces implemented, “Long” is defined as a 32-bit signed integer value,
and “Integer” is defined as a 16-bit signed integer value. “Byte” on the other hand is an 8-bit unsigned
integer value. “Single” is a single-precision floating-point number.
FireiXPreviewCtrl
The FireiXPreviewCtrl is an ActiveX control, which purpose is to show the video output of the underlying API
at work. It can be resized at will while running, and can be attached on any form type, on any language or
programming environment that supports ActiveX.
Additionally, it has the following methods and events implemented in its interface:
CreateManager method
Prototype
FireiXManager CreateManager()
Comments
This method is a simple factory for a FireiXManager object instance. The created object is not dependent
on the lifecycle of the FireiXPreviewCtrl, it can be considered valid even when the control has been
destroyed.
Note that the FireiXManager object can be directly created in any language that supports COM object
creation. The CreateManager method is useful for languages that do not, or make it very difficult to do so.
Visual Basic 6.0 syntax
Dim Manager As FireiXManager
Set Manager = FireiXPreviewCtrl1.CreateManager
C++ syntax
IFireiXManager* pIManager;
HRESULT hr = pIPreviewCtrl1->CreateManager(&pIManager);
AttachCamera method
Prototype
AttachCamera(IN FireiXCamera Camera)
Comments
With this method, an already created FireiXCamera object is attached to this FireiXPreviewCtrl. This
“attachment” means in plain words, that whenever from now on the camera sends video, it will be displayed
on this control.
AttachCamera can be called many times during the lifecycle of the FireiXPreviewCtrl, each time the
existing attached camera (if any) is replaced with the new one. It is very conceivable that many cameras are
in succession attached to a single control, if desired by the programmer.
Page view 19
1 2 ... 15 16 17 18 19 20 21 22 23 24 25 ... 96 97

Comments to this Manuals

No comments