All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
SelectorState.h
Go to the documentation of this file.
1 //-----------------------------------------------------------------------------
2 // (c) 2019 by Teledyne Digital Imaging Inc.
3 // Section: DALSA
4 // Project: GenApi
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 GENAPI_SELECTORSTATE_H
30 #define GENAPI_SELECTORSTATE_H
31 
32 #include <GenApi/Types.h>
33 #include <GenApi/IValue.h>
34 
35 namespace GENAPI_NAMESPACE
36 {
37 
39  {
40  GENICAM_NAMESPACE::gcstring_vector m_Names;
41  GENICAM_NAMESPACE::gcstring_vector m_Values;
42 
43  size_t m_position;
44 
45  public:
47 
50  bool SetFirst();
51 
54  bool SetNext();
55 
57  void AddSelector(IValue& item);
58 
60  void AddSelector(GENICAM_NAMESPACE::gcstring name,
62 
64  GENICAM_NAMESPACE::gcstring GetNodeName();
65 
67  GENICAM_NAMESPACE::gcstring GetNodeValue();
68 
71  bool IsEmpty();
72 
76  bool RestoreState(INodeMap *pNodeMap, GENICAM_NAMESPACE::gcstring_vector *pErrorList = NULL);
77  };
78 
79 }
80 #endif // GENAPI_SELECTORSTATE_H
GENAPI_NAMESPACE
Lexical analyzer for CIntSwissKnife.
Definition: Destructible.h:30
Types.h
Common types used in the public GenApi interface.
GENICAM_NAMESPACE::gcstring
A string class which is a clone of std::string.
Definition: GCString.h:52
GENAPI_NAMESPACE::CSelectorState::m_position
size_t m_position
Definition: SelectorState.h:43
GENAPI_DECL
#define GENAPI_DECL
Definition: GenApiDll.h:55
GENAPI_NAMESPACE::CSelectorState
Definition: SelectorState.h:38
GENAPI_NAMESPACE::INodeMap
GENICAM_INTERFACE INodeMap
Interface to access the node map.
Definition: INode.h:52
GENAPI_NAMESPACE::CSelectorState::m_Names
GENICAM_NAMESPACE::gcstring_vector m_Names
Definition: SelectorState.h:40
GENAPI_NAMESPACE::SetNext
virtual bool SetNext(bool Tick=true)=0
Sets digit to next value.
GENAPI_NAMESPACE::IValue
GENICAM_INTERFACE GENAPI_DECL_ABSTRACT IValue
Interface for value properties.
Definition: IValue.h:61
IValue.h
Definition of the interface IValue.
GENAPI_NAMESPACE::CSelectorState::m_Values
GENICAM_NAMESPACE::gcstring_vector m_Values
Definition: SelectorState.h:41


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