Samchon Framework for CPP
1.0.0
Main Page
Related Pages
Namespaces
Classes
Files
File List
ParallelSystemArray.hpp
1
#pragma once
2
#include <samchon/API.hpp>
3
4
#include <samchon/protocol/ExternalSystemArray.hpp>
5
6
#include <atomic>
7
8
namespace
samchon
9
{
10
namespace
protocol
11
{
12
namespace
master
13
{
14
class
ParallelSystem;
15
16
class
PRMasterHistoryArray;
17
class
PRMasterHistory;
18
50
class
SAMCHON_FRAMEWORK_API
ParallelSystemArray
51
:
public
virtual
ExternalSystemArray
52
{
53
friend
class
ParallelSystem
;
54
friend
class
PRMasterHistory
;
55
56
private
:
57
typedef
ExternalSystemArray
super
;
58
62
std::atomic<size_t>
uid
;
63
67
PRMasterHistoryArray
*
historyArray
;
68
72
PRMasterHistoryArray
*
progressArray
;
73
74
public
:
75
/* ------------------------------------------------------------------
76
CONSTRUCTORS
77
------------------------------------------------------------------ */
81
ParallelSystemArray
();
82
virtual
~
ParallelSystemArray
();
83
84
/* ------------------------------------------------------------------
85
GETTERS
86
------------------------------------------------------------------ */
87
SHARED_ENTITY_ARRAY_ELEMENT_ACCESSOR_HEADER(
ParallelSystem
)
88
89
/* ------------------------------------------------------------------
90
CHAIN OF INVOKE MESSAGE
91
------------------------------------------------------------------ */
92
using super::sendData;
93
100
void
sendSegmentData(
std
::shared_ptr<
Invoke
>,
size_t
);
101
109
virtual
void
sendPieceData(
std
::shared_ptr<Invoke>,
size_t
,
size_t
);
110
111
protected:
121
virtual
void
notifyEnd(
PRMasterHistory
*);
122
};
123
};
124
};
125
};
samchon::protocol::master::PRMasterHistory
A history log of an Invoke message on a master.
Definition:
PRMasterHistory.hpp:28
samchon::protocol::ExternalSystemArray
An array of ExternalSystem(s).
Definition:
ExternalSystemArray.hpp:44
std
Definition:
RWMutex.hpp:4
samchon::protocol::master::ParallelSystemArray::uid
std::atomic< size_t > uid
Sequence of uid allocating for history.
Definition:
ParallelSystemArray.hpp:62
samchon::protocol::master::ParallelSystemArray
An array of parallel system drivers.
Definition:
ParallelSystemArray.hpp:50
samchon::protocol::master::ParallelSystem
A network driver for a parallel system.
Definition:
ParallelSystem.hpp:41
samchon::protocol::master::PRMasterHistoryArray
An array of invoke histories of master.
Definition:
PRMasterHistoryArray.hpp:22
samchon::protocol::EntityGroup
An Entity and a container of children Entity objects.
Definition:
EntityGroup.hpp:52
samchon::protocol::Invoke
Standard message of network I/O.
Definition:
Invoke.hpp:47
samchon::protocol::master::ParallelSystemArray::historyArray
PRMasterHistoryArray * historyArray
An array of history have occured.
Definition:
ParallelSystemArray.hpp:67
samchon
Top level namespace of products built from samchon.
Definition:
ByteArray.hpp:7
samchon::protocol::master::ParallelSystemArray::progressArray
PRMasterHistoryArray * progressArray
An array of history on progress.
Definition:
ParallelSystemArray.hpp:72
cpp
samchon
protocol
master
ParallelSystemArray.hpp
Generated by
1.8.11