PulseView
0.3.0
A Qt-based sigrok GUI
|
#include <viewitemowner.hpp>
Public Types | |
typedef std::vector< std::shared_ptr< ViewItem > > | item_list |
typedef ViewItemIterator< ViewItemOwner, ViewItem > | iterator |
typedef ViewItemIterator< const ViewItemOwner, ViewItem > | const_iterator |
Public Member Functions | |
virtual const item_list & | child_items () const =0 |
iterator | begin () |
iterator | end () |
const_iterator | begin () const |
const_iterator | end () const |
template<class T > | |
std::vector< std::shared_ptr< T > > | list_by_type () |
Protected Attributes | |
item_list | items_ |
Definition at line 38 of file viewitemowner.hpp.
typedef ViewItemIterator<const ViewItemOwner, ViewItem> pv::view::ViewItemOwner::const_iterator |
Definition at line 43 of file viewitemowner.hpp.
typedef std::vector< std::shared_ptr<ViewItem> > pv::view::ViewItemOwner::item_list |
Definition at line 41 of file viewitemowner.hpp.
Definition at line 42 of file viewitemowner.hpp.
ViewItemOwner::iterator pv::view::ViewItemOwner::begin | ( | ) |
Returns a depth-first iterator at the beginning of the child ViewItem tree.
Definition at line 39 of file viewitemowner.cpp.
ViewItemOwner::const_iterator pv::view::ViewItemOwner::begin | ( | ) | const |
Returns a constant depth-first iterator at the beginning of the child ViewItem tree.
Definition at line 49 of file viewitemowner.cpp.
|
pure virtual |
Returns a list of row items owned by this object.
Implemented in pv::view::Signal, and pv::view::TraceTreeItemOwner.
ViewItemOwner::iterator pv::view::ViewItemOwner::end | ( | ) |
Returns a depth-first iterator at the end of the child ViewItem tree.
Definition at line 44 of file viewitemowner.cpp.
ViewItemOwner::const_iterator pv::view::ViewItemOwner::end | ( | ) | const |
Returns a constant depth-first iterator at the end of the child ViewItem tree.
Definition at line 54 of file viewitemowner.cpp.
|
inline |
Creates a list of decendant signals filtered by type.
Definition at line 78 of file viewitemowner.hpp.
|
protected |
Definition at line 90 of file viewitemowner.hpp.