Public Member Functions | Private Attributes
rcg::CPort Class Reference

#include <cport.h>

List of all members.

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
GenTLWrapper
gentl
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 44 of file cport.cc.


Member Function Documentation

Definition at line 93 of file cport.cc.

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

Definition at line 49 of file cport.cc.

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

Definition at line 71 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_visard_driver
Author(s): Heiko Hirschmueller , Christian Emmerich , Felix Ruess
autogenerated on Thu Jun 6 2019 20:43:12