31 #ifndef GENAPI_REGISTER_H 32 #define GENAPI_REGISTER_H 42 #include "../IInteger.h" 43 #include "../IEnumeration.h" 114 virtual void InternalGet(uint8_t *ppBuffer,
int64_t pLength,
bool Verify =
false,
bool IgnoreCache =
false) ;
132 virtual bool GetProperty(CNodeDataMap *pNodeDataMap, CPropertyID::EProperty_ID_t PropertyID, CNodeData::PropertyVector_t &PropertyList)
const;
168 :
public NodeT< RegisterT < ValueT < BaseT < CRegisterImpl > > > >
174 #endif // ifndef GENAPI_REGISTER_H virtual EInterfaceType InternalGetPrincipalInterfaceType() const
Implementation of IBase::GetPrincipalInterfaceType()
virtual int64_t InternalGetLength(bool Verify)
Retrieves the Length of the register [Bytes].
Definition of the ValueT class template.
virtual bool CanBeWritten(bool Verify)
std::list< CIntegerOffsetPolyRef > m_Indexes
List of Indexes or pointer to address supplying nodes.
virtual ECachingMode InternalGetCachingMode() const
Get Caching Mode.
GENICAM_INTERFACE GENAPI_DECL_ABSTRACT bool Verify
std::list< IValue * > ValueList_t
List of EnumInt-node references.
int64_t m_Address
Address of the register.
void UpdateAddress(bool Verify, bool IgnoreCache)
Recomputes the Address.
GENICAM_INTERFACE GENAPI_DECL_ABSTRACT IRegister
Interface for registers.
CIntegerPolyRef m_Length
Length of the register.
std::list< CIntegerPolyRef > m_Addresses
List of Addresses or pointer to address supplying nodes.
Definition of the RegisterT class template.
Definition of the NodeT class template.
virtual bool GetProperty(CNodeDataMap *pNodeDataMap, CPropertyID::EProperty_ID_t PropertyID, CNodeData::PropertyVector_t &PropertyList) const
Implementation of the INode interface.
Standard IRegister implementation Provides a chunk of memory which acts as a proxy to the register...
enum GENAPI_NAMESPACE::_ECachingMode ECachingMode
caching mode of a register
GENICAM_INTERFACE GENAPI_DECL_ABSTRACT int64_t int64_t Length
virtual void InternalGet(uint8_t *ppBuffer, int64_t pLength, bool Verify=false, bool IgnoreCache=false)
Retrieves a pointer to a buffer containing the register's contents.
int64_t m_AddressValid
TRue if m_Address is valid.
CRegisterImpl()
Default Contructor.
Definition of the BaseT class template.
Standard implementation for the INode and the ISelector interface.
CPort * m_pPort
pointer to Port node providing access to the port
A string class which is a clone of std::string.
enum GENAPI_NAMESPACE::_EAccessMode EAccessMode
access mode of a node
virtual void FinalConstruct()
finalizes the construction of the node
virtual void InternalSet(const uint8_t *pBuffer, int64_t Length, bool Verify=true)
Set the register's contents.
A reference to an int64 which can bei either an int64 variable, or a pointer to an IInteger...
EAccessMode m_AccessMode
the access mode
ESetInvalidMode
Three different modes of operation for INodePrivate::SetInvalid()
virtual EAccessMode InternalGetAccessMode() const
Get the access mode of the node.
virtual void SetInvalid(INodePrivate::ESetInvalidMode simMode)
Initializes the object.
virtual void InternalFromString(const GENICAM_NAMESPACE::gcstring &valueString, bool Verify=true)
Set value of the node as string.
Common types used in the GenApi implementation.
virtual int64_t InternalGetAddress(bool Verify, bool IgnoreCache)
Retrieves the Address of the register.
virtual void SetProperty(CProperty &Property)
Lexical analyzer for CIntSwissKnife.
enum GENAPI_NAMESPACE::_EInterfaceType EInterfaceType
typedef for interface type
virtual GENICAM_NAMESPACE::gcstring InternalToString(bool Verify=false, bool IgnoreCache=false)
Implements interface IValue (called by IValueT)