add test dir to examples/MQ/GenericDevices + change policy typedef in generic device from private to protected

This commit is contained in:
NicolasWinckler 2015-11-11 12:04:54 +01:00
parent 1467360f75
commit 76626b4f4b
3 changed files with 3 additions and 0 deletions

View File

@ -41,6 +41,7 @@
template <typename T, typename U>
class GenericFileSink : public FairMQDevice, public T, public U
{
protected:
typedef T deserialization_type;
typedef U sink_type;
public:

View File

@ -43,6 +43,7 @@
template <typename T, typename U, typename V>
class GenericProcessor : public FairMQDevice, public T, public U, public V
{
protected:
typedef T deserialization_type;
typedef U serialization_type;
typedef V proc_task_type;

View File

@ -56,6 +56,7 @@
template <typename T, typename U, typename K, typename L>
class base_GenericSampler : public FairMQDevice, public T, public U
{
protected:
typedef T source_type;
typedef U serialization_type;
typedef K key_type;