Skip to content

Commit

Permalink
Restructured folders and directories according to architecture
Browse files Browse the repository at this point in the history
  • Loading branch information
Elisabeth Hoppe authored and Elisabeth Hoppe committed May 11, 2016
1 parent 4cb96c2 commit e898530
Show file tree
Hide file tree
Showing 20 changed files with 40 additions and 80 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
// <http://www.gnu.org/licenses/>.
//

#include "../MainHeader.h"

#include <string.h>
#include <unistd.h>
Expand All @@ -33,7 +32,7 @@

using namespace std;

int main4(int argc, char* argv[])
int main(int argc, char* argv[])
{
int listenFd, portNo;
struct sockaddr_in svrAdd;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
// <http://www.gnu.org/licenses/>.
//

#include "../MainHeader.h"

#include <string.h>
#include <unistd.h>
Expand All @@ -37,7 +36,7 @@ void *task1(void *);

static int connFd;

int main3(int argc, char* argv[])
int main(int argc, char* argv[])
{
int pId, portNo, listenFd;
socklen_t len;
Expand Down
3 changes: 0 additions & 3 deletions src/MainHeader.h

This file was deleted.

3 changes: 0 additions & 3 deletions src/MainHeader.h~

This file was deleted.

2 changes: 1 addition & 1 deletion src/main2.cpp → src/ObjectDetection/detectionMain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
using namespace std;
//#include "imageprocessing/humandetector.h"

int main2(int argc, const char* argv[]) {
int main(int argc, const char* argv[]) {

//humandetector det;

Expand Down
22 changes: 22 additions & 0 deletions src/StreamDecoder/HDFDecoder/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
cmake_minimum_required (VERSION 2.8)
project(HDFDecoder)
set (OUTPUT_NAME HDFDecoder)


file(GLOB_RECURSE sources "./src/*.cpp")
file(GLOB_RECURSE headers "./src/*.h")

#hdf5
find_package (HDF5)
if(HDF5_FOUND)
set(LINK_LIBS ${LINK_LIBS} ${HDF5_C_STATIC_LIBRARY} ${HDF5_C_LIBRARIES})
include_directories(${HDF5_INCLUDE_DIR})
else(HDF5_FOUND)
message(SEND_ERROR "HDF5 was not Found")
endif(HDF5_FOUND)


add_executable(${OUTPUT_NAME} ${sources} ${headers})
target_link_libraries(${OUTPUT_NAME} ${LINK_LIBS} -lhdf5_cpp -lhdf5)


File renamed without changes.
14 changes: 14 additions & 0 deletions src/StreamDecoder/ProtobufDeserializer/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
cmake_minimum_required (VERSION 2.8)
project(ProtobufDecoder)
set (OUTPUT_NAME ProtobufDecoder)

add_subdirectory(protofiles)


file(GLOB_RECURSE sources "./src/*.cpp")
file(GLOB_RECURSE headers "./src/*.h")


add_executable(${OUTPUT_NAME} ${sources} ${headers})
target_link_libraries(${OUTPUT_NAME} proto ${PROTOBUF_LIBRARY})

File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#ifndef __protobuf_demo__msg_cameraimage_reader__
#define __protobuf_demo__msg_cameraimage_reader__

#include "../../protofiles/MsgCameraImage.pb.h"
#include "protofiles/MsgCameraImage.pb.h"

class MsgCameraImageReader{
public:
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
32 changes: 0 additions & 32 deletions src/main.cpp

This file was deleted.

36 changes: 0 additions & 36 deletions src/main.cpp~

This file was deleted.

0 comments on commit e898530

Please sign in to comment.