Robochameleon  v1.0
Public Member Functions | Private Member Functions | Private Attributes | List of all members
unit_view Class Reference

Superclass: graphical interface for units. More...

Public Member Functions

function unit_view (in nextNodes, in destInputs, in label)
 
function select (in obj, in ignoredArg, in ignoredArg, in ui)
 Callback function when clicked on the disp() button. More...
 
function copy2Cell (in obj, in ignoredArg, in ignoredArg, in ui)
 Callback function when clicked on the Copy to workspace as cell button. More...
 
function plotTime (in obj, in ignoredArg, in ignoredArg, in ui)
 Callback function when clicked on the plot() button. More...
 
function plotFreq (in obj, in ignoredArg, in ignoredArg, in ui)
 Callback function when clicked on the plot(fft()) button. More...
 

Private Member Functions

function createUI (in obj)
 Creates the UI elements and populates it. More...
 

Private Attributes

Property nextNodes
 Next nodes which hold the traversed signals of this block.
 
Property destInputs
 Input destination of the corresponding next node.
 
Property label
 Label of the unit.
 
Property debugMode
 Debug mode.
 

Detailed Description

Superclass: graphical interface for units.

This class creates the graphical interface which enables the user to view signals traversing through a unit and copy them to the workspace. DebugMode is supposed to be turned on.

setpref('robochameleon','debugMode',true);
Author
Rasmus Jones
Version
1

Definition at line 17 of file unit_view.m.

Member Function Documentation

function unit_view::copy2Cell ( in  obj,
in  ignoredArg,
in  ignoredArg,
in  ui 
)

Callback function when clicked on the Copy to workspace as cell button.

Saved the selected signals to the workspace in form of a cell named sig

function unit_view::createUI ( in  obj)
private

Creates the UI elements and populates it.

Creates the UI elements and populates it with the signals traversing the unit

function unit_view::plotFreq ( in  obj,
in  ignoredArg,
in  ignoredArg,
in  ui 
)

Callback function when clicked on the plot(fft()) button.

(TODO) This should plot the selected signals in frequency domain

function unit_view::plotTime ( in  obj,
in  ignoredArg,
in  ignoredArg,
in  ui 
)

Callback function when clicked on the plot() button.

(TODO) This should plot the selected signals in time domain

function unit_view::select ( in  obj,
in  ignoredArg,
in  ignoredArg,
in  ui 
)

Callback function when clicked on the disp() button.

Displays the selected signals in the console


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