Standard IPort implementation. More...
#include <Port.h>
Public Member Functions | |
virtual EYesNo | CacheChunkData () const |
Indicates if the chunk a adapter must hold a cached version of the chunk data. | |
CPortImplIntern () | |
Default constructor. | |
virtual GENICAM_NAMESPACE::gcstring | GetChunkID () const |
Get the Id of the chunk the port should be attached to. | |
virtual bool | GetProperty (CNodeDataMap *pNodeDataMap, CPropertyID::EProperty_ID_t PropertyID, CNodeData::PropertyVector_t &PropertyList) const |
virtual EYesNo | GetSwapEndianess () |
Determines if the port adapter must perform an endianess swap. | |
virtual CValueCache * | GetValueCache () const |
Returns the value cache. | |
virtual void | Read (void *pBuffer, int64_t Address, int64_t Length) |
Reads a chunk of bytes from the port. | |
virtual void | Replay (IPortWriteList *pPortRecorder, bool Invalidate=true) |
Sends the commands to the camera. | |
void | SetPortImpl (IPort *pPort) |
Sets pointer the real port implementation; this function may called only once. | |
virtual void | SetProperty (CProperty &Property) |
virtual void | StartRecording (IPortWriteList *pPortRecorder) |
Starts logging all WriteRegister commands to a list. | |
virtual void | StopRecording () |
Stops recording. | |
virtual void | Write (const void *pBuffer, int64_t Address, int64_t Length) |
Writes a chunk of bytes to the port. | |
virtual | ~CPortImplIntern () |
Destructor. | |
Protected Member Functions | |
virtual EAccessMode | InternalGetAccessMode () const |
Get the access mode of the node. | |
virtual EInterfaceType | InternalGetPrincipalInterfaceType () const |
Implementation of IBase::GetPrincipalInterfaceType() | |
Protected Attributes | |
EYesNo | m_CacheChunkData |
Determines if the port adapter must cache the chunk data. | |
CStringPolyRef | m_ChunkID |
The ChunkID. | |
IPort * | m_pPort |
Pointer to node giving access to the real port implementation. | |
IPortWriteList * | m_pPortWriteList |
Pointer to node giving access to the real port implementation. | |
GENAPI_NAMESPACE::CValueCache * | m_pValueCache |
Pointer the value cache. | |
EYesNo | m_SwapEndianess |
Determines if the port adapter must perform an endianess swap. |
Standard IPort implementation.
Proxy forwarding all calls to the real implementation
Default constructor.
virtual GENAPI_NAMESPACE::CPortImplIntern::~CPortImplIntern | ( | ) | [virtual] |
Destructor.
virtual EYesNo GENAPI_NAMESPACE::CPortImplIntern::CacheChunkData | ( | ) | const [virtual] |
Indicates if the chunk a adapter must hold a cached version of the chunk data.
virtual GENICAM_NAMESPACE::gcstring GENAPI_NAMESPACE::CPortImplIntern::GetChunkID | ( | ) | const [virtual] |
Get the Id of the chunk the port should be attached to.
virtual bool GENAPI_NAMESPACE::CPortImplIntern::GetProperty | ( | CNodeDataMap * | pNodeDataMap, |
CPropertyID::EProperty_ID_t | PropertyID, | ||
CNodeData::PropertyVector_t & | PropertyList | ||
) | const [virtual] |
Reimplemented from GENAPI_NAMESPACE::CNodeImpl.
virtual EYesNo GENAPI_NAMESPACE::CPortImplIntern::GetSwapEndianess | ( | ) | [virtual] |
Determines if the port adapter must perform an endianess swap.
virtual CValueCache* GENAPI_NAMESPACE::CPortImplIntern::GetValueCache | ( | ) | const [virtual] |
Returns the value cache.
virtual EAccessMode GENAPI_NAMESPACE::CPortImplIntern::InternalGetAccessMode | ( | ) | const [protected, virtual] |
Get the access mode of the node.
Reimplemented from GENAPI_NAMESPACE::CNodeImpl.
virtual EInterfaceType GENAPI_NAMESPACE::CPortImplIntern::InternalGetPrincipalInterfaceType | ( | ) | const [inline, protected, virtual] |
Implementation of IBase::GetPrincipalInterfaceType()
Reimplemented from GENAPI_NAMESPACE::CNodeImpl.
virtual void GENAPI_NAMESPACE::CPortImplIntern::Read | ( | void * | pBuffer, |
int64_t | Address, | ||
int64_t | Length | ||
) | [virtual] |
Reads a chunk of bytes from the port.
virtual void GENAPI_NAMESPACE::CPortImplIntern::Replay | ( | IPortWriteList * | pPortRecorder, |
bool | Invalidate = true |
||
) | [virtual] |
Sends the commands to the camera.
The default implementation just walks the list and issues each command using the WriteRegister method. Depending on the capabilities of the transport layer the implementation can however use a special command which sends all register write commands as one package.
void GENAPI_NAMESPACE::CPortImplIntern::SetPortImpl | ( | IPort * | pPort | ) |
Sets pointer the real port implementation; this function may called only once.
virtual void GENAPI_NAMESPACE::CPortImplIntern::SetProperty | ( | CProperty & | Property | ) | [virtual] |
Reimplemented from GENAPI_NAMESPACE::CNodeImpl.
virtual void GENAPI_NAMESPACE::CPortImplIntern::StartRecording | ( | IPortWriteList * | pPortRecorder | ) | [virtual] |
Starts logging all WriteRegister commands to a list.
virtual void GENAPI_NAMESPACE::CPortImplIntern::StopRecording | ( | ) | [virtual] |
Stops recording.
virtual void GENAPI_NAMESPACE::CPortImplIntern::Write | ( | const void * | pBuffer, |
int64_t | Address, | ||
int64_t | Length | ||
) | [virtual] |
Writes a chunk of bytes to the port.
IPort* GENAPI_NAMESPACE::CPortImplIntern::m_pPort [protected] |
IPortWriteList* GENAPI_NAMESPACE::CPortImplIntern::m_pPortWriteList [protected] |
GENAPI_NAMESPACE::CValueCache* GENAPI_NAMESPACE::CPortImplIntern::m_pValueCache [mutable, protected] |