org.hfbk.vis.visnode.VisFilesys Class Reference

Inheritance diagram for org.hfbk.vis.visnode.VisFilesys:

Inheritance graph
[legend]
Collaboration diagram for org.hfbk.vis.visnode.VisFilesys:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 VisFilesys (Node n, Vector3f position)

Package Functions

VisNode create (Node node, Vector3f pos)
void scandir (String startatdir, Node parentnode)
void renderSelf ()

Package Attributes

final int DELAY = 1000
Graph profile = new Graph()
Counter< Integer > callCounter = new Counter<Integer>()
Counter< String > sizeAdder = new Counter<String>()
boolean dirty = true

Classes

class  VisCallBall

Detailed Description

a profiler that samples currently active methods inside the running vis/client. thus vis/client is able to show something about it's inner state of mind :-)

methods and threads are visualised as interconnected balls.

Author:
paul

Definition at line 31 of file VisFilesys.java.


Constructor & Destructor Documentation

org.hfbk.vis.visnode.VisFilesys.VisFilesys ( Node  n,
Vector3f  position 
)

set up this scanner by starting the sampling thread

Definition at line 217 of file VisFilesys.java.

References org.dronus.graph.Graph.addNode(), org.hfbk.vis.visnode.VisFilesys.DELAY, org.hfbk.vis.visnode.VisFilesys.profile, org.hfbk.vis.visnode.VisFilesys.scandir(), and org.dronus.graph.Node.text.

Here is the call graph for this function:


Member Function Documentation

VisNode org.hfbk.vis.visnode.VisFilesys.create ( Node  node,
Vector3f  pos 
) [package]

override node factory for graphing, now only producing balls.

Reimplemented from org.hfbk.vis.visnode.VisSet.

Definition at line 212 of file VisFilesys.java.

References org.hfbk.vis.visnode.VisNode.node.

void org.hfbk.vis.visnode.VisFilesys.scandir ( String  startatdir,
Node  parentnode 
) [package]

called by scanner thread to do one thread sample. recursively samples filesystem and adds samples to filesystem graph.

Definition at line 247 of file VisFilesys.java.

References org.dronus.graph.Graph.addEdge(), org.dronus.graph.Graph.addNode(), org.hfbk.vis.visnode.VisFilesys.callCounter, org.hfbk.vis.visnode.VisFilesys.dirty, org.dronus.graph.Graph.findNode(), org.dronus.graph.Graph.getRoot(), org.hfbk.vis.visnode.VisFilesys.profile, and org.hfbk.vis.visnode.VisFilesys.sizeAdder.

Referenced by org.hfbk.vis.visnode.VisFilesys.VisFilesys().

Here is the call graph for this function:

Here is the caller graph for this function:

void org.hfbk.vis.visnode.VisFilesys.renderSelf (  )  [package, virtual]

do one layout step and draw edges. nodes are not drawn herein but as as usual child VisNodes.

Reimplemented from org.hfbk.vis.visnode.VisSet.

Definition at line 363 of file VisFilesys.java.

References org.hfbk.vis.visnode.VisFilesys.dirty, org.dronus.graph.Graph.getRoot(), org.hfbk.vis.visnode.VisFilesys.profile, and org.hfbk.vis.visnode.VisSet.update().

Here is the call graph for this function:


Member Data Documentation

final int org.hfbk.vis.visnode.VisFilesys.DELAY = 1000 [package]

milliseconds between thread samples

Definition at line 34 of file VisFilesys.java.

Referenced by org.hfbk.vis.visnode.VisFilesys.VisFilesys().

Graph org.hfbk.vis.visnode.VisFilesys.profile = new Graph() [package]

the abstract profiled call graph

Definition at line 37 of file VisFilesys.java.

Referenced by org.hfbk.vis.visnode.VisFilesys.renderSelf(), org.hfbk.vis.visnode.VisFilesys.scandir(), and org.hfbk.vis.visnode.VisFilesys.VisFilesys().

Counter<Integer> org.hfbk.vis.visnode.VisFilesys.callCounter = new Counter<Integer>() [package]

counts running method samples

Definition at line 42 of file VisFilesys.java.

Referenced by org.hfbk.vis.visnode.VisFilesys.VisCallBall.renderSelf(), and org.hfbk.vis.visnode.VisFilesys.scandir().

Counter<String> org.hfbk.vis.visnode.VisFilesys.sizeAdder = new Counter<String>() [package]

Definition at line 44 of file VisFilesys.java.

Referenced by org.hfbk.vis.visnode.VisFilesys.scandir().

boolean org.hfbk.vis.visnode.VisFilesys.dirty = true [package]

Definition at line 47 of file VisFilesys.java.

Referenced by org.hfbk.vis.visnode.VisFilesys.renderSelf(), and org.hfbk.vis.visnode.VisFilesys.scandir().


The documentation for this class was generated from the following file:
Generated on Tue Apr 7 17:59:07 2009 for visclient by  doxygen 1.5.1