Ignore:
Timestamp:
Feb 12, 2015, 11:18:07 PM (7 years ago)
Author:
djay
Message:

Continue adding initial doxygen documentation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/zoo-project/zoo-kernel/service_internal_otb.c

    r576 r580  
    1 /**
     1/*
    22 * Author : Gérald FENOY
    33 *
     
    3131using namespace otb::Wrapper;
    3232
     33/**
     34 * The ZooWatcher list
     35 */
    3336WatcherListType m_WatcherList;
     37/**
     38 * A pointer to the conf maps containing the main.cfg settings
     39 */
    3440maps* m_Conf;
    3541
     42/**
     43 * The command to create a ZooWatcher and add it to the global m_WatcherList
     44 */
    3645class MyCommand : public itk::Command
    3746{
     
    4049 public:
    4150
     51  /**
     52   * The method that defines the action to be taken by the command.
     53   *
     54   * @param caller an itk::Object pointer
     55   * @param event an itk::EventObject pointer
     56   */
    4257  void Execute(itk::Object *caller, const itk::EventObject & event)
    4358  {
     
    4560  }
    4661 
    47   void Execute(const itk::Object * object, const itk::EventObject & event)
     62  /**
     63   * The method that defines the action to be taken by the command.
     64   * Create a new ZooWatcher instance then add it to the m_WatcherList.
     65   *
     66   * @param caller a const itk::Object pointer
     67   * @param event an itk::EventObject pointer
     68   * @see ZooWatcher,ZooWatcher::SetConf
     69   */
     70  void Execute(const itk::Object *caller, const itk::EventObject & event)
    4871  {
    4972    const AddProcessToWatchEvent* eventToWatch = dynamic_cast< const AddProcessToWatchEvent*> ( &event );
    5073    std::string m_CurrentDescription = eventToWatch->GetProcessDescription();
    51     std::cerr << "err_service_zooo start ccalled." << m_CurrentDescription << std::endl;
    5274    ZooWatcher * watch = new ZooWatcher(eventToWatch->GetProcess(),
    5375                                        eventToWatch->GetProcessDescription());
     
    5678  }
    5779
    58 
    59 
    6080};
    6181
    62 
     82/**
     83 * Replace all occurence of from by to in a str string
     84 *
     85 * @param str the string to transform
     86 * @param from the string to replace
     87 * @param to the string used as replacement
     88 * @return the resulting string
     89 */
    6390std::string ReplaceAll(std::string str, const std::string& from, const std::string& to) {
    6491    size_t start_pos = 0;
     
    7097}
    7198
     99/**
     100 * Load and run an OTB Application corresponding to the service by using inputs parameters.
     101 * Define the m_Conf
     102 *
     103 * @param main_conf the conf maps containing the main.cfg settings
     104 * @param request the map containing the HTTP request
     105 * @param s the service structure
     106 * @param real_inputs the maps containing the inputs
     107 * @param real_outputs the maps containing the outputs
     108 */
    72109int zoo_otb_support(maps** main_conf,map* request,service* s,maps **real_inputs,maps **real_outputs){
    73110  maps* m=*main_conf;
Note: See TracChangeset for help on using the changeset viewer.

Search

Context Navigation

ZOO Sponsors

http://www.zoo-project.org/trac/chrome/site/img/geolabs-logo.pnghttp://www.zoo-project.org/trac/chrome/site/img/neogeo-logo.png http://www.zoo-project.org/trac/chrome/site/img/apptech-logo.png http://www.zoo-project.org/trac/chrome/site/img/3liz-logo.png http://www.zoo-project.org/trac/chrome/site/img/gateway-logo.png

Become a sponsor !

Knowledge partners

http://www.zoo-project.org/trac/chrome/site/img/ocu-logo.png http://www.zoo-project.org/trac/chrome/site/img/gucas-logo.png http://www.zoo-project.org/trac/chrome/site/img/polimi-logo.png http://www.zoo-project.org/trac/chrome/site/img/fem-logo.png http://www.zoo-project.org/trac/chrome/site/img/supsi-logo.png http://www.zoo-project.org/trac/chrome/site/img/cumtb-logo.png

Become a knowledge partner

Related links

http://zoo-project.org/img/ogclogo.png http://zoo-project.org/img/osgeologo.png