GraphTool
1.0
Tool for analyzing and graphically visualizing code dependencies for Ericsson.
|
Executable class, defines an executable / run block. More...
#include <executable.h>
Public Member Functions | |
Executable (const std::string, const int) | |
Constructor & Destructor. | |
void | remove_from_datastructure () |
ModuleSet * | modules () |
Get the set of modules. | |
SWUSet * | swus () |
Get the set of SWUs. | |
bool | add_module (Module *) |
Adds a module to this executable. | |
int | remove_module (Module *) |
Removes a module from this executable, returns 1 if the module was removed, 0 otherwise. | |
bool | add_swu (SWU *) |
Adds a swu to this executable. | |
int | remove_swu (SWU *) |
Removes a swu from this executable, returns 1 if the swu was removed, 0 otherwise. | |
bool | add_sub_swu (SWU *) |
Adds a swu to the subset of swus for this executable. | |
SWU * | find_swu (std::string name) |
Find a given SWU by its name. | |
Module * | find_module (std::string name) |
Find a given module by its name. | |
std::string | name () const |
Get & Set methods for the properties. | |
void | set_name (const std::string) |
int | esp_id () const |
void | set_esp_id (const int) |
Executable class, defines an executable / run block.
void Executable::remove_from_datastructure | ( | ) |
Remove this module cleanly from the datastructure. Required if deleting / removing this module manually, must be called prior to delete.