Changeset 29 in flair-dev for trunk/include/FlairCore


Ignore:
Timestamp:
07/29/16 15:19:13 (8 years ago)
Author:
Sanahuja Guillaume
Message:

m

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/FlairCore/FrameworkManager.h

    r13 r29  
    1919
    2020namespace flair {
    21 namespace gui {
    22 class TabWidget;
    23 class SendData;
    24 }
     21  namespace gui {
     22    class TabWidget;
     23    class SendData;
     24  }
    2525}
    2626namespace flair {
     
    6969  *
    7070  * Call this method just after the constructor of this class. If this method is
    71   *not called, the program will run headless.
     71  * not called, the program will run headless.
     72  * If this method is called, SetupUserInterface must also be called after this.
    7273  *
    7374  * \param address address of ground station
    7475  * \param port port of ground station
     76  * \param watchdogTimeout watchdog timeout for the connection, passing TIME_INFINITE will disable the watchdog
    7577  * \param rcv_buf_size receive buffer size
    7678  */
    77   void SetupConnection(std::string address, uint16_t port,
     79  void SetupConnection(std::string address, uint16_t port,Time watchdogTimeout=(Time)1000000000,
    7880                       size_t rcv_buf_size = 10000);
    7981
     
    8284  *
    8385  * If this method is called after SetupConnection, Widgets will be displayed in
    84   *the ground station.
    85   * Otherwise, it will run headless, but default values of Widgets will be taken
    86   *from the xml file.
     86  * the ground station.
     87  * If this method is called and SetupConnection was not called, it will run headless but default values of Widgets will be taken
     88  * from the xml file.
     89  * If this method is not called, Widgets will not be available. Constructing an object based on Widget class will fail.
    8790  *
    8891  * \param xml_file xml file for default values of Widgets
Note: See TracChangeset for help on using the changeset viewer.