#include <DeploymentTree.hxx>
Public Member Functions | |
DeploymentTreeOnHeap () | |
~DeploymentTreeOnHeap () | |
bool | decrRef () |
void | incrRef () const |
unsigned char | appendTask (Task *task, Scheduler *cloner) |
unsigned | getNumberOfCTDefContainer () const |
unsigned | getNumberOfRTODefContainer () const |
unsigned | getNumberOfCTDefComponentInstances () const |
unsigned | getNumberOfRTODefComponentInstances () const |
std::vector< Container * > | getAllContainers () const |
std::vector< Container * > | getAllCTDefContainers () const |
std::vector< Container * > | getAllRTODefContainers () const |
std::vector< Task * > | getTasksLinkedToComponent (ComponentInstance *comp) const |
std::vector< Task * > | getTasksLinkedToContainer (Container *cont) const |
std::vector< ComponentInstance * > | getComponentsLinkedToContainer (Container *cont) const |
bool | presenceOfDefaultContainer () const |
std::vector< Task * > | getFreeDeployableTasks () const |
Private Attributes | |
int | _cnt |
std::vector< std::pair< Task *, Scheduler * > > | _freePlacableTasks |
std::vector< std::vector < std::vector< std::pair< Task *, Scheduler * > > > > | _tree |
internal representation of tree. Scheduler is the duplicating Task, if it exists, on runtime unpredictable times on compil-time More... | |
Definition at line 36 of file DeploymentTree.hxx.
DeploymentTreeOnHeap::DeploymentTreeOnHeap | ( | ) |
Definition at line 32 of file DeploymentTree.cxx.
DeploymentTreeOnHeap::~DeploymentTreeOnHeap | ( | ) |
Definition at line 36 of file DeploymentTree.cxx.
Definition at line 53 of file DeploymentTree.cxx.
References _freePlacableTasks, _tree, YACS::ENGINE::DeploymentTree::ALREADY_IN_TREE, YACS::ENGINE::DeploymentTree::APPEND_OK, DEBTRACE, YACS::ENGINE::DeploymentTree::DEPLOYABLE_BUT_NOT_SPECIFIED, YACS::ENGINE::Task::getComponent(), YACS::ENGINE::Task::getContainer(), YACS::ENGINE::Task::isDeployable(), YACS::ENGINE::DeploymentTree::NOT_DEPLOYABLE_TASK, and YACS::ENGINE::DeploymentTree::NULL_TASK.
Referenced by YACS::ENGINE::DeploymentTree::appendTask().
bool DeploymentTreeOnHeap::decrRef | ( | ) |
Definition at line 40 of file DeploymentTree.cxx.
References _cnt, and PMMLBasicsTestLauncher::ret.
Referenced by YACS::ENGINE::DeploymentTree::operator=(), and YACS::ENGINE::DeploymentTree::~DeploymentTree().
std::vector< Container * > DeploymentTreeOnHeap::getAllContainers | ( | ) | const |
Definition at line 235 of file DeploymentTree.cxx.
References _tree, YACS::ENGINE::Task::getContainer(), and PMMLBasicsTestLauncher::ret.
Referenced by YACS::ENGINE::DeploymentTree::getAllContainers().
std::vector< Container * > DeploymentTreeOnHeap::getAllCTDefContainers | ( | ) | const |
Definition at line 247 of file DeploymentTree.cxx.
References _tree, DEBTRACE, YACS::ENGINE::Container::isAttachedOnCloning(), and PMMLBasicsTestLauncher::ret.
Referenced by YACS::ENGINE::DeploymentTree::getAllCTDefContainers().
std::vector< Container * > DeploymentTreeOnHeap::getAllRTODefContainers | ( | ) | const |
Definition at line 284 of file DeploymentTree.cxx.
References _tree, DEBTRACE, YACS::ENGINE::Container::isAttachedOnCloning(), and PMMLBasicsTestLauncher::ret.
Referenced by YACS::ENGINE::DeploymentTree::getAllRTODefContainers().
std::vector< ComponentInstance * > DeploymentTreeOnHeap::getComponentsLinkedToContainer | ( | Container * | cont | ) | const |
Definition at line 354 of file DeploymentTree.cxx.
References _tree, DEBTRACE, YACS::ENGINE::ComponentInstance::getContainer(), and PMMLBasicsTestLauncher::ret.
Referenced by YACS::ENGINE::DeploymentTree::getComponentsLinkedToContainer().
std::vector< Task * > DeploymentTreeOnHeap::getFreeDeployableTasks | ( | ) | const |
Definition at line 391 of file DeploymentTree.cxx.
References _freePlacableTasks, and PMMLBasicsTestLauncher::ret.
Referenced by YACS::ENGINE::DeploymentTree::getFreeDeployableTasks().
unsigned DeploymentTreeOnHeap::getNumberOfCTDefComponentInstances | ( | ) | const |
Definition at line 192 of file DeploymentTree.cxx.
References _tree, DEBTRACE, and PMMLBasicsTestLauncher::ret.
Referenced by YACS::ENGINE::DeploymentTree::getNumberOfCTDefComponentInstances().
unsigned DeploymentTreeOnHeap::getNumberOfCTDefContainer | ( | ) | const |
Definition at line 117 of file DeploymentTree.cxx.
References _tree, DEBTRACE, YACS::ENGINE::Container::isAttachedOnCloning(), and PMMLBasicsTestLauncher::ret.
Referenced by YACS::ENGINE::DeploymentTree::getNumberOfCTDefContainer().
unsigned DeploymentTreeOnHeap::getNumberOfRTODefComponentInstances | ( | ) | const |
Definition at line 215 of file DeploymentTree.cxx.
References _tree, DEBTRACE, and PMMLBasicsTestLauncher::ret.
Referenced by YACS::ENGINE::DeploymentTree::getNumberOfRTODefComponentInstances().
unsigned DeploymentTreeOnHeap::getNumberOfRTODefContainer | ( | ) | const |
Definition at line 160 of file DeploymentTree.cxx.
References _tree, DEBTRACE, and PMMLBasicsTestLauncher::ret.
Referenced by YACS::ENGINE::DeploymentTree::getNumberOfRTODefContainer().
std::vector< Task * > DeploymentTreeOnHeap::getTasksLinkedToComponent | ( | ComponentInstance * | comp | ) | const |
Definition at line 339 of file DeploymentTree.cxx.
References _tree, CORBAEngineTest::comp, and PMMLBasicsTestLauncher::ret.
Referenced by YACS::ENGINE::DeploymentTree::getTasksLinkedToComponent().
Definition at line 321 of file DeploymentTree.cxx.
References _tree, and PMMLBasicsTestLauncher::ret.
Referenced by YACS::ENGINE::DeploymentTree::getTasksLinkedToContainer().
void DeploymentTreeOnHeap::incrRef | ( | ) | const |
Definition at line 48 of file DeploymentTree.cxx.
References _cnt.
Referenced by YACS::ENGINE::DeploymentTree::DeploymentTree(), and YACS::ENGINE::DeploymentTree::operator=().
bool DeploymentTreeOnHeap::presenceOfDefaultContainer | ( | ) | const |
Definition at line 381 of file DeploymentTree.cxx.
References _tree, and DEBTRACE.
Referenced by YACS::ENGINE::DeploymentTree::presenceOfDefaultContainer().
|
mutableprivate |
Definition at line 61 of file DeploymentTree.hxx.
|
private |
Definition at line 62 of file DeploymentTree.hxx.
Referenced by appendTask(), and getFreeDeployableTasks().
|
private |
internal representation of tree. Scheduler is the duplicating Task, if it exists, on runtime unpredictable times on compil-time
Definition at line 64 of file DeploymentTree.hxx.
Referenced by appendTask(), getAllContainers(), getAllCTDefContainers(), getAllRTODefContainers(), getComponentsLinkedToContainer(), getNumberOfCTDefComponentInstances(), getNumberOfCTDefContainer(), getNumberOfRTODefComponentInstances(), getNumberOfRTODefContainer(), getTasksLinkedToComponent(), getTasksLinkedToContainer(), and presenceOfDefaultContainer().