ESyS-Particle
2.3.4
BroadCast_cmd.hpp
Go to the documentation of this file.
1
// //
3
// Copyright (c) 2003-2017 by The University of Queensland //
4
// Centre for Geoscience Computing //
5
// http://earth.uq.edu.au/centre-geoscience-computing //
6
// //
7
// Primary Business: Brisbane, Queensland, Australia //
8
// Licensed under the Open Software License version 3.0 //
9
// http://www.apache.org/licenses/LICENSE-2.0 //
10
// //
12
13
template
<
typename
TmplPackable>
14
void
BroadcastCommand::packInto
(
const
TmplPackable &packable)
15
{
16
packable.packInto(&(
m_varBuffer
));
17
}
18
19
template
<
typename
TmplData>
20
void
BroadcastCommand::appendTypeAndName
(
const
TmplData &namedWithType)
21
{
22
m_varBuffer
.
append
(namedWithType.getTypeString().c_str());
23
m_varBuffer
.
append
(namedWithType.getName().c_str());
24
}
25
26
template
<
typename
TmplData>
27
void
BroadcastCommand::append
(
const
TmplData &data)
28
{
29
m_varBuffer
.
append
(data);
30
}
BroadcastCommand::m_varBuffer
CVarMPIBuffer m_varBuffer
Definition:
BroadCast_cmd.h:28
CVarMPIBuffer::append
virtual void append(int)
Definition:
mpivbuf.cpp:152
BroadcastCommand::appendTypeAndName
void appendTypeAndName(const TmplData &namedWithType)
Definition:
BroadCast_cmd.hpp:20
BroadcastCommand::append
void append(const TmplData &basicTypeData)
Definition:
BroadCast_cmd.hpp:27
BroadcastCommand::packInto
void packInto(const TmplPackable &)
Definition:
BroadCast_cmd.hpp:14
Parallel
BroadCast_cmd.hpp
Generated by
1.8.20