under construction...
device name or information
this member var. is loaded from dll after calling "OnInit" method automatically.
dll's filename
if you use "Open" method that has no argument ver, you have to set this variable before your calling "Open" method.
Or not; you use "Open" method with filename, you don't need to care about this var.
handle of DLL
you don't need to care about this var.
constructor
destructor
automatically calling "Close" method.
opens a dll file by specifying the filename of dll.
if succeeded the operation, it returns true. or not, returns false.
opens a dll file.
the filename of dll is supplied by the member variable "strDllFilename_" before calling. so you must set the var before calling.
if succeeded the operation, it returns true. or not, returns false.
returns the dll is already opened or not.
close the dll(device)
if you don't call this method, the destructor will call this method automatically.
so you'll no need to care of this method in almost cases.
issue an initialization command to dll.
YOU MUST CALL THIS METHOD AFTER CALLING "Open" METHOD.
remember to check the return value is true or not. it's an important information. if the value is false, you can't use this dll currently.
HWND of parent window.
some type of dll (mainly "VfwReader.dll") has to be supplied the parent window handle. but almost DLLs don't need HWND, you specify it as NULL simply.
if succeeded the operation, it returns true. or not, returns false.
capture an image of the connected device.
the size of captured image is depends on the settings from option dialog or last calling of "SetResolution" method.
if succeeded the operation, it returns true. or not, returns false.
show an option dialog.
each dll has own option dialog for setting some parameters like resolution.
if succeeded the operation, it returns true. or not, returns false.
set a resolution of the device.
if succeeded the operation, it returns true. or not, returns false.
retrieve a resolution of the device.
if succeeded the operation, it returns true. or not, returns false.
notify the "finish" signal to the device.
this method is called by "Close" method automatically.
if succeeded the operation, it returns true. or not, returns false.
retrieve an information for dll or device (it depends on dll).
this method is called by "Open" method automatically.
if succeeded the operation, it returns true. or not, returns false.
All CameraAgentPlugIn DLLs have to implement some public functions.
This section describes how to implement the functions.
Under construction...