PulseView  0.3.0
A Qt-based sigrok GUI
pv::view::ViewItemOwner Class Referenceabstract

#include <viewitemowner.hpp>

Inheritance diagram for pv::view::ViewItemOwner:
Collaboration diagram for pv::view::ViewItemOwner:

Public Types

typedef std::vector< std::shared_ptr< ViewItem > > item_list
 
typedef ViewItemIterator< ViewItemOwner, ViewItemiterator
 
typedef ViewItemIterator< const ViewItemOwner, ViewItemconst_iterator
 

Public Member Functions

virtual const item_listchild_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_
 

Detailed Description

Definition at line 38 of file viewitemowner.hpp.

Member Typedef Documentation

typedef std::vector< std::shared_ptr<ViewItem> > pv::view::ViewItemOwner::item_list

Definition at line 41 of file viewitemowner.hpp.

Member Function Documentation

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.

Here is the caller graph for this function:

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.

virtual const item_list& pv::view::ViewItemOwner::child_items ( ) const
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.

Here is the caller graph for this function:

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.

template<class T >
std::vector< std::shared_ptr<T> > pv::view::ViewItemOwner::list_by_type ( )
inline

Creates a list of decendant signals filtered by type.

Definition at line 78 of file viewitemowner.hpp.

Here is the caller graph for this function:

Member Data Documentation

item_list pv::view::ViewItemOwner::items_
protected

Definition at line 90 of file viewitemowner.hpp.


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