All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
GENAPI_NAMESPACE::CSelectorState Class Reference

#include <SelectorState.h>

Public Member Functions

void AddSelector (GENICAM_NAMESPACE::gcstring name, GENICAM_NAMESPACE::gcstring value)
 Add a node the the selector state. More...
 
void AddSelector (IValue &item)
 Add a node the the selector state. More...
 
 CSelectorState ()
 
GENICAM_NAMESPACE::gcstring GetNodeName ()
 Get the name of the current selector. More...
 
GENICAM_NAMESPACE::gcstring GetNodeValue ()
 Get the value of the current selector. More...
 
bool IsEmpty ()
 Sets state to next selector. More...
 
bool RestoreState (INodeMap *pNodeMap, GENICAM_NAMESPACE::gcstring_vector *pErrorList=NULL)
 Sets the selector of the nodemap to the saved state. More...
 
bool SetFirst ()
 Sets the state to the first selector. More...
 
bool SetNext ()
 Sets state to next selector. More...
 

Private Attributes

GENICAM_NAMESPACE::gcstring_vector m_Names
 
size_t m_position
 
GENICAM_NAMESPACE::gcstring_vector m_Values
 

Detailed Description

Definition at line 38 of file SelectorState.h.

Constructor & Destructor Documentation

◆ CSelectorState()

GENAPI_NAMESPACE::CSelectorState::CSelectorState ( )

Member Function Documentation

◆ AddSelector() [1/2]

void GENAPI_NAMESPACE::CSelectorState::AddSelector ( GENICAM_NAMESPACE::gcstring  name,
GENICAM_NAMESPACE::gcstring  value 
)

Add a node the the selector state.

◆ AddSelector() [2/2]

void GENAPI_NAMESPACE::CSelectorState::AddSelector ( IValue item)

Add a node the the selector state.

◆ GetNodeName()

GENICAM_NAMESPACE::gcstring GENAPI_NAMESPACE::CSelectorState::GetNodeName ( )

Get the name of the current selector.

◆ GetNodeValue()

GENICAM_NAMESPACE::gcstring GENAPI_NAMESPACE::CSelectorState::GetNodeValue ( )

Get the value of the current selector.

◆ IsEmpty()

bool GENAPI_NAMESPACE::CSelectorState::IsEmpty ( )

Sets state to next selector.

Returns
true if the selector states is empty

◆ RestoreState()

bool GENAPI_NAMESPACE::CSelectorState::RestoreState ( INodeMap pNodeMap,
GENICAM_NAMESPACE::gcstring_vector *  pErrorList = NULL 
)

Sets the selector of the nodemap to the saved state.

Parameters
pNodeMapThe node map to load into
pErrorListIf an error occurs during loading the error message is stored in the list and the loading continues

◆ SetFirst()

bool GENAPI_NAMESPACE::CSelectorState::SetFirst ( )

Sets the state to the first selector.

Returns
true if the resulting value is valid

◆ SetNext()

bool GENAPI_NAMESPACE::CSelectorState::SetNext ( )

Sets state to next selector.

Returns
true if the resulting value is valid

Member Data Documentation

◆ m_Names

GENICAM_NAMESPACE::gcstring_vector GENAPI_NAMESPACE::CSelectorState::m_Names
private

Definition at line 40 of file SelectorState.h.

◆ m_position

size_t GENAPI_NAMESPACE::CSelectorState::m_position
private

Definition at line 43 of file SelectorState.h.

◆ m_Values

GENICAM_NAMESPACE::gcstring_vector GENAPI_NAMESPACE::CSelectorState::m_Values
private

Definition at line 41 of file SelectorState.h.


The documentation for this class was generated from the following file:


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