Skip to content
Snippets Groups Projects
Commit 6dfb93fe authored by Rainer Kartmann's avatar Rainer Kartmann
Browse files

Add example aron xml's

parent eff393f0
No related branches found
No related tags found
1 merge request!95Add introspection in RemoteGui
armarx_component_set_name("ArMemExampleMemory")
set(COMPONENT_LIBS
ArmarXCore ArmarXCoreInterfaces # for DebugObserverInterface
ArmarXGuiComponentPlugins
......@@ -19,8 +20,20 @@ set(HEADERS
armarx_add_component("${SOURCES}" "${HEADERS}")
armarx_enable_aron_file_generation_for_target(
TARGET_NAME
${ARMARX_COMPONENT_NAME}
ARON_FILES
xmls/SimpleObject.xml
xmls/Primitive.xml
)
# add unit tests
# add_subdirectory(test)
#generate the application
armarx_generate_and_add_component_executable()
<!--Some fancy comment -->
<?xml version="1.0" encoding="UTF-8" ?>
<AronTypeDefinition>
<GenerateTypes>
<GenerateType name='armarx::armem::test::Primitive'>
<objectchild key='the_int'>
<int />
</ObjectChild>
<objectchild key='the_long'>
<long />
</ObjectChild>
<objectchild key='the_float'>
<float />
</ObjectChild>
<objectchild key='the_double'>
<double />
</ObjectChild>
<objectchild key='the_string'>
<string />
</ObjectChild>
<objectchild key='the_bool'>
<bool />
</ObjectChild>
</GenerateType>
</GenerateTypes>
</AronTypeDefinition>
<!--Some fancy comment -->
<?xml version="1.0" encoding="UTF-8" ?>
<AronTypeDefinition>
<GenerateTypes>
<GenerateType name='armarx::SimpleClass'>
<objectchild key='the_bool'>
<bool />
</objectchild>
</GenerateType>
<GenerateType name='armarx::armem::test::SimpleObject'>
<objectchild key='local_object'>
<object name='OtherFancyObject'>
<objectchild key='blarg'>
<bool />
</objectchild>
<objectchild key='other_blarg'>
<int />
</objectchild>
</object>
</ObjectChild>
<objectchild key='another_local_object'>
<object name='VisionClass'>
<objectchild key='blarg'>
<bool />
</objectchild>
<objectchild key='other_object'>
<int />
</objectchild>
</object>
</ObjectChild>
</GenerateType>
</GenerateTypes>
</AronTypeDefinition>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment