diff options
author | msmit <msmit@remedy.nl> | 2010-06-17 11:47:01 +0000 |
---|---|---|
committer | msmit <msmit@remedy.nl> | 2010-06-17 11:47:01 +0000 |
commit | b3f2d1eb5b8e3136a2bb8c822c3ab1b5013cd803 (patch) | |
tree | 33f8c0317af5eabab740097cc6a1561268eac10b | |
parent | b73e5686fa2387e44fc55ae469405bf393720cbb (diff) | |
download | ATCD-b3f2d1eb5b8e3136a2bb8c822c3ab1b5013cd803.tar.gz |
Thu Jun 17 11:43:57 UTC 2010 Marcel Smit <msmit@remedy.nl>
* connectors/dds4ccm/tutorials/Shapes/Tutorial/idl.html:
Extended and corrected some minor errors.
-rw-r--r-- | CIAO/ChangeLog | 5 | ||||
-rw-r--r-- | CIAO/connectors/dds4ccm/tutorials/Shapes/Tutorial/idl.html | 54 |
2 files changed, 58 insertions, 1 deletions
diff --git a/CIAO/ChangeLog b/CIAO/ChangeLog index d0c58270e90..722e2e566ca 100644 --- a/CIAO/ChangeLog +++ b/CIAO/ChangeLog @@ -1,3 +1,8 @@ +Thu Jun 17 11:43:57 UTC 2010 Marcel Smit <msmit@remedy.nl> + + * connectors/dds4ccm/tutorials/Shapes/Tutorial/idl.html: + Extended and corrected some minor errors. + Thu Jun 17 11:27:31 UTC 2010 Marcel Smit <msmit@remedy.nl> * connectors/dds4ccm/tutorials/Shapes/Shapes_asm/ports/Shapes_defn.idl: diff --git a/CIAO/connectors/dds4ccm/tutorials/Shapes/Tutorial/idl.html b/CIAO/connectors/dds4ccm/tutorials/Shapes/Tutorial/idl.html index fa4496ee7bf..1d426ce47c2 100644 --- a/CIAO/connectors/dds4ccm/tutorials/Shapes/Tutorial/idl.html +++ b/CIAO/connectors/dds4ccm/tutorials/Shapes/Tutorial/idl.html @@ -85,8 +85,60 @@ <p> The component IDL file itself is located in <a href="../Shapes_asm/Shapes_Control_comp/src/Shapes_Control_comp.idl"> - Shapes_asm/Shapes_Control_comp/ports/Shapes_Control_comp.idl<a><br/> + Shapes_asm/Shapes_Control_comp/src/Shapes_Control_comp.idl<a><br/> and looks like this: </p> + <p> + <code>module Shapes<br/> + {<br/> + component Control_comp<br/> + {<br/> + uses Shapes::Control_obj control;<br/><br/> + attribute unsigned long rate;<br/> + attribute unsigned short max_x;<br/> + attribute unsigned short max_y;<br/> + attribute unsigned short max_size;<br/> + attribute boolean resize_shape;<br/> + };<br/>};<br/> + </code> + </p> + <p> + The controller uses the Control_obj interface. + </p> + <p> + The following attributes are used: + <ul> + <li>rate : Controls the rate in which the controller component + sends update to the sender. + </li> + <li>Since the shapes moves about in a rectangle shaped window, one should + set the boundaries of this rectangle: + <ul> + <li>max_x : Sets the width of the rectangle shaped window.</li> + <li>max_y : Sets the height of the rectangle shaped window.</li> + </ul> + </li> + <li>max_size : Set the maximum size of the registered shape. + </li> + <li>resize_shape : Indicates wether the shape is resizeable. + </li> + </ul> + The attributes are set by the deployment plan and cannot be changed throughout + the lifecycle of the controller component. + <h2>Sender IDL file</h2> + The component IDL file itself is located in + <a href="../Shapes_asm/Shapes_Sender_comp/src/Shapes_Sender_comp.idl"> + Shapes_asm/Shapes_Sender_comp/src/Shapes_Sender_comp.idl<a><br/> + and looks like this: + <p> + <code>module Shapes<br/> + {<br/> + component Sender_comp<br/> + {<br/> + port ShapesConnector::DDS_Write info_write;<br/> + provides Shapes::Control_obj control;<br/> + };<br/>}; + </code> + </p> </body>
\ No newline at end of file |