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

This is the port definition that connects GenAPI to GenTL. More...

#include <cport.h>

Inheritance diagram for rcg::CPort:

Public Member Functions

 CPort (std::shared_ptr< const GenTLWrapper > gentl, void **port)
 
GenApi::EAccessMode GetAccessMode () const
 
void Read (void *buffer, int64_t addr, int64_t length)
 
void Write (const void *buffer, int64_t addr, int64_t length)
 

Private Attributes

std::shared_ptr< const GenTLWrappergentl
 
void ** port
 

Detailed Description

This is the port definition that connects GenAPI to GenTL.

It is implemented such that it works with a pointer to a handle. The methods do nothing if the handle is 0.

Definition at line 52 of file cport.h.

Constructor & Destructor Documentation

◆ CPort()

rcg::CPort::CPort ( std::shared_ptr< const GenTLWrapper gentl,
void **  port 
)

Definition at line 53 of file cport.cc.

Member Function Documentation

◆ GetAccessMode()

GenApi::EAccessMode rcg::CPort::GetAccessMode ( ) const

Definition at line 127 of file cport.cc.

◆ Read()

void rcg::CPort::Read ( void *  buffer,
int64_t  addr,
int64_t  length 
)

Definition at line 58 of file cport.cc.

◆ Write()

void rcg::CPort::Write ( const void *  buffer,
int64_t  addr,
int64_t  length 
)

Definition at line 100 of file cport.cc.

Member Data Documentation

◆ gentl

std::shared_ptr<const GenTLWrapper> rcg::CPort::gentl
private

Definition at line 64 of file cport.h.

◆ port

void** rcg::CPort::port
private

Definition at line 65 of file cport.h.


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


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