Skip to content

Scans your source code for Lumberyard EBuses and their use. Builds a digraph out of that information.

Notifications You must be signed in to change notification settings

SelfishOlex/EBusScanner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

EBusScanner

Scans your source code for Lumberyard EBuses and their use. Builds a digraph out of that information.

Usage

EBus_Scanner.exe output.dot.txt C:\work\Lumberyard\dev\Gems\LightningArc

Result

Produces a graphviz dot file, for example:

digraph { 
    AssetCatalogRequestBus [shape=box,style=filled,color=".7 .3 1.0"] ;
    EditorLightningComponent -> AssetCatalogRequestBus;
    AudioRtpcComponentRequestBus [shape=box,style=filled,color=".7 .3 1.0"] ;
    LightningComponent -> AudioRtpcComponentRequestBus;
    AudioTriggerComponentRequestBus [shape=box,style=filled,color=".7 .3 1.0"] ;
    LightningComponent -> AudioTriggerComponentRequestBus;
    ComponentApplicationBus [shape=box,style=filled,color=".7 .3 1.0"] ;
    LightningComponent -> ComponentApplicationBus;
    ...
}

Then you can install graphviz and generate a graph like this:

"C:\Program Files (x86)\Graphviz2.38\bin\dot.exe" -Tpng output.dot.txt -o output.png

alt text

Notes

Requires C++17 (for std::filesystem)

About

Scans your source code for Lumberyard EBuses and their use. Builds a digraph out of that information.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published