Go to the documentation of this file.
31 #ifndef GENAPI_CHUNKPORT_H
32 #define GENAPI_CHUNKPORT_H
39 # pragma warning(push)
40 # pragma warning(disable: 4251) // GenApi::CChunkPort::m_ptrPort' : class 'GenApi::CPointer<T>' needs to have dll-interface
118 return m_ChunkIDLength;
122 bool CheckChunkID(uint8_t* pChunkIDBuffer,
int ChunkIDLength);
125 bool CheckChunkID(uint64_t ChunkID);
128 void UpdateBuffer(uint8_t *pBaseAddress);
136 if (!m_ptrPort.IsValid())
139 return m_ptrPort->GetNodeMap()->GetLock();
183 # pragma warning(pop)
186 #endif // GENAPI_CHUNKPORT_H
Lexical analyzer for CIntSwissKnife.
enum GENAPI_NAMESPACE::_EAccessMode EAccessMode
access mode of a node
int m_ChunkIDLength
Length of the chunk ID buffer.
Definition of template CPointer.
uint8_t * m_pChunkData
cache for the chunk data
bool m_CacheData
indicates if the data needs to be cached
int64_t m_ChunkOffset
The chunk's offset within the buffer.
bool m_ChunkIDNumberValid
indicates if the m_ChunkIDNumber is valid (could be invalid eg. if the ID does not fit in 64-bit rang...
virtual EInterfaceType GetPrincipalInterfaceType() const =0
Get the type of the main interface of a node.
int GetChunkIDLength()
Gets the ChunkID length.
int64_t m_Length
Length of the chunk.
virtual void Write(const void *pBuffer, int64_t Address, int64_t Length)=0
Writes a chunk of bytes to the port.
Definition of interface INodeMap.
enum GENAPI_NAMESPACE::_EInterfaceType EInterfaceType
typedef for interface type
GENICAM_INTERFACE GENAPI_DECL_ABSTRACT IPortStacked
Interface for ports.
GENICAM_INTERFACE GENAPI_DECL_ABSTRACT int64_t Address
uint64_t m_ChunkIDNumber
Chunk ID stored as a number (for more straightforward access)
uint8_t * m_pBaseAddress
Pointer to the begin of the buffer.
int64_t m_LengthAlloc
Space allocated for the chunk.
GENICAM_INTERFACE GENAPI_DECL_ABSTRACT int64_t int64_t Length
enum GENAPI_NAMESPACE::_EYesNo EYesNo
Defines the choices of a Yes/No alternatives.
virtual void InvalidateNode()=0
Indicates that the node's value may have changed.
Port attachable to a chunk in a buffer.
Definition of interface IPortConstruct.
GENICAM_INTERFACE GENAPI_DECL_ABSTRACT IPort
Interface for ports.
#define RUNTIME_EXCEPTION
Fires a runtime exception, e.g. throw RUNTIME_EXCEPTION("buh!")
virtual EYesNo GetSwapEndianess()
Determines if the port adapter must perform an endianess swap.
CNodePtr m_ptrPort
Pointer to the node holding a reference to this implementation.
virtual IBoolean & operator=(bool Value)
Set node value.
GENICAM_INTERFACE GENAPI_DECL_ABSTRACT IPortConstruct
Interface for ports.
uint8_t * m_pChunkIDBuffer
Binary version of the chunk ID.
rc_genicam_api
Author(s): Heiko Hirschmueller
autogenerated on Wed Dec 4 2024 03:10:11