Overview
::
Library Doc
::
Server Doc
::
JSON Commands
In Situ Animation of Accelerated Computations
src
ImageConnector.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
#ifndef __IMAGECONNECTOR
17
#define __IMAGECONNECTOR
18
19
20
#include "
Runable.hpp
"
21
#include "
MessageAble.hpp
"
22
#include "
ThreadList.hpp
"
23
#include "
Broker.hpp
"
24
class
Broker
;
25
26
class
ImageConnector
:
public
Runable
,
public
MessageAble
<ImageBufferContainer>
27
{
28
public
:
29
ImageConnector
();
30
//To be overwritten
31
virtual
errorCode
init
(
int
minport,
int
maxport) = 0;
32
virtual
errorCode
run
() = 0;
33
virtual
std::string
getName
() = 0;
34
35
//Called from the Master
36
void
setBroker
(
Broker
*
broker
);
37
38
bool
showClient
;
39
protected
:
40
Broker
*
broker
;
41
};
42
43
#endif
Runable.hpp
ImageConnector::getName
virtual std::string getName()=0
ImageConnector::setBroker
void setBroker(Broker *broker)
Definition:
ImageConnector.cpp:23
ThreadList.hpp
ImageConnector::showClient
bool showClient
Definition:
ImageConnector.hpp:38
errorCode
int errorCode
Definition:
Common.hpp:24
ImageConnector::ImageConnector
ImageConnector()
Definition:
ImageConnector.cpp:18
MessageAble.hpp
MessageAble
Definition:
MessageAble.hpp:22
ImageConnector::init
virtual errorCode init(int minport, int maxport)=0
ImageConnector::run
virtual errorCode run()=0
Broker
Definition:
Broker.hpp:99
Broker.hpp
ImageConnector::broker
Broker * broker
Definition:
ImageConnector.hpp:40
Runable
Definition:
Runable.hpp:19
ImageConnector
Definition:
ImageConnector.hpp:26
Generated on Wed Dec 14 2016 16:48:57 for ISAAC Server by
1.8.12