All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
ISerialAdapter.h
Go to the documentation of this file.
1 //-----------------------------------------------------------------------------
2 // (c) 2009 by DALSA
3 // Section: Digital Imaging
4 // Project: CLProtocol
5 // Author: Eric Bourbonnais
6 // $Header$
7 //
8 // License: This file is published under the license of the EMVA GenICam Standard Group.
9 // A text file describing the legal terms is included in your installation as 'GenICam_license.pdf'.
10 // If for some reason you are missing this file please contact the EMVA or visit the website
11 // (http://www.genicam.org) for a full copy.
12 //
13 // THIS SOFTWARE IS PROVIDED BY THE EMVA GENICAM STANDARD GROUP "AS IS"
14 // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
15 // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
16 // PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE EMVA GENICAM STANDARD GROUP
17 // OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
18 // EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
19 // PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
20 // OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
21 // WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
22 // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
23 // POSSIBILITY OF SUCH DAMAGE.
24 //-----------------------------------------------------------------------------
29 #ifndef CLPROTOCOL_ISERIALADAPTER_H
30 #define CLPROTOCOL_ISERIALADAPTER_H
31 
32 #include <CLProtocol/CLProtocol.h>
33 #include <CLProtocol/ISerial.h>
34 
35 namespace CLProtocol
36 {
38  {
40  virtual CLINT32 SerialInit( void) = 0;
41 
43  virtual void SerialClose( void) = 0;
44 
46  virtual void CheckError(
47  CLINT32 ErrorCode
48  ) = 0;
49 
50  };
51 
52 }
53 #endif // CLPROTOCOL_ISERIALADAPTER_H
CLProtocol
Definition: CLAllAdapter.h:64
CLProtocol.h
Exported C functions for camera link protocol drivers.
ISerial.h
Exported C functions for camera link protocol drivers.
CLPROTOCOL_DECL
#define CLPROTOCOL_DECL
Definition: CLProtocol.h:64
CLINT32
int CLINT32
Definition: ClSerialTypes.h:100
ISerial
Abstract interface used by the CLProtocol driver to use a serial port.
Definition: ISerial.h:42
CLProtocol::ISerialAdapter
Definition: ISerialAdapter.h:37


rc_genicam_api
Author(s): Heiko Hirschmueller
autogenerated on Wed Dec 4 2024 03:10:11