OTB  6.7.0
Orfeo Toolbox
Signals | Public Member Functions | Private Attributes | List of all members
mvd::ApplicationsBrowser Class Reference

#include <mvdApplicationsBrowser.h>

+ Inheritance diagram for mvd::ApplicationsBrowser:
+ Collaboration diagram for mvd::ApplicationsBrowser:


void AvailableApplicationsTagsChanged (const ApplicationsTagContainer &)

Public Member Functions

 ApplicationsBrowser (QObject *p=NULL)
StringVector GetApplicationTags (const std::string &appName)
StringVector GetAvailableApplications ()
void SearchAvailableApplicationsTags ()
void SetAutoLoadPath (const std::string &itk_auto_load_path)
 ~ApplicationsBrowser () override

Private Attributes

std::string m_AutoLoadPath

Detailed Description

Search for available applications in a directory.

This class provides the functionnalities to look for otbWrapperApplication apps in a given directory. The method used to set the directory is SetAutoLoadPath(const std::string &).

If applications are available in the directory set by the user, tags of each application are extracted.

An association application-tags is then setup and stored in a std::vector to be sent (via a signal) to the mvd::ApplicationsToolBox or any widget or class connected to this signal.

Definition at line 93 of file mvdApplicationsBrowser.h.

Constructor & Destructor Documentation

mvd::ApplicationsBrowser::ApplicationsBrowser ( QObject *  p = NULL)



mvd::ApplicationsBrowser::~ApplicationsBrowser ( )


Member Function Documentation

void mvd::ApplicationsBrowser::AvailableApplicationsTagsChanged ( const ApplicationsTagContainer )
StringVector mvd::ApplicationsBrowser::GetApplicationTags ( const std::string &  appName)

return the list applications <->tags

StringVector mvd::ApplicationsBrowser::GetAvailableApplications ( )

get available applications in the search path

void mvd::ApplicationsBrowser::SearchAvailableApplicationsTags ( )

return std::map storing tag/apps association for all the applications in the search path

void mvd::ApplicationsBrowser::SetAutoLoadPath ( const std::string &  itk_auto_load_path)

set the path where to look for applications

Member Data Documentation

std::string mvd::ApplicationsBrowser::m_AutoLoadPath

Definition at line 164 of file mvdApplicationsBrowser.h.

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