Changeset 29 in flair-dev for trunk/include/FlairCore
- Timestamp:
- Jul 29, 2016, 3:19:13 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/FlairCore/FrameworkManager.h
r13 r29 19 19 20 20 namespace flair { 21 namespace gui {22 class TabWidget;23 class SendData;24 }21 namespace gui { 22 class TabWidget; 23 class SendData; 24 } 25 25 } 26 26 namespace flair { … … 69 69 * 70 70 * 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. 72 73 * 73 74 * \param address address of ground station 74 75 * \param port port of ground station 76 * \param watchdogTimeout watchdog timeout for the connection, passing TIME_INFINITE will disable the watchdog 75 77 * \param rcv_buf_size receive buffer size 76 78 */ 77 void SetupConnection(std::string address, uint16_t port, 79 void SetupConnection(std::string address, uint16_t port,Time watchdogTimeout=(Time)1000000000, 78 80 size_t rcv_buf_size = 10000); 79 81 … … 82 84 * 83 85 * 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. 87 90 * 88 91 * \param xml_file xml file for default values of Widgets
Note:
See TracChangeset
for help on using the changeset viewer.