CTK
0.1.0
The Common Toolkit is a community effort to provide support code for medical image analysis, surgical navigation, and related projects.
Loading...
Searching...
No Matches
Plugins
org.commontk.eventbus
ctkEventAdminBus.h
Go to the documentation of this file.
1
/*=============================================================================
2
3
Library: CTK
4
5
Copyright (c) German Cancer Research Center,
6
Division of Medical and Biological Informatics
7
8
Licensed under the Apache License, Version 2.0 (the "License");
9
you may not use this file except in compliance with the License.
10
You may obtain a copy of the License at
11
12
http://www.apache.org/licenses/LICENSE-2.0
13
14
Unless required by applicable law or agreed to in writing, software
15
distributed under the License is distributed on an "AS IS" BASIS,
16
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17
See the License for the specific language governing permissions and
18
limitations under the License.
19
20
=============================================================================*/
21
22
#ifndef CTKEVENTADMINBUS_H
23
#define CTKEVENTADMINBUS_H
24
25
#include <
service/event/ctkEventAdmin.h
>
26
27
34
class
ctkEventAdminBus
:
public
ctkEventAdmin
35
{
36
public
:
38
virtual
bool
createServer
(
const
QString &communication_protocol,
unsigned
int
listen_port) = 0;
39
41
virtual
void
startListen
() = 0;
42
44
virtual
bool
createClient
(
const
QString &communication_protocol,
const
QString &server_host,
unsigned
int
port) = 0;
45
46
};
47
48
49
Q_DECLARE_INTERFACE(
ctkEventAdminBus
,
"org.commontk.service.event.EventAdminBus"
)
50
51
#endif
// CTKEVENTADMIN_H
ctkEventAdminBus
Definition
ctkEventAdminBus.h:35
ctkEventAdminBus::createServer
virtual bool createServer(const QString &communication_protocol, unsigned int listen_port)=0
@@ WRITE DOC!
ctkEventAdminBus::createClient
virtual bool createClient(const QString &communication_protocol, const QString &server_host, unsigned int port)=0
@@ WRITE DOC!
ctkEventAdminBus::startListen
virtual void startListen()=0
@@ WRITE DOC!
ctkEventAdmin.h
ctkEventAdmin
Definition
ctkEventAdmin.h:37
Generated on Wed Jul 19 2023 00:00:00 for CTK by
1.9.8