32 #ifndef GENAPI_IEEE1212PARSER_H 33 #define GENAPI_IEEE1212PARSER_H 39 #ifdef _MSC_VER // *JS* 41 #pragma warning(disable: 4251) // class 'xxx' needs to have dll-interface to be used by clients of class 'yyy' 92 virtual bool GetProperty(CNodeDataMap *pNodeDataMap, CPropertyID::EProperty_ID_t PropertyID, CNodeData::PropertyVector_t &PropertyList)
const;
103 bool GetValue( uint8_t Key, uint64_t& Value );
127 bool ParseDirectory( uint32_t *p, Key_t searchkey, Key_t mapkey );
134 bool InsertValues( uint32_t *q,
bool lookup , Key_t key );
161 #ifdef _MSC_VER // *JS* 165 #endif // GENAPI_IEEE1212PARSER_H virtual EInterfaceType InternalGetPrincipalInterfaceType() const
Implementation of IBase::GetPrincipalInterfaceType()
void FinalConstruct()
finalizes the construction of the node
bool ParseRootDirectory(uint32_t *p, Key_t key)
bool CheckAddressRange(void *pv) const
std::map< Key_t, uint32_t > ValueMap_t
static uint64_t UnitIdentifier(const uint32_t BusInfo[])
bool ParseDescriptor(uint32_t *p, Key_t key)
bool GetValue(uint8_t Key, uint64_t &Value)
virtual void SetProperty(CProperty &Property)
virtual bool GetProperty(CNodeDataMap *pNodeDataMap, CPropertyID::EProperty_ID_t PropertyID, CNodeData::PropertyVector_t &PropertyList) const
virtual GENICAM_NAMESPACE::gcstring InternalToString(bool Verify=false, bool IgnoreCache=false)
Get value of the node as string.
Implementation of the IBase interface.
uint64_t m_Identity
Unit Identifier.
CIEEE1212ParserImpl(void)
Standard IRegister implementation Provides a chunk of memory which acts as a proxy to the register...
bool CheckIdentity() const
bool InsertValues(uint32_t *q, bool lookup, Key_t key)
bool GetDescriptor(uint8_t Key, GENICAM_NAMESPACE::gcstring &Value)
virtual bool IsTerminalNode() const
~CIEEE1212ParserImpl(void)
virtual void SetInvalid(INodePrivate::ESetInvalidMode simMode)
Initializes the object.
DescriptorMap_t m_DescMap
Map with strings found.
interface GENAPI_DECL_ABSTRACT bool Verify
uint32_t m_Language
0 = English (default)
virtual void InternalGet(uint8_t *, int64_t, bool Verify=false, bool IgnoreCache=false)
Retrieves a pointer to a buffer containing the register's contents.
uint32_t m_CharSet
0 = minimal ascii (default)
uint8_t * m_pBuffer
Buffer the register's content is cached in.
uint32_t * m_pUnitDirectory
Pointer to the Unit Directory.
uint32_t m_UnitId
Unit Specifier Id, assuming uniqueness.
A string class which is a clone of std::string.
ValueMap_t m_ValueMap
Map with numerical values found.
ESetInvalidMode
Three different modes of operation for INodePrivate::SetInvalid()
bool ParseUnitDirectory(uint32_t *p, Key_t key)
uint8_t * GetBuffer()
Gets the buffer; if required (re-)allocates memory.
bool ParseDirectory(uint32_t *p, Key_t searchkey, Key_t mapkey)
Part of the generic device API.
enum GENAPI_NAMESPACE::_EInterfaceType EInterfaceType
typedef for interface type
std::map< Key_t, GENICAM_NAMESPACE::gcstring > DescriptorMap_t
map type for textual descriptors
uint32_t * LocateUnitDirectory(uint32_t *pInstance, Key_t key=0xD1)
bool ParseUnitDependentDirectory(uint32_t *p, Key_t key)