Samchon Framework for CPP
1.0.0
Main Page
Related Pages
Namespaces
Classes
Files
File List
DistributedSystemArrayMediator.hpp
1
#pragma once
2
#include <samchon/API.hpp>
3
4
#include <samchon/templates/distributed/DistributedSystemArray.hpp>
5
#include <samchon/templates/parallel/ParallelSystemArrayMediator.hpp>
6
7
namespace
samchon
8
{
9
namespace
templates
10
{
11
namespace
distributed
12
{
46
template
<
class
System = DistributedSystem>
47
class
DistributedSystemArrayMediator
48
:
public
virtual
DistributedSystemArray
<System>,
49
public
virtual
parallel::ParallelSystemArrayMediator
<System>
50
{
51
public
:
52
/* ---------------------------------------------------------
53
CONSTRUCTORS
54
--------------------------------------------------------- */
58
DistributedSystemArrayMediator
()
59
:
DistributedSystemArray
<System>(),
60
ParallelSystemArrayMediator
<System>()
61
{
62
};
63
virtual
~
DistributedSystemArrayMediator
() =
default
;
64
65
protected
:
66
/* ---------------------------------------------------------
67
INVOKE MESSAGE CHAIN
68
--------------------------------------------------------- */
69
virtual
auto
_Complete_history(std::shared_ptr<slave::InvokeHistory> history) ->
bool
override
70
{
71
bool
ret = DistributedSystemArray::_Complete_history(history);
72
if
(ret ==
true
)
73
getMediator
()->_Complete_history(history->getUID());
74
75
return
ret;
76
};
77
};
78
};
79
};
80
};
samchon::templates::distributed::DistributedSystemArrayMediator::DistributedSystemArrayMediator
DistributedSystemArrayMediator()
Definition:
DistributedSystemArrayMediator.hpp:58
samchon::templates::parallel::ParallelSystemArrayMediator::getMediator
auto getMediator() const -> MediatorSystem *
Definition:
ParallelSystemArrayMediator.hpp:122
samchon::templates::distributed::DistributedSystemArrayMediator
Definition:
DistributedSystemArrayMediator.hpp:47
samchon::templates::parallel::ParallelSystemArrayMediator::ParallelSystemArrayMediator
ParallelSystemArrayMediator()
Default Constructor.
Definition:
ParallelSystemArrayMediator.hpp:61
samchon::templates::parallel::ParallelSystemArrayMediator
Definition:
ParallelSystemArrayMediator.hpp:46
samchon::templates::distributed::DistributedSystemArray
Definition:
DistributedSystemArray.hpp:119
samchon
Definition:
ByteArray.hpp:6
cpp
samchon
templates
distributed
DistributedSystemArrayMediator.hpp
Generated by
1.8.11