VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
connectionDescriptorList.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2013 MaK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
11 
12 #pragma once
13 
14 #include "vrfutil/rwList.h"
15 #include <list>
17 
19 
23 {
24 protected:
25 
28 
29 public:
30 
33  DtReaderWriterRegistry * parentRegistry = NULL);
34  DtConnectionDescriptorList(const DtSymbolString& name,
35  DtReaderWriterRegistry * parentRegistry = NULL);
36 
39  DtReaderWriterRegistry* parentRegistry = NULL);
40 
46 
48  virtual ~DtConnectionDescriptorList();
49 
51  parentRegistry = NULL);
52 
53  virtual const char* readerWriterType() const;
54 
56  virtual void emptyList();
57  virtual void copyList(const DtConnectionDescriptorList& orig);
58 
59  virtual DtConnectionDescriptor* addConnectionDescriptor(
60  const DtConnectionDescriptor& descriptor);
61 
62  virtual DtConnectionDescriptor* addConnection(const DtString& source,
63  const DtString& destination);
64 
67  virtual DtConnectionDescriptor* findConnection(const DtString& source,
68  const DtString& destination);
69 
73  virtual bool removeConnection(const DtString& source,
74  const DtString& destination);
75 
78  virtual bool removeAllConnectionsFrom(const DtString& source);
79 
82  virtual bool removeAllConnectionsTo(const DtString& destination);
83 
86  virtual bool removeConnections(const std::list<DtConnectionDescriptor*> removeList);
87 
90  virtual bool removeConnection(DtConnectionDescriptor* connection);
91 
93  virtual void removeAll();
94 
97  virtual bool hasSystemOutput(const DtString& outputPortName) const;
98 
101  virtual bool hasSystemInput(const DtString& inputPortName) const;
102  bool operator==(const DtConnectionDescriptorList&) const;
103 
104 protected:
105  virtual DtConnectionDescriptor* addConnectionDescriptor(
106  DtConnectionDescriptor * descriptor);
107 
111  virtual DtlObjPtr getData(DtlObjPtr args, const DtReaderWriter::SearchPaths& searchPaths,
112  const DtVariableBindingsList& variableBindings);
113 };

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)