CameraAgentPlugIn/Reference
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
[[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...
*** std::string strDllFilename_ [#ge2895d9]
dll's filename
if you use "Open" method that has no argument ver, you ha...
Or not; you use "Open" method with filename, you don't ne...
*** 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, retu...
*** bool Open() [#ccf121f2]
opens a dll file.
the filename of dll is supplied by the member variable "s...
if succeeded the operation, it returns true. or not, retu...
*** 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 t...
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...
- hwndParent
HWND of parent window.
some type of dll (mainly "VfwReader.dll") has to be suppl...
but almost DLLs don't need HWND, you specify it as NULL s...
if succeeded the operation, it returns true. or not, retu...
*** bool Capture( KImageRGB& a_image ) [#d42281d8]
capture an image of the connected device.
the size of captured image is depends on the settings fro...
if succeeded the operation, it returns true. or not, retu...
*** bool DoModalOptionDlg() [#j1d06bf4]
show an option dialog.
each dll has own option dialog for setting some parameter...
if succeeded the operation, it returns true. or not, retu...
*** bool SetResolution( int width_, int height_ ) [#c0eb3...
set a resolution of the device.
if succeeded the operation, it returns true. or not, retu...
*** bool GetResolution( long* width_, long* height_ ) [#v...
retrieve a resolution of the device.
if succeeded the operation, it returns true. or not, retu...
** 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, retu...
*** bool GetDllName() [#b4d4556d]
retrieve an information for dll or device (it depends on ...
this method is called by "Open" method automatically.
if succeeded the operation, it returns true. or not, retu...
* DLL Level Interface of CameraAgentPlugIn suit [#a381fb1e]
All CameraAgentPlugIn DLLs have to implement some public ...
This section describes how to implement the functions.
Under construction...
* WDM Reader PlugIn [#s8d74a92]
* VfW Reader PlugIn [#m09e9e6a]
* HTTP/JPEG Reader PlugIn [#p562198e]
終了行:
[[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...
*** std::string strDllFilename_ [#ge2895d9]
dll's filename
if you use "Open" method that has no argument ver, you ha...
Or not; you use "Open" method with filename, you don't ne...
*** 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, retu...
*** bool Open() [#ccf121f2]
opens a dll file.
the filename of dll is supplied by the member variable "s...
if succeeded the operation, it returns true. or not, retu...
*** 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 t...
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...
- hwndParent
HWND of parent window.
some type of dll (mainly "VfwReader.dll") has to be suppl...
but almost DLLs don't need HWND, you specify it as NULL s...
if succeeded the operation, it returns true. or not, retu...
*** bool Capture( KImageRGB& a_image ) [#d42281d8]
capture an image of the connected device.
the size of captured image is depends on the settings fro...
if succeeded the operation, it returns true. or not, retu...
*** bool DoModalOptionDlg() [#j1d06bf4]
show an option dialog.
each dll has own option dialog for setting some parameter...
if succeeded the operation, it returns true. or not, retu...
*** bool SetResolution( int width_, int height_ ) [#c0eb3...
set a resolution of the device.
if succeeded the operation, it returns true. or not, retu...
*** bool GetResolution( long* width_, long* height_ ) [#v...
retrieve a resolution of the device.
if succeeded the operation, it returns true. or not, retu...
** 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, retu...
*** bool GetDllName() [#b4d4556d]
retrieve an information for dll or device (it depends on ...
this method is called by "Open" method automatically.
if succeeded the operation, it returns true. or not, retu...
* DLL Level Interface of CameraAgentPlugIn suit [#a381fb1e]
All CameraAgentPlugIn DLLs have to implement some public ...
This section describes how to implement the functions.
Under construction...
* WDM Reader PlugIn [#s8d74a92]
* VfW Reader PlugIn [#m09e9e6a]
* HTTP/JPEG Reader PlugIn [#p562198e]
ページ名: