PulseView
0.3.0
A Qt-based sigrok GUI
|
#include <tracetreeitemowner.hpp>
Public Member Functions | |
virtual pv::view::View * | view ()=0 |
virtual const pv::view::View * | view () const =0 |
virtual int | owner_visual_v_offset () const =0 |
virtual pv::Session & | session ()=0 |
virtual const pv::Session & | session () const =0 |
virtual unsigned int | depth () const =0 |
virtual const item_list & | child_items () const |
std::vector< std::shared_ptr< TraceTreeItem > > | trace_tree_child_items () const |
void | clear_child_items () |
void | add_child_item (std::shared_ptr< TraceTreeItem > item) |
void | remove_child_item (std::shared_ptr< TraceTreeItem > item) |
virtual void | restack_items () |
std::pair< int, int > | v_extents () const |
bool | reassign_bgcolour_states (bool next_bgcolour_state) |
virtual void | row_item_appearance_changed (bool label, bool content)=0 |
virtual void | extents_changed (bool horz, bool vert)=0 |
Public Member Functions inherited from pv::view::ViewItemOwner | |
iterator | begin () |
iterator | end () |
const_iterator | begin () const |
const_iterator | end () const |
template<class T > | |
std::vector< std::shared_ptr< T > > | list_by_type () |
Additional Inherited Members | |
Public Types inherited from pv::view::ViewItemOwner | |
typedef std::vector< std::shared_ptr< ViewItem > > | item_list |
typedef ViewItemIterator< ViewItemOwner, ViewItem > | iterator |
typedef ViewItemIterator< const ViewItemOwner, ViewItem > | const_iterator |
Protected Attributes inherited from pv::view::ViewItemOwner | |
item_list | items_ |
Definition at line 36 of file tracetreeitemowner.hpp.
void pv::view::TraceTreeItemOwner::add_child_item | ( | std::shared_ptr< TraceTreeItem > | item | ) |
Adds a child item to this object.
Definition at line 68 of file tracetreeitemowner.cpp.
|
virtual |
Returns a list of row items owned by this object.
Implements pv::view::ViewItemOwner.
Definition at line 40 of file tracetreeitemowner.cpp.
void pv::view::TraceTreeItemOwner::clear_child_items | ( | ) |
Clears the list of child items.
Definition at line 59 of file tracetreeitemowner.cpp.
|
pure virtual |
Returns the number of nested parents that this row item owner has.
Implemented in pv::view::View, and pv::view::TraceGroup.
|
pure virtual |
Implemented in pv::view::View, and pv::view::TraceGroup.
|
pure virtual |
Implemented in pv::view::View, and pv::view::TraceGroup.
bool pv::view::TraceTreeItemOwner::reassign_bgcolour_states | ( | bool | next_bgcolour_state | ) |
void pv::view::TraceTreeItemOwner::remove_child_item | ( | std::shared_ptr< TraceTreeItem > | item | ) |
Removes a child item from this object.
Definition at line 77 of file tracetreeitemowner.cpp.
|
virtual |
Reimplemented in pv::view::TraceGroup.
Definition at line 125 of file tracetreeitemowner.cpp.
|
pure virtual |
Implemented in pv::view::View, and pv::view::TraceGroup.
|
pure virtual |
Returns the session of the onwer.
Implemented in pv::view::View, and pv::view::TraceGroup.
|
pure virtual |
Returns the session of the owner.
Implemented in pv::view::View, and pv::view::TraceGroup.
vector< std::shared_ptr< TraceTreeItem > > pv::view::TraceTreeItemOwner::trace_tree_child_items | ( | ) | const |
Returns a list of row items owned by this object.
Definition at line 46 of file tracetreeitemowner.cpp.
pair< int, int > pv::view::TraceTreeItemOwner::v_extents | ( | ) | const |
Computes the vertical extents of the contents of this row item owner.
Definition at line 88 of file tracetreeitemowner.cpp.
|
pure virtual |
Returns the view of the owner.
Implemented in pv::view::View, and pv::view::TraceGroup.
|
pure virtual |
Returns the view of the owner.
Implemented in pv::view::View, and pv::view::TraceGroup.