#include <cport.h>
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 |
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.
| rcg::CPort::CPort | ( | std::shared_ptr< const GenTLWrapper > | gentl, |
| void ** | port | ||
| ) |
| GenApi::EAccessMode rcg::CPort::GetAccessMode | ( | ) | const |
| void rcg::CPort::Read | ( | void * | buffer, |
| int64_t | addr, | ||
| int64_t | length | ||
| ) |
| void rcg::CPort::Write | ( | const void * | buffer, |
| int64_t | addr, | ||
| int64_t | length | ||
| ) |
std::shared_ptr<const GenTLWrapper> rcg::CPort::gentl [private] |
void** rcg::CPort::port [private] |