ug4
|
communicates selection-status of interface elements More...
#include <pcl_util.h>
Public Types | |
typedef ICommunicationPolicy< TLayout >::Interface | Interface |
![]() | |
typedef Layout::Interface | Interface |
typedef TLayout | Layout |
Public Member Functions | |
virtual bool | collect (ug::BinaryBuffer &buff, Interface &interface) |
iterates over the interface entries. Writes 1 for selected, 0 for unselected. | |
virtual bool | extract (ug::BinaryBuffer &buff, Interface &interface) |
iterates over the interface entries. selects for 1, deselects for 0. | |
SelectionCommPol (TSelectorIn &selIn, TSelectorOut &selOut) | |
![]() | |
virtual bool | begin_layout_collection (const Layout *pLayout) |
signals the beginning of a layout collection. | |
virtual bool | begin_layout_extraction (const Layout *pLayout) |
signals the beginning of a layout extraction. | |
virtual void | begin_level_extraction (int level) |
signals that a new layout-level will now be processed. | |
virtual bool | collect (ug::BinaryBuffer &buff, const Interface &interface)=0 |
should write data which is associated with the interface elements to the buffer. | |
virtual bool | end_layout_collection (const Layout *pLayout) |
signals the end of a layout collection | |
virtual bool | end_layout_extraction (const Layout *pLayout) |
signals the end of a layout extraction | |
virtual bool | extract (ug::BinaryBuffer &buff, const Interface &interface)=0 |
extract data from the buffer and assigns it to the interface-elements. | |
virtual int | get_required_buffer_size (const Interface &interface) |
returns the size of the buffer in bytes, that will be required for interface-communication. | |
virtual | ~ICommunicationPolicy () |
Protected Attributes | |
TSelectorIn & | m_selIn |
TSelectorOut & | m_selOut |
communicates selection-status of interface elements
TLayout has to be compatible with the pcl::layout_tags.
TSelectorIn has to feature a method
TSelectorOut has to feature methods
typedef ICommunicationPolicy<TLayout>::Interface pcl::SelectionCommPol< TLayout, TSelectorIn, TSelectorOut >::Interface |
|
inline |
|
inlinevirtual |
iterates over the interface entries. Writes 1 for selected, 0 for unselected.
References pcl::SelectionCommPol< TLayout, TSelectorIn, TSelectorOut >::m_selIn, and ug::BinaryBuffer::write().
|
inlinevirtual |
iterates over the interface entries. selects for 1, deselects for 0.
References pcl::SelectionCommPol< TLayout, TSelectorIn, TSelectorOut >::m_selOut, and ug::BinaryBuffer::read().
|
protected |
|
protected |