Skip to content
Start free evaluation

Get started C++ API

The public C++ API of Get started.

20 symbols
  • pdcomm NamespaceHeader-only C++ wrappers over the PDComm SECS/GEM C API.
  • Buffer ClassOwned, immutable copy of a byte sequence.
  • Buffer::Buffer ConstructorTakes ownership of the native handle owned by other.
  • Buffer::Buffer ConstructorCopying is disabled; the wrapper exclusively owns its native handle.
  • Buffer::Buffer ConstructorCopies length bytes from data into a new native buffer.
  • Buffer::bytes MethodCopies the buffer contents into a new vector.
  • Buffer::operator= MethodReleases the current handle, then takes ownership of the handle owned by other.
  • Buffer::operator= MethodCopy assignment is disabled; the wrapper exclusively owns its native handle.
  • Buffer::~Buffer MethodReleases the native handle with pdcomm_buffer_destroy().
  • DiagnosticLogging ClassControls the optional diagnostic log of the SECS/GEM native library.
  • DiagnosticLogging::configure MethodApplies a logging configuration given as a JSON object.
  • DiagnosticLogging::flush MethodWaits until queued log records are written.
  • DiagnosticLogging::status MethodReturns the current logging status as a JSON object.
  • Error ClassException thrown when a native PDComm call returns a status other than PDCOMM_OK.
  • Error::Error ConstructorCreates an exception for a failed native call.
  • Error::status MethodReturns the native status that caused this exception.
  • License ClassInstalls and inspects the PDComm license of the SECS/GEM library.
  • License::hostId MethodReturns this host id, PDH1-XXXX-XXXX-XXXX-XXXX.
  • License::install MethodInstalls license text, replacing text installed earlier.
  • License::status MethodReturns the license status of the SECS/GEM library as a JSON object.