cisst-saw
Toggle main menu visibility
Loading...
Searching...
No Matches
tmp
cisst-saw
cisst
cisstMultiTask
mtsQtWidgetInterfaceRequired.h
Go to the documentation of this file.
1
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2
/* ex: set filetype=cpp softtabstop=4 shiftwidth=4 tabstop=4 cindent expandtab: */
3
4
/*
5
6
Author(s): Praneeth Sadda, Anton Deguet
7
Created on: 2011-11-11
8
9
(C) Copyright 2011 Johns Hopkins University (JHU), All Rights
10
Reserved.
11
12
--- begin cisst license - do not edit ---
13
14
This software is provided "as is" under an open source license, with
15
no warranty. The complete license can be found in license.txt and
16
http://www.cisst.org/cisst/license.txt.
17
18
--- end cisst license ---
19
20
*/
21
22
#ifndef _mtsQtWidgetInterfaceRequired_h
23
#define _mtsQtWidgetInterfaceRequired_h
24
25
#include <QWidget>
26
class
mtsQtFunctionListContainerWidget
;
27
28
#include <
cisstMultiTask/mtsInterfaceProvided.h
>
29
#include <
cisstMultiTask/mtsInterfaceRequired.h
>
30
31
// Always include last
32
#include <
cisstMultiTask/mtsExportQt.h
>
33
34
class
CISST_EXPORT
mtsQtWidgetInterfaceRequired
:
public
QWidget,
public
cmnGenericObject
35
{
36
Q_OBJECT;
37
CMN_DECLARE_SERVICES(
CMN_NO_DYNAMIC_CREATION
,
CMN_LOG_ALLOW_DEFAULT
);
38
39
public
:
40
mtsQtWidgetInterfaceRequired
(
mtsInterfaceProvided
* interfaceProvided,
41
mtsInterfaceRequired
* executionInterface = 0);
42
43
private
:
44
mtsInterfaceRequired
* ExecutionInterface;
45
mtsQtFunctionListContainerWidget
* FunctionsWidget;
46
47
void
CreateWidgets(
mtsInterfaceProvided
& interfaceProvided,
mtsInterfaceRequired
& executionInterface);
48
};
49
50
CMN_DECLARE_SERVICES_INSTANTIATION
(
mtsQtWidgetInterfaceRequired
);
51
52
#endif
// _mtsQtWidgetInterfaceRequired_h
cmnGenericObject
Base class for high level objects.
Definition
cmnGenericObject.h:53
mtsInterfaceProvided
Definition
mtsInterfaceProvided.h:98
mtsInterfaceRequired
Definition
mtsInterfaceRequired.h:83
mtsQtFunctionListContainerWidget
Definition
mtsQtWidgetFunction.h:219
mtsQtWidgetInterfaceRequired
Definition
mtsQtWidgetInterfaceRequired.h:35
mtsQtWidgetInterfaceRequired::mtsQtWidgetInterfaceRequired
mtsQtWidgetInterfaceRequired(mtsInterfaceProvided *interfaceProvided, mtsInterfaceRequired *executionInterface=0)
CMN_DECLARE_SERVICES_INSTANTIATION
#define CMN_DECLARE_SERVICES_INSTANTIATION(className)
Definition
cmnClassRegisterMacros.h:199
CMN_NO_DYNAMIC_CREATION
const int CMN_NO_DYNAMIC_CREATION
Definition
cmnClassRegisterMacros.h:325
CISST_EXPORT
#define CISST_EXPORT
Definition
cmnExportMacros.h:50
CMN_LOG_ALLOW_DEFAULT
#define CMN_LOG_ALLOW_DEFAULT
Definition
cmnLogLoD.h:76
mtsExportQt.h
Rules of exporting.
mtsInterfaceProvided.h
Declaration of mtsInterfaceProvided.
mtsInterfaceRequired.h
Declaration of mtsInterfaceRequired.
Generated by
1.18.0