Project

General

Profile

機能 #2107

get_component_profile()からm_propertiesの値を取得できるようにしたい

Added by n-ando almost 10 years ago. Updated almost 6 years ago.

Status:
終了
Priority:
通常
Assignee:
Target version:
-
Start date:
05/17/2011
Due date:
% Done:

100%

Estimated time:

Description

get_component_profile()からm_propertiesの値を取得できるようにしたい

Associated revisions

Revision 2101 (diff)
Added by n-ando almost 10 years ago

Default property values now include openrtm.name.
openrtm.version is "x.y.z" version, openrtm.name is "OpenRTM-aist-x.y.z".
refs #2107

Revision 2101 (diff)
Added by n-ando almost 10 years ago

Default property values now include openrtm.name.
openrtm.version is "x.y.z" version, openrtm.name is "OpenRTM-aist-x.y.z".
refs #2107

Revision 2102 (diff)
Added by n-ando almost 10 years ago

Property values "manager.os.*" are now "os.*".
refs #2107

Revision 2102 (diff)
Added by n-ando almost 10 years ago

Property values "manager.os.*" are now "os.*".
refs #2107

Revision 2103 (diff)
Added by n-ando almost 10 years ago

Now inherited property values includes the following values.
- config.version
- openrtm.name
- openrtm.version
- os.name
- os.release
- os.version
- os.arch
- os.hostname
- corba.endpoint
- corba.id
- exec_cxt.periodic.type
- exec_cxt.periodic.rate
- exec_cxt.evdriven.type

refs #2107

Revision 2103 (diff)
Added by n-ando almost 10 years ago

Now inherited property values includes the following values.
- config.version
- openrtm.name
- openrtm.version
- os.name
- os.release
- os.version
- os.arch
- os.hostname
- corba.endpoint
- corba.id
- exec_cxt.periodic.type
- exec_cxt.periodic.rate
- exec_cxt.evdriven.type

refs #2107

Revision 2104 (diff)
Added by n-ando almost 10 years ago

Now component's properties (m_properties) are imported to
ComponentProfile::properties. refs #2107

Revision 2104 (diff)
Added by n-ando almost 10 years ago

Now component's properties (m_properties) are imported to
ComponentProfile::properties. refs #2107

History

#1 Updated by n-ando almost 10 years ago

  • % Done changed from 0 to 30

DefaultConfiguration.h で定義されているpropertyを以下のように変更。

  • openrtm.version: "x.y.z"
  • openrtm.name: "OpenRTM-aist-x.y.z"

#2 Updated by n-ando almost 10 years ago

これまで "manager.os.*" だったOS関連の情報を "os.*" に変更。

#3 Updated by n-ando almost 10 years ago

  • % Done changed from 30 to 80

グローバルなプロパティから継承する値を変更。以下の通りに。

  • config.version
  • openrtm.name
  • openrtm.version
  • os.name
  • os.release
  • os.version
  • os.arch
  • os.hostname
  • corba.endpoint
  • corba.id
  • exec_cxt.periodic.type
  • exec_cxt.periodic.rate
  • exec_cxt.evdriven.type

#4 Updated by n-ando almost 10 years ago

  • Status changed from 新規 to 解決
  • % Done changed from 80 to 100

get_component_profile() でNVUtil::copyFromProperties()でpropertiesをComponentProfileにimport

===================================================================
--- src/lib/rtm/RTObject.cpp    (revision 2098)
+++ src/lib/rtm/RTObject.cpp    (working copy)
@@ -726,6 +726,7 @@
         PortProfileList ppl    = m_portAdmin.getPortProfileList();
         profile->port_profiles = ppl._retn();
 #endif // ORB_IS_RTORB
+        NVUtil::copyFromProperties(profile->properties, m_properties);
     return profile._retn();
       }
     catch (...)

#5 Updated by n-ando almost 10 years ago

  • Status changed from 解決 to 終了

#6 Updated by n-ando almost 6 years ago

  • Target version deleted (RELEASE_1_1_0)

Also available in: Atom PDF