Class CPort

Inheritance Relationships

Base Type

  • public GenApi::IPort

Class Documentation

class CPort : public GenApi::IPort

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.

Public Functions

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