Changeset 137 in flair-src for trunk/lib/FlairCore


Ignore:
Timestamp:
Feb 14, 2017, 3:06:20 PM (8 years ago)
Author:
Sanahuja Guillaume
Message:

singleton manager

Location:
trunk/lib/FlairCore/src
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/FlairCore/src/DataPlot.cpp

    r15 r137  
    1919#include "DataPlot_impl.h"
    2020#include "LayoutPosition.h"
    21 #include "FrameworkManager.h"
    2221#include "IODataElement.h"
    2322
  • trunk/lib/FlairCore/src/DataPlot1D.cpp

    r15 r137  
    1919#include "LayoutPosition.h"
    2020#include "IODataElement.h"
    21 #include "FrameworkManager.h"
    2221
    2322using std::string;
  • trunk/lib/FlairCore/src/FrameworkManager_impl.cpp

    r133 r137  
    204204void FrameworkManager_impl::SetupConnection(string address, uint16_t port,Time watchdogTimeout,
    205205                                            size_t rcv_buf_size) {
    206   UDT::startup();
     206  if (com != NULL) {
     207    Err("SetupConnection should be called only one time\n");
     208    return;
     209  }
     210                                                                                                                                                                                       
     211        UDT::startup();
    207212  this->rcv_buf_size = rcv_buf_size;
    208213
  • trunk/lib/FlairCore/src/Map.cpp

    r67 r137  
    2020#include "Layout.h"
    2121#include "GeoCoordinate.h"
    22 #include "FrameworkManager.h"
    2322#include <cmath>
    2423#include <string.h>
  • trunk/lib/FlairCore/src/Picture.cpp

    r15 r137  
    1717
    1818#include "Picture.h"
    19 #include "FrameworkManager.h"
    2019#include "cvimage.h"
    2120#include "Layout.h"
  • trunk/lib/FlairCore/src/RangeFinderPlot.cpp

    r15 r137  
    2121#include "Layout.h"
    2222#include "LayoutPosition.h"
    23 #include "FrameworkManager.h"
    2423#include <cxcore.h>
    2524
Note: See TracChangeset for help on using the changeset viewer.