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

#include <tracetreeitemowner.hpp>

Inheritance diagram for pv::view::TraceTreeItemOwner:
Collaboration diagram for pv::view::TraceTreeItemOwner:

Public Member Functions

virtual pv::view::Viewview ()=0
 
virtual const pv::view::Viewview () const =0
 
virtual int owner_visual_v_offset () const =0
 
virtual pv::Sessionsession ()=0
 
virtual const pv::Sessionsession () const =0
 
virtual unsigned int depth () const =0
 
virtual const item_listchild_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, ViewItemiterator
 
typedef ViewItemIterator< const ViewItemOwner, ViewItemconst_iterator
 
- Protected Attributes inherited from pv::view::ViewItemOwner
item_list items_
 

Detailed Description

Definition at line 36 of file tracetreeitemowner.hpp.

Member Function Documentation

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.

Here is the call graph for this function:

Here is the caller graph for this function:

const ViewItemOwner::item_list & pv::view::TraceTreeItemOwner::child_items ( ) const
virtual

Returns a list of row items owned by this object.

Implements pv::view::ViewItemOwner.

Definition at line 40 of file tracetreeitemowner.cpp.

Here is the caller graph for this function:

void pv::view::TraceTreeItemOwner::clear_child_items ( )

Clears the list of child items.

Definition at line 59 of file tracetreeitemowner.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

virtual unsigned int pv::view::TraceTreeItemOwner::depth ( ) const
pure virtual

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

Implemented in pv::view::View, and pv::view::TraceGroup.

Here is the caller graph for this function:

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

Implemented in pv::view::View, and pv::view::TraceGroup.

Here is the caller graph for this function:

virtual int pv::view::TraceTreeItemOwner::owner_visual_v_offset ( ) const
pure virtual

Implemented in pv::view::View, and pv::view::TraceGroup.

Here is the caller graph for this function:

bool pv::view::TraceTreeItemOwner::reassign_bgcolour_states ( bool  next_bgcolour_state)

Definition at line 108 of file tracetreeitemowner.cpp.

Here is the call graph for this function:

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.

Here is the call graph for this function:

Here is the caller graph for this function:

void pv::view::TraceTreeItemOwner::restack_items ( )
virtual

Reimplemented in pv::view::TraceGroup.

Definition at line 125 of file tracetreeitemowner.cpp.

Here is the caller graph for this function:

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

Implemented in pv::view::View, and pv::view::TraceGroup.

Here is the caller graph for this function:

virtual pv::Session& pv::view::TraceTreeItemOwner::session ( )
pure virtual

Returns the session of the onwer.

Implemented in pv::view::View, and pv::view::TraceGroup.

Here is the caller graph for this function:

virtual const pv::Session& pv::view::TraceTreeItemOwner::session ( ) const
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.

Here is the caller graph for this function:

pair< int, int > pv::view::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 88 of file tracetreeitemowner.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

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

Returns the view of the owner.

Implemented in pv::view::View, and pv::view::TraceGroup.

Here is the caller graph for this function:

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

Returns the view of the owner.

Implemented in pv::view::View, and pv::view::TraceGroup.


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