Overview
::
Library Doc
::
Server Doc
::
JSON Commands
In Situ Animation of Accelerated Computations
src
MetaDataClient.hpp
Go to the documentation of this file.
1
/* This file is part of ISAAC.
2
*
3
* ISAAC is free software: you can redistribute it and/or modify
4
* it under the terms of the GNU Lesser General Public License as
5
* published by the Free Software Foundation, either version 3 of the
6
* License, or (at your option) any later version.
7
*
8
* ISAAC is distributed in the hope that it will be useful,
9
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
* GNU Lesser General Public License for more details.
12
*
13
* You should have received a copy of the GNU Lesser General Public
14
* License along with ISAAC. If not, see <www.gnu.org/licenses/>. */
15
16
#pragma once
17
18
#include "
MessageAble.hpp
"
19
#include <map>
20
21
class
MetaDataClient
:
public
MessageAble
<MessageContainer>
22
{
23
public
:
24
MetaDataClient
();
25
void
observe
(
int
nr,
int
stream,
bool
dropable);
26
void
stopObserve
(
int
nr,
int
& stream,
bool
& dropable);
27
bool
doesObserve
(
int
nr,
int
& stream,
bool
& dropable);
28
private
:
29
std::map<int,int> observeList;
30
std::map<int,bool> dropableList;
31
};
MetaDataClient
Definition:
MetaDataClient.hpp:21
MetaDataClient::MetaDataClient
MetaDataClient()
Definition:
MetaDataClient.cpp:19
MessageAble.hpp
MessageAble
Definition:
MessageAble.hpp:22
MetaDataClient::doesObserve
bool doesObserve(int nr, int &stream, bool &dropable)
Definition:
MetaDataClient.cpp:42
MetaDataClient::observe
void observe(int nr, int stream, bool dropable)
Definition:
MetaDataClient.cpp:24
MetaDataClient::stopObserve
void stopObserve(int nr, int &stream, bool &dropable)
Definition:
MetaDataClient.cpp:30
Generated on Wed Dec 14 2016 16:48:57 for ISAAC Server by
1.8.12