00001 //----------------------------------------------------------------------------- 00002 // (c) 2010 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 //----------------------------------------------------------------------------- 00029 #ifndef GENAPI_ISELECTORDIGIT_H 00030 #define GENAPI_ISELECTORDIGIT_H 00031 00032 #include <GenApi/GenApiDll.h> 00033 #include <GenApi/Types.h> 00034 #include <GenApi/Container.h> 00035 00036 namespace GENAPI_NAMESPACE 00037 { 00038 00040 interface GENAPI_DECL_ABSTRACT ISelectorDigit 00041 { 00044 virtual bool SetFirst() = 0; 00045 00049 virtual bool SetNext(bool Tick = true) = 0; 00050 00052 virtual void Restore() = 0; 00053 00055 virtual GENICAM_NAMESPACE::gcstring ToString() = 0; 00056 00058 virtual void GetSelectorList( 00059 GENAPI_NAMESPACE::FeatureList_t &SelectorList, 00060 bool Incremental = false 00061 ) = 0; 00062 00064 virtual ~ISelectorDigit() = 0; 00065 00066 }; 00067 00068 // Implementation required for Windows only. 00069 // Note: the C++ standard >= 11 prohibit pure virtual destructors with a function body 00070 // in the declaration. Consequently gcc 4.0 and newer reject an inline implementation 00071 // in the class. 00072 inline ISelectorDigit::~ISelectorDigit() 00073 { 00074 // do nothing 00075 } 00076 } 00077 00078 #endif 00079