Skip to content

Commit

Permalink
scaffold pass
Browse files Browse the repository at this point in the history
  • Loading branch information
getnamo committed Sep 27, 2019
1 parent 8e3a335 commit 81265f4
Show file tree
Hide file tree
Showing 5 changed files with 121 additions and 0 deletions.
Binary file added Resources/Icon128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 20 additions & 0 deletions Source/TensorflowRemote/Private/TensorflowRemote.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.

#include "TensorflowRemote.h"

#define LOCTEXT_NAMESPACE "FTensorflowRemoteModule"

void FTensorflowRemoteModule::StartupModule()
{
// This code will execute after your module is loaded into memory; the exact timing is specified in the .uplugin file per-module
}

void FTensorflowRemoteModule::ShutdownModule()
{
// This function may be called during shutdown to clean up your module. For modules that support dynamic reloading,
// we call this function before unloading the module.
}

#undef LOCTEXT_NAMESPACE

IMPLEMENT_MODULE(FTensorflowRemoteModule, TensorflowRemote)
15 changes: 15 additions & 0 deletions Source/TensorflowRemote/Public/TensorflowRemote.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.

#pragma once

#include "CoreMinimal.h"
#include "Modules/ModuleManager.h"

class FTensorflowRemoteModule : public IModuleInterface
{
public:

/** IModuleInterface implementation */
virtual void StartupModule() override;
virtual void ShutdownModule() override;
};
57 changes: 57 additions & 0 deletions Source/TensorflowRemote/TensorflowRemote.Build.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.

using UnrealBuildTool;

public class TensorflowRemote : ModuleRules
{
public TensorflowRemote(ReadOnlyTargetRules Target) : base(Target)
{
PCHUsage = ModuleRules.PCHUsageMode.UseExplicitOrSharedPCHs;

PublicIncludePaths.AddRange(
new string[] {
// ... add public include paths required here ...
}
);


PrivateIncludePaths.AddRange(
new string[] {
// ... add other private include paths required here ...
}
);


PublicDependencyModuleNames.AddRange(
new string[]
{
"Core",
// ... add other public dependencies that you statically link with here ...
}
);


PrivateDependencyModuleNames.AddRange(
new string[]
{
"CoreUObject",
"Engine",
"Slate",
"SlateCore",
"SocketIOClient",
"SocketIOLib",
"Json",
"SIOJson"
// ... add private dependencies that you statically link with here ...
}
);


DynamicallyLoadedModuleNames.AddRange(
new string[]
{
// ... add any modules that your module loads dynamically here ...
}
);
}
}
29 changes: 29 additions & 0 deletions TensorflowRemote.uplugin
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"FileVersion": 3,
"Version": 1,
"VersionName": "0.1.0",
"FriendlyName": "TensorflowRemote",
"Description": "Tensorflow plugin for the Unreal Engine, encapsulating calls to remote python servers running Tensorflow.",
"Category": "Computing",
"CreatedBy": "Getnamo",
"CreatedByURL": "http://www.getnamo.com",
"DocsURL": "https://github.com/getnamo/tensorflow-remote-ue4",
"MarketplaceURL": "",
"SupportURL": "https://github.com/getnamo/tensorflow-remote-ue4/issues",
"CanContainContent": true,
"IsBetaVersion": false,
"Installed": false,
"Modules": [
{
"Name": "TensorflowRemote",
"Type": "Runtime",
"LoadingPhase": "Default"
}
],
"Plugins": [
{
"Name": "SocketIOClient",
"Enabled": true
}
]
}

0 comments on commit 81265f4

Please sign in to comment.