cisst-saw
Loading...
Searching...
No Matches
mtsDelayedConnections.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): Anton Deguet
6 Created on: 2020-05-13
7
8 (C) Copyright 2020 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 _mtsDelayedConnections_h
20#define _mtsDelayedConnections_h
21
23
24// Always include last!
26
28 public:
29 void Add(const std::string & clientComponentName,
30 const std::string & clientInterfaceName,
31 const std::string & serverComponentName,
32 const std::string & serverInterfaceName);
33 void Connect(const bool purge = true);
34
36 public:
37 inline ConnectionType(const std::string & clientComponentName,
38 const std::string & clientInterfaceName,
39 const std::string & serverComponentName,
40 const std::string & serverInterfaceName):
41 ClientComponentName(clientComponentName),
42 ClientInterfaceName(clientInterfaceName),
43 ServerComponentName(serverComponentName),
44 ServerInterfaceName(serverInterfaceName)
45 {}
50 };
51
52 protected:
53 typedef std::list<ConnectionType> ConnectionsType;
55};
56
65
66#endif // _mtsDelayedConnections_h
Definition mtsDelayedConnections.h:35
ConnectionType(const std::string &clientComponentName, const std::string &clientInterfaceName, const std::string &serverComponentName, const std::string &serverInterfaceName)
Definition mtsDelayedConnections.h:37
std::string ServerComponentName
Definition mtsDelayedConnections.h:48
std::string ClientComponentName
Definition mtsDelayedConnections.h:46
std::string ServerInterfaceName
Definition mtsDelayedConnections.h:49
std::string ClientInterfaceName
Definition mtsDelayedConnections.h:47
Definition mtsDelayedConnections.h:27
ConnectionsType Connections
Definition mtsDelayedConnections.h:54
std::list< ConnectionType > ConnectionsType
Definition mtsDelayedConnections.h:53
void Add(const std::string &clientComponentName, const std::string &clientInterfaceName, const std::string &serverComponentName, const std::string &serverInterfaceName)
void Connect(const bool purge=true)
#define CISST_EXPORT
Definition cmnExportMacros.h:50
Rules of exporting.
Forward declarations and #define for cisstMultiTask.
bool operator==(const vctDynamicConstMatrixBase< __matrixOwnerType, _elementType > &otherMatrix) const
Definition vctDynamicConstMatrixBase.h:715