NorMIT-nav
22.09
An IGT application
cxStringPropertyActiveVideoSource.h
Go to the documentation of this file.
1
/*=========================================================================
2
This file is part of CustusX, an Image Guided Therapy Application.
3
4
Copyright (c) SINTEF Department of Medical Technology.
5
All rights reserved.
6
7
CustusX is released under a BSD 3-Clause license.
8
9
See Lisence.txt (https://github.com/SINTEFMedtek/CustusX/blob/master/License.txt) for details.
10
=========================================================================*/
11
#ifndef CXSTRINGPROPERTYACTIVEVIDEOSOURCE_H
12
#define CXSTRINGPROPERTYACTIVEVIDEOSOURCE_H
13
14
#include "
cxStringPropertyBase.h
"
15
#include "cxResourceExport.h"
16
17
namespace
cx
18
{
19
20
typedef
boost::shared_ptr<class VideoService>
VideoServicePtr
;
21
typedef
boost::shared_ptr<class StringPropertyActiveVideoSource>
StringPropertyActiveVideoSourcePtr
;
22
26
class
cxResource_EXPORT
StringPropertyActiveVideoSource
:
public
StringPropertyBase
27
{
28
Q_OBJECT
29
public
:
30
static
StringPropertyActiveVideoSourcePtr
create
(
VideoServicePtr
service) {
return
StringPropertyActiveVideoSourcePtr
(
new
StringPropertyActiveVideoSource
(service)); }
31
StringPropertyActiveVideoSource
(
VideoServicePtr
service);
32
virtual
~StringPropertyActiveVideoSource
() {}
33
34
public
:
35
virtual
QString getDisplayName()
const
;
36
virtual
bool
setValue(
const
QString& value);
37
virtual
QString getValue()
const
;
38
virtual
QStringList getValueRange()
const
;
39
virtual
QString getHelp()
const
;
40
private
:
41
VideoServicePtr
mService;
42
};
43
44
}
// namespace cx
45
46
#endif // CXSTRINGPROPERTYACTIVEVIDEOSOURCE_H
cx::VideoServicePtr
boost::shared_ptr< class VideoService > VideoServicePtr
Definition:
cxLogicManager.h:26
cx::StringPropertyActiveVideoSource::create
static StringPropertyActiveVideoSourcePtr create(VideoServicePtr service)
Definition:
cxStringPropertyActiveVideoSource.h:30
cx
Namespace for all CustusX production code.
Definition:
cx_dev_group_definitions.h:13
cx::StringPropertyActiveVideoSource
Property for controlling the active video source in cx::VideoService.
Definition:
cxStringPropertyActiveVideoSource.h:26
cx::StringPropertyActiveVideoSource::~StringPropertyActiveVideoSource
virtual ~StringPropertyActiveVideoSource()
Definition:
cxStringPropertyActiveVideoSource.h:32
cxStringPropertyBase.h
cx::StringPropertyBase
Abstract interface for interaction with internal string-valued data.
Definition:
cxStringPropertyBase.h:65
cx::StringPropertyActiveVideoSourcePtr
boost::shared_ptr< class StringPropertyActiveVideoSource > StringPropertyActiveVideoSourcePtr
Definition:
cxVideoConnectionWidget.h:41
CX
source
resource
core
Video
cxStringPropertyActiveVideoSource.h
Generated on Tue Sep 13 2022 11:06:16 for NorMIT-nav by
1.8.17