cisst-saw
Loading...
Searching...
No Matches
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
12This software is provided "as is" under an open source license, with
13no warranty. The complete license can be found in license.txt and
14http://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>
25
26// Always include last
28
29
34
35
41
43{
44protected:
45
47 const std::string Name;
48
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
Base class for high level objects.
Definition cmnGenericObject.h:53
Definition mtsComponent.h:150
std::set< std::string > mTags
Definition mtsInterface.h:53
const std::string GetFullName(void) const
const mtsComponent * GetComponent(void) const
const std::string Name
Definition mtsInterface.h:47
const std::set< std::string > & GetTags(void) const
virtual ~mtsInterface()
mtsComponent * Component
Definition mtsInterface.h:50
mtsInterface(const std::string &interfaceName, mtsComponent *component)
void Initialize(void)
const std::string & GetComponentName(void) const
const std::string & GetName(void) const
void AddTag(const std::string &tag)
#define CISST_EXPORT
Definition cmnExportMacros.h:50
Defines cmnGenericObject.
Rules of exporting.
Forward declarations and #define for cisstMultiTask.