comment1, http://dailybooth.com/goodwinantwan/20975037	 drug information inderal,  999133, http://dailybooth.com/jeremiahh03/20974488	 inderal for,  mrzrt, http://dailybooth.com/jeremiahh03/20974557	 viagra generic,  ukhx, http://dailybooth.com/goodwinantwan/20975078	 natural propecia,  0007, http://dailybooth.com/jeremiahh03/20974446	 ampicillin uses and adverse effects,  516961, http://dailybooth.com/goodwinantwan/20974998	 long term cialis use,  >:-OOO, http://dailybooth.com/burlsmn149/20973198	 doxycycline eye problems,  :], http://dailybooth.com/burlsmn149/20973275	 propecia long-term affects,  58329, http://dailybooth.com/goodwinantwan/20975021	 antibiotic doxycycline,  093551, http://dailybooth.com/delmerkirkland85/20973881	 zithromax for sinus infection,  jkzhu, http://dailybooth.com/burlsmn149/20973300	 strattera success stories,  787990,
#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