PulseView  unreleased development snapshot
A Qt-based sigrok GUI
pv::views::trace::TraceTreeItemOwner Class Referenceabstract

#include <tracetreeitemowner.hpp>

Inheritance diagram for pv::views::trace::TraceTreeItemOwner:
Collaboration diagram for pv::views::trace::TraceTreeItemOwner:

Public Member Functions

virtual Viewview ()=0
 
virtual const Viewview () const =0
 
virtual int owner_visual_v_offset () const =0
 
virtual Sessionsession ()=0
 
virtual const Sessionsession () const =0
 
virtual unsigned int depth () const =0
 
virtual const item_listchild_items () const
 
vector< shared_ptr< TraceTreeItem > > trace_tree_child_items () const
 
void clear_child_items ()
 
void add_child_item (shared_ptr< TraceTreeItem > item)
 
void remove_child_item (shared_ptr< TraceTreeItem > item)
 
virtual void restack_items ()
 
pair< int, int > v_extents () const
 
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::views::trace::ViewItemOwner
iterator begin ()
 
iterator end ()
 
const_iterator begin () const
 
const_iterator end () const
 
template<class T >
vector< shared_ptr< T > > list_by_type ()
 

Additional Inherited Members

- Public Types inherited from pv::views::trace::ViewItemOwner
typedef vector< shared_ptr< ViewItem > > item_list
 
typedef ViewItemIterator< ViewItemOwner, ViewItemiterator
 
typedef ViewItemIterator< const ViewItemOwner, ViewItemconst_iterator
 
- Protected Attributes inherited from pv::views::trace::ViewItemOwner
item_list items_
 

Detailed Description

Definition at line 40 of file tracetreeitemowner.hpp.

Member Function Documentation

void pv::views::trace::TraceTreeItemOwner::add_child_item ( shared_ptr< TraceTreeItem item)

Adds a child item to this object.

Definition at line 67 of file tracetreeitemowner.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

const ViewItemOwner::item_list & pv::views::trace::TraceTreeItemOwner::child_items ( ) const
virtual

Returns a list of row items owned by this object.

Reimplemented from pv::views::trace::ViewItemOwner.

Definition at line 39 of file tracetreeitemowner.cpp.

Here is the caller graph for this function:

void pv::views::trace::TraceTreeItemOwner::clear_child_items ( )

Clears the list of child items.

Definition at line 58 of file tracetreeitemowner.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

virtual unsigned int pv::views::trace::TraceTreeItemOwner::depth ( ) const
pure virtual

Returns the number of nested parents that this row item owner has.

Implemented in pv::views::trace::View, and pv::views::trace::TraceGroup.

Here is the caller graph for this function:

virtual void pv::views::trace::TraceTreeItemOwner::extents_changed ( bool  horz,
bool  vert 
)
pure virtual

Implemented in pv::views::trace::View, and pv::views::trace::TraceGroup.

Here is the caller graph for this function:

virtual int pv::views::trace::TraceTreeItemOwner::owner_visual_v_offset ( ) const
pure virtual

Implemented in pv::views::trace::View, and pv::views::trace::TraceGroup.

Here is the caller graph for this function:

void pv::views::trace::TraceTreeItemOwner::remove_child_item ( shared_ptr< TraceTreeItem item)

Removes a child item from this object.

Definition at line 76 of file tracetreeitemowner.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void pv::views::trace::TraceTreeItemOwner::restack_items ( )
virtual

Definition at line 113 of file tracetreeitemowner.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

virtual void pv::views::trace::TraceTreeItemOwner::row_item_appearance_changed ( bool  label,
bool  content 
)
pure virtual

Implemented in pv::views::trace::View, and pv::views::trace::TraceGroup.

Here is the caller graph for this function:

virtual Session& pv::views::trace::TraceTreeItemOwner::session ( )
pure virtual

Returns the session of the owner.

Implemented in pv::views::trace::View, and pv::views::trace::TraceGroup.

Here is the caller graph for this function:

virtual const Session& pv::views::trace::TraceTreeItemOwner::session ( ) const
pure virtual

Returns the session of the owner.

Implemented in pv::views::trace::View, and pv::views::trace::TraceGroup.

vector< shared_ptr< TraceTreeItem > > pv::views::trace::TraceTreeItemOwner::trace_tree_child_items ( ) const

Returns a list of row items owned by this object.

Definition at line 45 of file tracetreeitemowner.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

pair< int, int > pv::views::trace::TraceTreeItemOwner::v_extents ( ) const

Computes the vertical extents of the contents of this row item owner.

Returns
A pair containing the minimum and maximum y-values.

Definition at line 87 of file tracetreeitemowner.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

virtual View* pv::views::trace::TraceTreeItemOwner::view ( )
pure virtual

Returns the view of the owner.

Implemented in pv::views::trace::View, and pv::views::trace::TraceGroup.

Here is the caller graph for this function:

virtual const View* pv::views::trace::TraceTreeItemOwner::view ( ) const
pure virtual

Returns the view of the owner.

Implemented in pv::views::trace::View, and pv::views::trace::TraceGroup.


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