Sfoglia il codice sorgente

Removed Messaging library.

It contained no actual code and no one is working on it.
Sascha Zelzer 13 anni fa
parent
commit
7f2c86ff6c

+ 0 - 67
Libs/Messaging/Core/CMakeLists.txt

@@ -1,67 +0,0 @@
-project(CTKMessagingCore)
-
-#
-# See CTK/CMake/ctkMacroBuildLib.cmake for details
-#
-
-set(KIT_export_directive "CTK_MESSAGING_CORE_EXPORT")
-
-
-# Source files
-set(KIT_SRCS
-  ctkMessagingServer.h
-  ctkMessagingServer.cpp
-  ctkMessagingClient.h
-  ctkMessagingClient.cpp
-  )
-
-# Headers that should run through moc
-set(KIT_MOC_SRCS
-  )
-
-# UI files
-set(KIT_UI_FORMS
-  )
-
-# Resources
-set(KIT_resources
-  )
-
-# Set VTK_LIBRARIES variable
-#set(ZMQ_LIBRARIES
-#  vtkCommon
-#  vtkFiltering
-#  )
-
-# Target libraries - See CMake/ctkFunctionGetTargetLibraries.cmake
-# The following macro will read the target libraries from the file 'target_libraries.cmake'
-ctkFunctionGetTargetLibraries(KIT_target_libraries)
-
-ctkMacroBuildLib(
-  NAME ${PROJECT_NAME}
-  EXPORT_DIRECTIVE ${KIT_export_directive}
-  SRCS ${KIT_SRCS}
-  MOC_SRCS ${KIT_MOC_SRCS}
-  UI_FORMS ${KIT_UI_FORMS}
-  TARGET_LIBRARIES ${KIT_target_libraries}
-  RESOURCES ${KIT_resources}
-  LIBRARY_TYPE ${CTK_LIBRARY_MODE}
-  )
-
-if(CTK_WRAP_PYTHONQT_FULL OR CTK_WRAP_PYTHONQT_LIGHT)
-  ctkMacroBuildLibWrapper(
-    TARGET ${PROJECT_NAME}
-    SRCS ${KIT_SRCS}
-    WRAPPER_LIBRARY_TYPE ${CTK_LIBRARY_MODE}
-    )
-endif()
-
-# Plugins
-#if(BUILD_QTDESIGNER_PLUGINS)
-#  add_subdirectory(Plugins)
-#endif()
-
-# Testing
-if(BUILD_TESTING)
-  add_subdirectory(Testing)
-endif()

+ 0 - 20
Libs/Messaging/Core/Testing/CMakeLists.txt

@@ -1,20 +0,0 @@
-set(KIT ${PROJECT_NAME})
-
-create_test_sourcelist(Tests ${KIT}CppTests.cpp
-  ctkMessagingServerTest1.cpp
-  #EXTRA_INCLUDE TestingMacros.h
-  )
-
-SET (TestsToRun ${Tests})
-REMOVE (TestsToRun ${KIT}CppTests.cpp)
-
-set(LIBRARY_NAME ${PROJECT_NAME})
-
-add_executable(${KIT}CppTests ${Tests})
-target_link_libraries(${KIT}CppTests ${LIBRARY_NAME} ${CTK_BASE_LIBRARIES})
-
-#
-# Add Tests
-#
-
-SIMPLE_TEST( ctkMessagingServerTest1 )

+ 0 - 37
Libs/Messaging/Core/Testing/ctkMessagingServerTest1.cpp

@@ -1,37 +0,0 @@
-/*=========================================================================
-
-  Library:   CTK
-
-  Copyright (c) Kitware Inc.
-
-  Licensed under the Apache License, Version 2.0 (the "License");
-  you may not use this file except in compliance with the License.
-  You may obtain a copy of the License at
-
-      http://www.apache.org/licenses/LICENSE-2.0.txt
-
-  Unless required by applicable law or agreed to in writing, software
-  distributed under the License is distributed on an "AS IS" BASIS,
-  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  See the License for the specific language governing permissions and
-  limitations under the License.
-
-=========================================================================*/
-
-// CTK includes
-#include "ctkMessagingServer.h"
-#include "ctkModelTester.h"
-
-// STD includes
-#include <cstdlib>
-#include <iostream>
-
-//-----------------------------------------------------------------------------
-int ctkMessagingServerTest1(int argc, char * argv [] )
-{
-  
-  ctkMessagingServer * server = new ctkMessagingServer;
-
-  return EXIT_SUCCESS;
-}
-

+ 0 - 39
Libs/Messaging/Core/ctkMessagingClient.cpp

@@ -1,39 +0,0 @@
-/*=========================================================================
-
-  Library:   CTK
-
-  Copyright (c) Kitware Inc.
-
-  Licensed under the Apache License, Version 2.0 (the "License");
-  you may not use this file except in compliance with the License.
-  You may obtain a copy of the License at
-
-      http://www.apache.org/licenses/LICENSE-2.0.txt
-
-  Unless required by applicable law or agreed to in writing, software
-  distributed under the License is distributed on an "AS IS" BASIS,
-  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  See the License for the specific language governing permissions and
-  limitations under the License.
-
-=========================================================================*/
-
-// ZMQ includes
-
-// ctkMessagingCore includes
-#include "ctkMessagingClient.h"
-
-// STD includes
-#include <iostream>
-
-
-//------------------------------------------------------------------------------
-ctkMessagingClient::ctkMessagingClient()/*:d_ptr(new ctkMessagingClientPrivate)*/
-{
-}
-
-//----------------------------------------------------------------------------
-ctkMessagingClient::~ctkMessagingClient()
-{
-}
-

