blob: 3f94e548cc94197e9db446454ab1fe112b68c6a9 (
plain)
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
|
// Copyright (C) by Josh Blum. See LICENSE.txt for licensing information.
#ifndef INCLUDED_GRAS_DETAIL_BLOCK_HPP
#define INCLUDED_GRAS_DETAIL_BLOCK_HPP
namespace gras
{
template <typename ValueType>
inline void Block::post_output_msg(const size_t i, const ValueType &value)
{
this->_post_output_msg(i, PMC_M(value));
}
template <>
inline void Block::post_output_msg(const size_t i, const PMCC &value)
{
this->_post_output_msg(i, value);
}
template <>
inline void Block::post_output_msg(const size_t i, const PMC &value)
{
this->_post_output_msg(i, value);
}
template <typename ValueType>
inline void Block::post_input_msg(const size_t i, const ValueType &value)
{
this->_post_input_msg(i, PMC_M(value));
}
template <>
inline void Block::post_input_msg(const size_t i, const PMCC &value)
{
this->_post_input_msg(i, value);
}
template <>
inline void Block::post_input_msg(const size_t i, const PMC &value)
{
this->_post_input_msg(i, value);
}
} //namespace gras
#endif /*INCLUDED_GRAS_DETAIL_BLOCK_HPP*/
|