comment5, http://dailybooth.com/antonsolis78/21320523 doxycycline parasites acne,  fkfbe, http://dailybooth.com/antonsolis78/21320672 allopurinol secondary effects in dogs,  8], http://dailybooth.com/antonsolis78/21320634 viagra generic price iframe,  :-[, http://dailybooth.com/antonsolis78/21320604 comapre viagra and cialis,  :OO, http://dailybooth.com/antonsolis78/21320512 mexican amoxil,  462886, http://dailybooth.com/antonsolis78/21320551 valtrex for shingled,  %-[[[,
#author("2021-09-21T01:42:04+00:00","default:admin","admin")
[[CameraAgentPlugIn]]

#contents

under construction...

* CameraAgentPlugIn class [#h6fcc1b1]

** variable [#a33a69e7]

*** std::string strDeviceName_ [#ia1fbad1]

device name or information

this member var. is loaded from dll after calling "OnInit" method automatically.

*** std::string strDllFilename_ [#ge2895d9]

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.



*** HINSTANCE hLib_ [private] [#ye500b30]

handle of DLL

you don't need to care about this var.


** public methods [#ie62d1df]

*** CameraAgentPlugIn() [#u5d81ffe]

constructor


*** ~CameraAgentPlugIn() [#aebe0472]
 
destructor

automatically calling "Close" method.


*** bool Open( LPCTSTR szDllFilename ) [#sc3a3817]

opens a dll file by specifying the filename of dll.

if succeeded the operation, it returns true. or not, returns false.


*** bool Open() [#ccf121f2]

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.


*** bool isOpen() [#k6f8bcef]

returns the dll is already opened or not.
 

*** bool Close() [#me176e37]
 
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.


*** bool OnInit( HWND hwndParent ) [#ta42d4d4]

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.

- hwndParent

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.


*** bool Capture( KImageRGB& a_image ) [#d42281d8]

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.


*** bool DoModalOptionDlg() [#j1d06bf4]

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.


*** bool SetResolution( int width_, int height_ ) [#c0eb3b46]

set a resolution of the device.

if succeeded the operation, it returns true. or not, returns false.


*** bool GetResolution( long* width_, long* height_ ) [#v8c27076]

retrieve a resolution of the device. 

if succeeded the operation, it returns true. or not, returns false.


** private methods [#bd44b6d6]

*** bool OnDestroy() [#g982847f]

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.
 
*** bool GetDllName() [#b4d4556d]

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.


* DLL Level Interface of CameraAgentPlugIn suit [#a381fb1e]

All CameraAgentPlugIn DLLs have to implement some public functions.

This section describes how to implement the functions.

Under construction...



* WDM Reader PlugIn [#s8d74a92]


* VfW Reader PlugIn [#m09e9e6a]


* HTTP/JPEG Reader PlugIn [#p562198e]

潟若若菴遵

トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS