Orocos Real-Time Toolkit  2.9.0
ConfigurationInterface.idl
Go to the documentation of this file.
1 #ifndef ORO_CORBA_ATTRIBUTE_REPOSISTORY_IDL
2 #define ORO_CORBA_ATTRIBUTE_REPOSISTORY_IDL
3 
4 #ifdef CORBA_IS_TAO
5 //resolves LNK2005
6 #include <tao/orb.idl>
7 #endif
8 
9 #include "StdException.idl"
10 
11 module RTT
12 {
13  module corba
14  {
21  {
22  struct CProperty {
23  string name;
24  string description;
25  string type_name;
26  };
27 
28  struct CAttribute {
29  string name;
30  string type_name;
31  boolean assignable;
32  };
33 
34  typedef sequence<CProperty> CPropertyNames;
35  typedef sequence<CAttribute> CAttributeNames;
36 
37  CAttributeNames getAttributeList();
38 
39  CPropertyNames getPropertyList();
40 
41  any getAttribute( in string name )
42  raises(StdException);
43 
44  boolean setAttribute( in string name, in any value );
45 
46  boolean hasAttribute( in string name );
47 
48  boolean hasProperty( in string name );
49 
55  any getProperty( in string name )
56  raises(StdException);
57 
63  boolean setProperty( in string name, in any value );
64 
68  string getPropertyType(in string name);
69  string getAttributeType(in string name);
70 
75  string getPropertyTypeName(in string name);
76  string getAttributeTypeName(in string name);
77 
81  string attributeToString(in string name);
82  string propertyToString(in string name);
83 
88  boolean attributeFromString(in string name, in string value);
89  boolean propertyFromString(in string name, in string value);
93  boolean isAttributeAssignable(in string name);
94  };
95  };
96 };
97 
98 
99 #endif
100 
Exposes both attributes and properties of a service.
Contains TaskContext, Activity, OperationCaller, Operation, Property, InputPort, OutputPort, Attribute.
Definition: Activity.cpp:52