YARP
Yet Another Robot Platform
yarp::manager::Application Class Reference

Class Application. More...

#include <yarp/manager/application.h>

+ Inheritance diagram for yarp::manager::Application:

Public Member Functions

 Application ()
 Class Application. More...
 
 Application (const char *szName)
 
 Application (const Application &app)
 
 ~Application () override
 
void setName (const char *szName)
 
void setVersion (const char *szVersion)
 
void setDescription (const char *szDesc)
 
const char * getName ()
 
size_t getNameLenght ()
 
const char * getVersion ()
 
const char * getDescription ()
 
Nodeclone () override
 
void addAuthor (Author &author)
 
int authorCount ()
 
AuthorgetAuthorAt (int index)
 
bool removeAuthor (Author &author)
 
int imoduleCount ()
 
ModuleInterfacegetImoduleAt (int index)
 
bool addImodule (ModuleInterface &imod)
 
bool removeImodule (ModuleInterface &imod)
 
void removeAllImodules ()
 
int iapplicationCount ()
 
ApplicationInterfacegetIapplicationAt (int index)
 
bool addIapplication (ApplicationInterface &iapp)
 
bool removeIapplication (ApplicationInterface &iapp)
 
void removeAllIapplications ()
 
int resourcesCount ()
 
ResYarpPortgetResourceAt (int index)
 
bool addResource (ResYarpPort &res)
 
bool removeResource (ResYarpPort &res)
 
void setPrefix (const char *szPrefix)
 
const char * getPrefix ()
 
void setBasePrefix (const char *szPrefix)
 
const char * getBasePrefix ()
 
void setXmlFile (const char *szFilename)
 
const char * getXmlFile ()
 
int connectionCount ()
 
ConnectiongetConnectionAt (int index)
 
ConnectionaddConnection (Connection &cnn)
 
bool removeConnection (Connection &cnn)
 
int arbitratorCount ()
 
ArbitratorgetArbitratorAt (int index)
 
ArbitratoraddArbitrator (Arbitrator &arb)
 
bool removeArbitrator (Arbitrator &arb)
 
void setOwner (Node *owner)
 
Nodeowner ()
 
bool operator== (const Application &app) const
 
void clear ()
 
GraphicModelgetModelBase ()
 
void setModelBase (GraphicModel &mdl)
 
- Public Member Functions inherited from yarp::manager::Node
 Node (NodeType _type)
 
 Node (NodeType _type, const char *szLabel)
 
virtual ~Node ()
 
void setSatisfied (bool sat)
 
bool isSatisfied ()
 
void setVisited (bool vis)
 
bool isVisited ()
 
bool isLeaf ()
 
NodeType getType ()
 
void setLabel (const char *szLabel)
 
const char * getLabel ()
 
int sucCount ()
 
LinkgetLinkAt (int index)
 
bool addSuc (Node *node, float weight, bool _virtual=false)
 class Node More...
 
bool removeSuc (Node *node)
 
void removeAllSuc ()
 
bool hasSuc (Node *node)
 
GraphicModelgetModel ()
 
void setModel (GraphicModel *mdl)
 

Public Attributes

std::map< std::string, int > modList
 

Detailed Description

Class Application.

Definition at line 292 of file application.h.

Constructor & Destructor Documentation

◆ Application() [1/3]

Application::Application ( )

Class Application.

Definition at line 75 of file application.cpp.

◆ Application() [2/3]

Application::Application ( const char *  szName)

Definition at line 81 of file application.cpp.

◆ Application() [3/3]

Application::Application ( const Application app)

Definition at line 88 of file application.cpp.

◆ ~Application()

Application::~Application ( )
overridedefault

Member Function Documentation

◆ addArbitrator()

Arbitrator & Application::addArbitrator ( Arbitrator arb)

Definition at line 151 of file application.cpp.

◆ addAuthor()

void yarp::manager::Application::addAuthor ( Author author)
inline

Definition at line 312 of file application.h.

◆ addConnection()

Connection & Application::addConnection ( Connection cnn)

Definition at line 133 of file application.cpp.

◆ addIapplication()

bool Application::addIapplication ( ApplicationInterface iapp)

Definition at line 190 of file application.cpp.

◆ addImodule()

bool Application::addImodule ( ModuleInterface imod)

Definition at line 116 of file application.cpp.

◆ addResource()

bool Application::addResource ( ResYarpPort res)

Definition at line 206 of file application.cpp.

◆ arbitratorCount()

int yarp::manager::Application::arbitratorCount ( )
inline

Definition at line 349 of file application.h.

◆ authorCount()

int yarp::manager::Application::authorCount ( )
inline

Definition at line 313 of file application.h.

◆ clear()

void yarp::manager::Application::clear ( )
inline

Definition at line 362 of file application.h.

◆ clone()

Node * Application::clone ( )
overridevirtual

Implements yarp::manager::Node.

Definition at line 109 of file application.cpp.

◆ connectionCount()

