GenApi  3.5.1
IDeviceInfo.h
Go to the documentation of this file.
1 //-----------------------------------------------------------------------------
2 // (c) 2006 by Basler Vision Technologies
3 // Author: Fritz Dierks
4 //
5 // License: This file is published under the license of the EMVA GenICam Standard Group.
6 // A text file describing the legal terms is included in your installation as 'GenICam_license.pdf'.
7 // If for some reason you are missing this file please contact the EMVA or visit the website
8 // (http://www.genicam.org) for a full copy.
9 //
10 // THIS SOFTWARE IS PROVIDED BY THE EMVA GENICAM STANDARD GROUP "AS IS"
11 // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
12 // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
13 // PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE EMVA GENICAM STANDARD GROUP
14 // OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
15 // EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
16 // PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
17 // OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
18 // WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
19 // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
20 // POSSIBILITY OF SUCH DAMAGE.
21 //
22 //-----------------------------------------------------------------------------
29 #ifndef GENAPI_DEVICEINFO_H
30 #define GENAPI_DEVICEINFO_H
31 
32 #include <Base/GCBase.h>
33 #include <GenApi/Types.h>
34 
35 #ifdef _MSC_VER
36 # pragma warning ( push )
37 # pragma warning ( disable : 4251 ) // XXX needs to have dll-interface to be used by clients of class YYY
38 #endif
39 
40 namespace GENAPI_NAMESPACE
41 {
42 
43  //*************************************************************
44  // IDeviceInfo interface
45  //*************************************************************
46 
51  GENICAM_INTERFACE GENAPI_DECL_ABSTRACT IDeviceInfo
52  {
54  virtual GENICAM_NAMESPACE::gcstring GetModelName() = 0;
55 
58 
61 
64 
66  virtual void GetGenApiVersion(Version_t &Version, uint16_t &Build) = 0;
67 
69  virtual void GetSchemaVersion(Version_t &Version) = 0;
70 
72  virtual void GetDeviceVersion(Version_t &Version) = 0;
73 
76 
79  };
80 }
81 
82 #ifdef _MSC_VER
83 # pragma warning ( pop )
84 #endif
85 
86 #endif // ifndef GENAPI_IDEVICEINFO_H
Common types used in the public GenApi interface.
virtual GENICAM_NAMESPACE::gcstring GetStandardNameSpace()=0
Get the standard name space.
GENICAM_INTERFACE GENAPI_DECL_ABSTRACT IDeviceInfo
Interface to get information about the device (= nodemap)
Definition: IDeviceInfo.h:52
version
Definition: GCTypes.h:272
virtual void GetSchemaVersion(Version_t &Version)=0
Get the schema version number.
Common GenICam base include file.
virtual GENICAM_NAMESPACE::gcstring GetVendorName()=0
Get the vendor name.
A string class which is a clone of std::string.
Definition: GCString.h:50
virtual void GetDeviceVersion(Version_t &Version)=0
Get the version of the device description file.
virtual GENICAM_NAMESPACE::gcstring GetToolTip()=0
Get tool tip.
virtual void GetGenApiVersion(Version_t &Version, uint16_t &Build)=0
Get the version of the DLL&#39;s GenApi implementation.
Definition: ChunkAdapter.h:37
virtual GENICAM_NAMESPACE::gcstring GetProductGuid()=0
Get the Guid describing the product.
virtual GENICAM_NAMESPACE::gcstring GetVersionGuid()=0
Get the Guid describing the product version.