ug4
pcl::interface_tags::basic_interface_tag Class Reference

#include <pcl_communication_structs.h>

+ Inheritance diagram for pcl::interface_tags::basic_interface_tag:

Detailed Description

Every interface has to feature this tag (at least indirectly - by tag-derivation). This tag simply says that one may iterate over the elements of the interface.

Additionally you may receive the local_src_id. This id represents the sender during local communication (communication on one process only). Values < 0 mark the sender as invalid (during local communication). The src-id is ignored during parallel communication. Instead pcl::ProcRank is used.

typedefs that have to be featured in such interfaces:

  • category_tag
  • iterator
  • const_iterator
  • Type
  • Element

Methods that have to be featured in such interfaces:

  • iterator begin();
  • iterator end();
  • const_iterator begin() const;
  • const_iterator end() const;
  • Element& get_element(iterator iter);
  • const Element& get_element(iterator iter) const;
  • int get_target_proc();
  • void swap(Interface& interface);

The documentation for this class was generated from the following file: