Samchon Framework for CPP
1.0.0
Main Page
Related Pages
Namespaces
Classes
Files
File List
PRInvokeHistory.hpp
1
#pragma once
2
#include <samchon/API.hpp>
3
4
#include <samchon/protocol/InvokeHistory.hpp>
5
6
namespace
samchon
7
{
8
namespace
protocol
9
{
10
namespace
master
11
{
12
class
PRMasterHistory;
13
class
ParallelSystemArray;
14
class
ParallelSystem;
15
23
class
SAMCHON_FRAMEWORK_API
PRInvokeHistory
24
:
public
InvokeHistory
25
{
26
friend
class
ParallelSystemArray
;
27
friend
class
PRMasterHistory
;
28
29
private
:
30
typedef
InvokeHistory
super
;
31
32
public
:
36
PRMasterHistory
*
masterHistory
;
37
41
ParallelSystem
*
system
;
42
46
size_t
index
;
47
51
size_t
size
;
52
53
public
:
54
/* --------------------------------------------------------------------
55
CONSTRUCTORS
56
-------------------------------------------------------------------- */
60
PRInvokeHistory
();
61
69
PRInvokeHistory
(
PRMasterHistory
*,
ParallelSystem
*, std::shared_ptr<Invoke>);
70
71
virtual
~
PRInvokeHistory
() =
default
;
72
73
virtual
void
construct(std::shared_ptr<library::XML>)
override
;
74
75
virtual
void
notifyEnd()
override
;
76
77
/* --------------------------------------------------------------------
78
GETTERS
79
-------------------------------------------------------------------- */
83
inline
auto
getIndex() const->
size_t
;
84
88
auto getSize() const->
size_t
;
89
93
auto calcAverageElapsedTime() const ->
double
;
94
95
/* --------------------------------------------------------------------
96
EXPORTER
97
-------------------------------------------------------------------- */
98
virtual auto toXML() const->
std
::shared_ptr<library::XML> override;
99
};
100
};
101
};
102
};
samchon::protocol::Entity
An entity, a standard data class.
Definition:
Entity.hpp:48
samchon::protocol::master::PRMasterHistory
A history log of an Invoke message on a master.
Definition:
PRMasterHistory.hpp:28
std
Definition:
RWMutex.hpp:4
samchon::protocol::InvokeHistory
A history of an Invoke message.
Definition:
InvokeHistory.hpp:35
samchon::protocol::master::ParallelSystemArray
An array of parallel system drivers.
Definition:
ParallelSystemArray.hpp:50
samchon::protocol::master::PRInvokeHistory::size
size_t size
The Size.
Definition:
PRInvokeHistory.hpp:51
samchon::protocol::master::PRInvokeHistory::masterHistory
PRMasterHistory * masterHistory
A history of master.
Definition:
PRInvokeHistory.hpp:36
samchon::protocol::master::ParallelSystem
A network driver for a parallel system.
Definition:
ParallelSystem.hpp:41
samchon::protocol::master::PRInvokeHistory::index
size_t index
Start index.
Definition:
PRInvokeHistory.hpp:46
samchon::protocol::master::PRInvokeHistory::system
ParallelSystem * system
A system the history is belonged to.
Definition:
PRInvokeHistory.hpp:41
samchon::protocol::master::PRInvokeHistory
A reported history of an Invoke message.
Definition:
PRInvokeHistory.hpp:23
samchon
Top level namespace of products built from samchon.
Definition:
ByteArray.hpp:7
cpp
samchon
protocol
master
PRInvokeHistory.hpp
Generated by
1.8.11