Orocos Real-Time Toolkit  2.6.0
ConfigurationInterface.idl
00001 #ifndef ORO_CORBA_ATTRIBUTE_REPOSISTORY_IDL
00002 #define ORO_CORBA_ATTRIBUTE_REPOSISTORY_IDL
00003 
00004 #ifdef CORBA_IS_TAO
00005 //resolves LNK2005
00006 #include <tao/orb.idl>
00007 #endif
00008 
00009 module RTT
00010 {
00011     module corba
00012     {
00018     interface CConfigurationInterface
00019     {
00020         struct CProperty {
00021           string name;
00022           string description;
00023         };
00024 
00025         typedef sequence<CProperty> CPropertyNames;
00026         typedef sequence<string> CAttributeNames;
00027 
00028         CAttributeNames getAttributeList();
00029 
00030         CPropertyNames  getPropertyList();
00031 
00032         any getAttribute( in string name );
00033 
00034         boolean setAttribute( in string name, in any value );
00035 
00036         boolean hasAttribute( in string name );
00037 
00038         boolean hasProperty( in string name );
00039 
00045         any getProperty( in string name );
00046 
00052         boolean setProperty( in string name, in any value );
00053 
00057         string getPropertyType(in string name);
00058         string getAttributeType(in string name);
00059 
00064         string getPropertyTypeName(in string name);
00065         string getAttributeTypeName(in string name);
00066 
00070         string attributeToString(in string name);
00071         string propertyToString(in string name);
00072 
00077         boolean attributeFromString(in string name, in string value);
00078         boolean propertyFromString(in string name, in string value);
00082         boolean isAttributeAssignable(in string name);
00083     };
00084     };
00085 };
00086 
00087 
00088 #endif
00089