Public Member Functions | Private Attributes | List of all members
rcg::CPort Class Reference

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

#include <cport.h>

Inheritance diagram for rcg::CPort:
Inheritance graph
[legend]

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

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

Definition at line 53 of file cport.cc.

Member Function Documentation

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

Definition at line 104 of file cport.cc.

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

Definition at line 58 of file cport.cc.

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

Definition at line 81 of file cport.cc.

Member Data Documentation

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

Definition at line 64 of file cport.h.

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 Thu Jun 6 2019 19:10:56