int yarp::manager::Application::connectionCount ( )
inline

Definition at line 343 of file application.h.

◆ getArbitratorAt()

Arbitrator& yarp::manager::Application::getArbitratorAt ( int  index)
inline

Definition at line 350 of file application.h.

◆ getAuthorAt()

Author& yarp::manager::Application::getAuthorAt ( int  index)
inline

Definition at line 314 of file application.h.

◆ getBasePrefix()

const char* yarp::manager::Application::getBasePrefix ( )
inline

Definition at line 337 of file application.h.

◆ getConnectionAt()

Connection& yarp::manager::Application::getConnectionAt ( int  index)
inline

Definition at line 344 of file application.h.

◆ getDescription()

const char* yarp::manager::Application::getDescription ( )
inline

Definition at line 309 of file application.h.

◆ getIapplicationAt()

ApplicationInterface& yarp::manager::Application::getIapplicationAt ( int  index)
inline

Definition at line 324 of file application.h.

◆ getImoduleAt()

ModuleInterface& yarp::manager::Application::getImoduleAt ( int  index)
inline

Definition at line 318 of file application.h.

◆ getModelBase()

GraphicModel& yarp::manager::Application::getModelBase ( )
inline

Definition at line 377 of file application.h.

◆ getName()

const char* yarp::manager::Application::getName ( )
inline

Definition at line 306 of file application.h.

◆ getNameLenght()

size_t yarp::manager::Application::getNameLenght ( )
inline

Definition at line 307 of file application.h.

◆ getPrefix()

const char* yarp::manager::Application::getPrefix ( )
inline

Definition at line 335 of file application.h.

◆ getResourceAt()

ResYarpPort& yarp::manager::Application::getResourceAt ( int  index)
inline

Definition at line 330 of file application.h.

◆ getVersion()

const char* yarp::manager::Application::getVersion ( )
inline

Definition at line 308 of file application.h.

◆ getXmlFile()

const char* yarp::manager::Application::getXmlFile ( )
inline

Definition at line 341 of file application.h.

◆ iapplicationCount()

int yarp::manager::Application::iapplicationCount ( )
inline

Definition at line 323 of file application.h.

◆ imoduleCount()

int yarp::manager::Application::imoduleCount ( )
inline

Definition at line 317 of file application.h.

◆ operator==()

bool yarp::manager::Application::operator== ( const Application app) const
inline

Definition at line 358 of file application.h.

◆ owner()

Node* yarp::manager::Application::owner ( )
inline

Definition at line 355 of file application.h.

◆ removeAllIapplications()

void yarp::manager::Application::removeAllIapplications ( )
inline

Definition at line 327 of file application.h.

◆ removeAllImodules()

void yarp::manager::Application::removeAllImodules ( )
inline

Definition at line 321 of file application.h.

◆ removeArbitrator()

bool Application::removeArbitrator ( Arbitrator arb)

Definition at line 158 of file application.cpp.

◆ removeAuthor()

bool Application::removeAuthor ( Author author)

Definition at line 222 of file application.cpp.

◆ removeConnection()

bool Application::removeConnection ( Connection cnn)

Definition at line 141 of file application.cpp.

◆ removeIapplication()

bool Application::removeIapplication ( ApplicationInterface iapp)

Definition at line 197 of file application.cpp.

◆ removeImodule()

bool Application::removeImodule ( ModuleInterface imod)

Definition at line 123 of file application.cpp.

◆ removeResource()

bool Application::removeResource ( ResYarpPort res)

Definition at line 213 of file application.cpp.

◆ resourcesCount()

int yarp::manager::Application::resourcesCount ( )
inline

Definition at line 329 of file application.h.

◆ setBasePrefix()

void yarp::manager::Application::setBasePrefix ( const char *  szPrefix)
inline

Definition at line 336 of file application.h.

◆ setDescription()

void yarp::manager::Application::setDescription ( const char *  szDesc)
inline

Definition at line 305 of file application.h.

◆ setModelBase()

void yarp::manager::Application::setModelBase ( GraphicModel mdl)
inline

Definition at line 378 of file application.h.

◆ setName()

void yarp::manager::Application::setName ( const char *  szName)
inline

Definition at line 299 of file application.h.

◆ setOwner()

void yarp::manager::Application::setOwner ( Node owner)
inline

Definition at line 354 of file application.h.

◆ setPrefix()

void yarp::manager::Application::setPrefix ( const char *  szPrefix)
inline

Definition at line 334 of file application.h.

◆ setVersion()

void yarp::manager::Application::setVersion ( const char *  szVersion)
inline

Definition at line 304 of file application.h.

◆ setXmlFile()

void yarp::manager::Application::setXmlFile ( const char *  szFilename)
inline

Definition at line 340 of file application.h.

Member Data Documentation

◆ modList

std::map<std::string, int> yarp::manager::Application::modList

Definition at line 380 of file application.h.


The documentation for this class was generated from the following files: