cisst-saw
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
mtsInterfaceInput.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): Peter Kazanzides, Anton Deguet
7  Created on: 2008-11-13
8 
9  (C) Copyright 2008-2010 Johns Hopkins University (JHU), All Rights Reserved.
10 
11 --- begin cisst license - do not edit ---
12 
13 This software is provided "as is" under an open source license, with
14 no warranty. The complete license can be found in license.txt and
15 http://www.cisst.org/cisst/license.txt.
16 
17 --- end cisst license ---
18 */
19 
20 
21 #ifndef _mtsInterfaceInput_h
22 #define _mtsInterfaceInput_h
23 
26 
27 // Always include last
29 
42 {
43  protected:
44 
46  mtsInterfaceInput(void);
47 
51 
52  public:
53 
58  mtsInterfaceInput(const std::string & interfaceName, mtsComponent * component);
59 
61  virtual ~mtsInterfaceInput();
62 
63  const mtsInterfaceOutput * GetConnectedInterface(void) const;
64 
65  virtual bool CouldConnectTo(mtsInterfaceOutput * interfaceOutput) = 0;
66  virtual bool ConnectTo(mtsInterfaceOutput * interfacePOutput) = 0;
67  virtual bool Disconnect(void) = 0;
68 };
69 
70 
71 #endif // _mtsInterfaceInput_h
#define CISST_EXPORT
Definition: cmnExportMacros.h:50
Definition: mtsInterface.h:41
mtsInterfaceOutput * InterfaceOutput
Definition: mtsInterfaceInput.h:50
Definition: mtsInterfaceInput.h:41
Forward declarations and #define for cisstMultiTask.
Definition: mtsComponent.h:150
Declaration of mtsInterface.
Rules of exporting.
Definition: mtsInterfaceOutput.h:39