UProjectDeployer.h 1.91 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
#ifndef UProjectDeployerH
#define UProjectDeployerH

#include "../../Deploy/Include/rdk.h"
#include "UIVisualController.h"

namespace RDK{
class UApplication;

class RDK_LIB_TYPE UProjectDeployer: public UAppController
{
friend class UApplication;
protected: // 

protected: // 
///    
UEPtr<UApplication> Application;
protected: // 

protected: // 
//   (- 1)
std::string project_path;
std::string project_url;

//  :
std::string database_address;
std::string database_port;
std::string database_login;
std::string database_password;

// 
int project_gt_id;
int project_sln_id;
int project_weigts_id;
int project_script_id;

public: // 

// --------------------------
//    
// --------------------------
///     
UEPtr<UApplication> GetApplication(void);
bool SetApplication(UEPtr<UApplication> value);
// --------------------------

virtual int StartProjectDeployment(const std::string &project_path, const std::string &project_url) {return 0;};
virtual void SetDatabaseCredentials(const std::string &db_address, const std::string &db_port, const std::string &db_login, const std::string &db_password);
virtual void SetProjectIndices(int gt_id, int sln_id, int weights_id, int script_id);

// --------------------------
//   
// --------------------------
UProjectDeployer(void);
virtual ~UProjectDeployer(void);
// --------------------------

// --------------------------
//   
// --------------------------

///      ,  
///        
//virtual int ReadIncomingBytes(std::string &bind, std::vector<unsigned char> &bytes);
};

}//namespace RDK
#endif