+ 0 - 46
Libs/Messaging/Core/ctkMessagingClient.h

@@ -1,46 +0,0 @@
-/*=========================================================================
-
-  Library:   CTK
-
-  Copyright (c) Kitware Inc.
-
-  Licensed under the Apache License, Version 2.0 (the "License");
-  you may not use this file except in compliance with the License.
-  You may obtain a copy of the License at
-
-      http://www.apache.org/licenses/LICENSE-2.0.txt
-
-  Unless required by applicable law or agreed to in writing, software
-  distributed under the License is distributed on an "AS IS" BASIS,
-  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  See the License for the specific language governing permissions and
-  limitations under the License.
-
-=========================================================================*/
-
-#ifndef __ctkMessagingClient_h
-#define __ctkMessagingClient_h
-
-// ZMQ includes 
-#include <zmq.hpp>
-#include "ctkMessagingCoreExport.h"
-
-//class ctkMessagingClientPrivate;
-
-class CTK_MESSAGING_CORE_EXPORT ctkMessagingClient
-{
-public:
-  //typedef QObject Superclass;
-  explicit ctkMessagingClient();
-  virtual ~ctkMessagingClient();
-  
-
-//protected:
-//  QScopedPointer<ctkMessagingClientPrivate> d_ptr;
-//private:
-//  Q_DECLARE_PRIVATE(ctkMessagingClient);
-//  Q_DISABLE_COPY(ctkMessagingClient);
-
-};
-
-#endif

+ 0 - 44
Libs/Messaging/Core/ctkMessagingServer.cpp

@@ -1,44 +0,0 @@
-/*=========================================================================
-
-  Library:   CTK
-
-  Copyright (c) Kitware Inc.
-
-  Licensed under the Apache License, Version 2.0 (the "License");
-  you may not use this file except in compliance with the License.
-  You may obtain a copy of the License at
-
-      http://www.apache.org/licenses/LICENSE-2.0.txt
-
-  Unless required by applicable law or agreed to in writing, software
-  distributed under the License is distributed on an "AS IS" BASIS,
-  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  See the License for the specific language governing permissions and
-  limitations under the License.
-
-=========================================================================*/
-
-// ZMQ includes
-
-// ctkMessagingCore includes
-#include "ctkMessagingServer.h"
-
-// STD includes
-#include <iostream>
-
-
-//------------------------------------------------------------------------------
-ctkMessagingServer::ctkMessagingServer()/*:d_ptr(new ctkMessagingServerPrivate)*/
-{
-  zmq::context_t ctx (1, 1);
-
-  // Create a PUB socket for port 5555 on the lo interface
-  zmq::socket_t s(ctx, ZMQ_PUB);
-  //s.bind ("tcp://lo0:5555");
-}
-
-//----------------------------------------------------------------------------
-ctkMessagingServer::~ctkMessagingServer()
-{
-}
-

+ 0 - 46
Libs/Messaging/Core/ctkMessagingServer.h

@@ -1,46 +0,0 @@
-/*=========================================================================
-
-  Library:   CTK
-
-  Copyright (c) Kitware Inc.
-
-  Licensed under the Apache License, Version 2.0 (the "License");
-  you may not use this file except in compliance with the License.
-  You may obtain a copy of the License at
-
-      http://www.apache.org/licenses/LICENSE-2.0.txt
-
-  Unless required by applicable law or agreed to in writing, software
-  distributed under the License is distributed on an "AS IS" BASIS,
-  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  See the License for the specific language governing permissions and
-  limitations under the License.
-
-=========================================================================*/
-
-#ifndef __ctkMessagingServer_h
-#define __ctkMessagingServer_h
-
-// ZMQ includes 
-#include <zmq.hpp>
-#include "ctkMessagingCoreExport.h"
-
-//class ctkMessagingServerPrivate;
-
-class CTK_MESSAGING_CORE_EXPORT ctkMessagingServer
-{
-public:
-  //typedef QObject Superclass;
-  explicit ctkMessagingServer();
-  virtual ~ctkMessagingServer();
-  
-
-//protected:
-//  QScopedPointer<ctkMessagingServerPrivate> d_ptr;
-//private:
-//  Q_DECLARE_PRIVATE(ctkMessagingServer);
-//  Q_DISABLE_COPY(ctkMessagingServer);
-
-};
-
-#endif

+ 0 - 11
Libs/Messaging/Core/target_libraries.cmake

@@ -1,11 +0,0 @@
-#
-# See CMake/ctkFunctionGetTargetLibraries.cmake
-# 
-# This file should list the libraries required to build the current CTK libraries
-#
-
-set(target_libraries
-  #OpenIGTLink_LIBRARIES
-  ZMQ_LIBRARIES
-  CTKCore
-  )