SelectorSet.h
Go to the documentation of this file.
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_SELECTORSET_H
00030 #define GENAPI_SELECTORSET_H
00031 
00032 #include <GenApi/GenApiDll.h>
00033 #include <GenApi/ISelectorDigit.h>
00034 #include <GenApi/IBase.h>
00035 #include <GenApi/Pointer.h>
00036 
00037 namespace GENAPI_NAMESPACE
00038 {
00039 
00041     class GENAPI_DECL CSelectorSet : public ISelectorDigit
00042     {
00043     public:
00045         CSelectorSet ( 
00046             IBase *pBase 
00047             );
00048 
00050         virtual ~CSelectorSet();
00051 
00053         bool IsEmpty();
00054 
00055 
00056         // Implementation of ISelectorDigit
00057     public:
00058         virtual bool SetFirst();
00059         virtual bool SetNext(bool Tick = true);
00060         virtual void Restore();
00061         virtual GENICAM_NAMESPACE::gcstring ToString();
00062         virtual void GetSelectorList( GENAPI_NAMESPACE::FeatureList_t &SelectorList, bool Incremental = false );
00063 
00064     private:
00065         struct SelectorIteratorList_t;
00067         SelectorIteratorList_t *m_pSelectorIterators;
00068 
00070         void ExploreSelector( 
00071             CNodePtr &ptrNode, 
00072             NodeList_t &SelectorNodes 
00073             );
00074 
00076         void Create( 
00077             IBase* pBase 
00078             );
00079     };
00080 
00081 }
00082 #endif
00083 


rc_genicam_api
Author(s): Heiko Hirschmueller
autogenerated on Thu Jun 6 2019 18:42:47