4 #ifndef GRAPHTOOL_EXECUTABLE_H_
5 #define GRAPHTOOL_EXECUTABLE_H_
51 std::string
name()
const;
52 void set_name(
const std::string);
55 void set_esp_id(
const int);
bool add_module(Module *)
Adds a module to this executable.
Definition: executable.cc:33
std::string name() const
Get & Set methods for the properties.
Definition: executable.cc:65
Module * find_module(std::string name)
Find a given module by its name.
Definition: executable.cc:55
void remove_from_datastructure()
Definition: executable.cc:17
bool add_swu(SWU *)
Adds a swu to this executable.
Definition: executable.cc:41
int remove_swu(SWU *)
Removes a swu from this executable, returns 1 if the swu was removed, 0 otherwise.
Definition: executable.cc:45
Executable(const std::string, const int)
Constructor & Destructor.
Definition: executable.cc:7
int remove_module(Module *)
Removes a module from this executable, returns 1 if the module was removed, 0 otherwise.
Definition: executable.cc:37
Executable class, defines an executable / run block.
Definition: executable.h:13
bool add_sub_swu(SWU *)
Adds a swu to the subset of swus for this executable.
ModuleSet * modules()
Get the set of modules.
Definition: executable.cc:25
SWUSet * swus()
Get the set of SWUs.
Definition: executable.cc:29
SWU * find_swu(std::string name)
Find a given SWU by its name.