cisst-saw
Toggle main menu visibility
Loading...
Searching...
No Matches
tmp
cisst-saw
cisst
cisstMultiTask
mtsInterface.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
Author(s): Peter Kazanzides, Anton Deguet, Min Yang Jung
6
Created on: 2008-11-13
7
8
(C) Copyright 2008-2014 Johns Hopkins University (JHU), All Rights Reserved.
9
10
--- begin cisst license - do not edit ---
11
12
This software is provided "as is" under an open source license, with
13
no warranty. The complete license can be found in license.txt and
14
http://www.cisst.org/cisst/license.txt.
15
16
--- end cisst license ---
17
*/
18
19
#ifndef _mtsInterface_h
20
#define _mtsInterface_h
21
22
#include <set>
23
#include <
cisstCommon/cmnGenericObject.h
>
24
#include <
cisstMultiTask/mtsForwardDeclarations.h
>
25
26
// Always include last
27
#include <
cisstMultiTask/mtsExport.h
>
28
29
34
35
41
42
class
CISST_EXPORT
mtsInterface
:
public
cmnGenericObject
43
{
44
protected
:
45
47
const
std::string
Name
;
48
50
mtsComponent
*
Component
;
51
53
std::set<std::string>
mTags
;
54
56
void
Initialize
(
void
);
57
58
public
:
62
mtsInterface
(
const
std::string & interfaceName,
63
mtsComponent
* component);
64
66
virtual
~mtsInterface
();
67
69
const
std::string &
GetName
(
void
)
const
;
70
73
const
std::string
GetFullName
(
void
)
const
;
74
76
const
mtsComponent
*
GetComponent
(
void
)
const
;
77
79
const
std::string &
GetComponentName
(
void
)
const
;
80
82
void
AddTag
(
const
std::string & tag);
83
85
const
std::set<std::string> &
GetTags
(
void
)
const
;
86
};
87
88
89
#endif
// _mtsInterface_h
90
cmnGenericObject
Base class for high level objects.
Definition
cmnGenericObject.h:53
mtsComponent
Definition
mtsComponent.h:150
mtsInterface::mTags
std::set< std::string > mTags
Definition
mtsInterface.h:53
mtsInterface::GetFullName
const std::string GetFullName(void) const
mtsInterface::GetComponent
const mtsComponent * GetComponent(void) const
mtsInterface::Name
const std::string Name
Definition
mtsInterface.h:47
mtsInterface::GetTags
const std::set< std::string > & GetTags(void) const
mtsInterface::~mtsInterface
virtual ~mtsInterface()
mtsInterface::Component
mtsComponent * Component
Definition
mtsInterface.h:50
mtsInterface::mtsInterface
mtsInterface(const std::string &interfaceName, mtsComponent *component)
mtsInterface::Initialize
void Initialize(void)
mtsInterface::GetComponentName
const std::string & GetComponentName(void) const
mtsInterface::GetName
const std::string & GetName(void) const
mtsInterface::AddTag
void AddTag(const std::string &tag)
CISST_EXPORT
#define CISST_EXPORT
Definition
cmnExportMacros.h:50
cmnGenericObject.h
Defines cmnGenericObject.
mtsExport.h
Rules of exporting.
mtsForwardDeclarations.h
Forward declarations and #define for cisstMultiTask.
Generated by
1.18.0