Public Member Functions | Private Attributes
diarc::diarc::adapter::Adapter Class Reference

List of all members.

Public Member Functions

def __init__
def bring_band_to_front
def reorder_bands
def reorder_blocks
def reorder_snaps

Private Attributes

 _topology
 _view

Detailed Description

Interface definations provided by the Adapter for use by the View.

NOTE: There should be no Qt specific code here!

Definition at line 1 of file adapter.py.


Constructor & Destructor Documentation

def diarc::diarc::adapter::Adapter::__init__ (   self,
  model,
  view 
)

Definition at line 7 of file adapter.py.


Member Function Documentation

change a bands rank to bring it to the front. This should not affect
the relative order of the other band's ranks, but may change their 
actual rank value. 

Definition at line 38 of file adapter.py.

def diarc::diarc::adapter::Adapter::reorder_bands (   self,
  srcAlt,
  lowerAlt,
  upperAlt 
)
Move band with altitude srcAlt between bands with lowerAlt and upperAlt.
Bands cannot be dragged to the opposite side of the BlockContainer, that
is, positive bands can only be dragged with positive bands.

Definition at line 22 of file adapter.py.

def diarc::diarc::adapter::Adapter::reorder_blocks (   self,
  srcIdx,
  lowerIdx,
  upperIdx 
)
Move block with index srcIdx between blocks with lowerIdx and upperIdx. 
Associated BlockItems are also be updated as necessary to reflect the change.

srcIdx, lowerIdx, and upperIdx should all be ints, except for when 
lowerIdx or upperIdx does not exists (at the far left and right) in which
case they should be None.

Definition at line 12 of file adapter.py.

def diarc::diarc::adapter::Adapter::reorder_snaps (   self,
  blockIdx,
  container,
  srcIdx,
  lowerIdx,
  upperIdx 
)
Move a snap with order srcIdx between snaps in the same container of
the same block with index blockIdx with orders lowerIdx and upperIdx. 

blockIdx - the index of the block the snaps are in
container - either "emitter" or "collector"

Definition at line 29 of file adapter.py.


Member Data Documentation

Definition at line 7 of file adapter.py.

Definition at line 7 of file 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