Public Member Functions | Private Member Functions | Private Attributes
diarc.diarc.base_adapter.BaseAdapter Class Reference
Inheritance diagram for diarc.diarc.base_adapter.BaseAdapter:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def __init__
def bring_band_to_front
def get_band_item_attributes
def get_block_item_attributes
def get_snap_item_attributes
def reorder_bands
def reorder_blocks
def reorder_snaps

Private Member Functions

def _update_view

Private Attributes

 _cached_band_item_altitudes
 _cached_block_item_indexes
 _cached_snap_item_snapkeys

Detailed Description

Basic implementation of the adapter interface.
This should not have any QT or non-standard topology specific code. 

Definition at line 12 of file base_adapter.py.


Constructor & Destructor Documentation

def diarc.diarc.base_adapter.BaseAdapter.__init__ (   self,
  model,
  view 
)

Definition at line 15 of file base_adapter.py.


Member Function Documentation

updates the view - compute each items neigbors and then calls linking. 

Definition at line 221 of file base_adapter.py.

Definition at line 192 of file base_adapter.py.

Default method for providing some stock settings for bands 

Reimplemented in diarc.ros.ros_adapter.RosAdapter.

Definition at line 37 of file base_adapter.py.

Default method for providing some stock settings for blocks 

Reimplemented in diarc.ros.ros_adapter.RosAdapter.

Definition at line 25 of file base_adapter.py.

Default method for providing some stock settings for snaps 

Reimplemented in diarc.ros.ros_adapter.RosAdapter.

Definition at line 47 of file base_adapter.py.

def diarc.diarc.base_adapter.BaseAdapter.reorder_bands (   self,
  srcAlt,
  lowerAlt,
  upperAlt 
)
Reorders the altitude values of bands 

Definition at line 103 of file base_adapter.py.

def diarc.diarc.base_adapter.BaseAdapter.reorder_blocks (   self,
  srcIdx,
  lowerIdx,
  upperIdx 
)
reorders the index values of blocks and triggers the view to redraw.
This also requires updating the corresponding block_items.

Definition at line 59 of file base_adapter.py.

def diarc.diarc.base_adapter.BaseAdapter.reorder_snaps (   self,
  blockIdx,
  container,
  srcIdx,
  lowerIdx,
  upperIdx 
)

Definition at line 144 of file base_adapter.py.


Member Data Documentation

Definition at line 15 of file base_adapter.py.

Definition at line 15 of file base_adapter.py.

Definition at line 15 of file base_adapter.py.


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


rqt_graphprofiler
Author(s): Dan Brooks
autogenerated on Thu Jun 6 2019 20:29:31