00001 //----------------------------------------------------------------------------- 00002 // (c) 2006 by Basler Vision Technologies 00003 // Section: Vision Components 00004 // Project: GenApi 00005 // Author: Fritz Dierks 00006 // $Header$ 00007 // 00008 // License: This file is published under the license of the EMVA GenICam Standard Group. 00009 // A text file describing the legal terms is included in your installation as 'GenICam_license.pdf'. 00010 // If for some reason you are missing this file please contact the EMVA or visit the website 00011 // (http://www.genicam.org) for a full copy. 00012 // 00013 // THIS SOFTWARE IS PROVIDED BY THE EMVA GENICAM STANDARD GROUP "AS IS" 00014 // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, 00015 // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 00016 // PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE EMVA GENICAM STANDARD GROUP 00017 // OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 00018 // EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 00019 // PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 00020 // OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 00021 // WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 00022 // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 00023 // POSSIBILITY OF SUCH DAMAGE. 00024 //----------------------------------------------------------------------------- 00031 #ifndef GENAPI_DEVICEINFO_H 00032 #define GENAPI_DEVICEINFO_H 00033 00034 #include <Base/GCBase.h> 00035 00036 #ifdef _MSC_VER 00037 # pragma warning ( push ) 00038 # pragma warning ( disable : 4251 ) // XXX needs to have dll-interface to be used by clients of class YYY 00039 #endif 00040 00041 namespace GENAPI_NAMESPACE 00042 { 00043 00044 //************************************************************* 00045 // IDeviceInfo interface 00046 //************************************************************* 00047 00052 interface GENAPI_DECL_ABSTRACT IDeviceInfo 00053 { 00055 virtual GENICAM_NAMESPACE::gcstring GetModelName() = 0; 00056 00058 virtual GENICAM_NAMESPACE::gcstring GetVendorName() = 0; 00059 00061 virtual GENICAM_NAMESPACE::gcstring GetToolTip() = 0; 00062 00064 virtual GENICAM_NAMESPACE::gcstring GetStandardNameSpace() = 0; 00065 00067 virtual void GetGenApiVersion(Version_t &Version, uint16_t &Build) = 0; 00068 00070 virtual void GetSchemaVersion(Version_t &Version) = 0; 00071 00073 virtual void GetDeviceVersion(Version_t &Version) = 0; 00074 00076 virtual GENICAM_NAMESPACE::gcstring GetProductGuid() = 0; 00077 00079 virtual GENICAM_NAMESPACE::gcstring GetVersionGuid() = 0; 00080 }; 00081 } 00082 00083 #ifdef _MSC_VER 00084 # pragma warning ( pop ) 00085 #endif 00086 00087 #endif // ifndef GENAPI_IDEVICEINFO_H