~ubuntu-branches/ubuntu/breezy/ace/breezy

« back to all changes in this revision

Viewing changes to docs/tutorials/011/page06.html

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad, Benjamin Montgomery, Adam Conrad
  • Date: 2005-09-18 22:51:38 UTC
  • mfrom: (1.2.1 upstream) (2.1.1 sarge) (0.1.2 woody)
  • Revision ID: james.westby@ubuntu.com-20050918225138-seav22q6fyylb536
Tags: 5.4.7-3ubuntu1
[ Benjamin Montgomery ]
* Added a patch for amd64 and powerpc that disables the compiler
  option -fvisibility-inlines-hidden

[ Adam Conrad ]
* Added DPATCH_OPTION_CPP=1 to debian/patches/00options to make
  Benjamin's above changes work correctly with dpatch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<!-- page06.html,v 1.6 2000/03/19 20:09:26 jcej Exp -->
2
 
<HTML>
3
 
<HEAD>
4
 
   <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
5
 
   <META NAME="Author" CONTENT="James CE Johnson">
6
 
   <TITLE>ACE Tutorial 011</TITLE>
7
 
</HEAD>
8
 
<BODY TEXT="#000000" BGCOLOR="#FFFFFF" LINK="#000FFF" VLINK="#FF0F0F">
9
 
 
10
 
<CENTER><B><FONT SIZE=+2>ACE Tutorial 011</FONT></B></CENTER>
11
 
 
12
 
<CENTER><B><FONT SIZE=+2>Passing non-trivial data through an ACE_Message_Queue</FONT></B></CENTER>
13
 
 
14
 
 
15
 
<P>
16
 
<HR WIDTH="100%">
17
 
So, this time we stuffed an object into the message queue instead of just text
18
 
data.  Each time required two object constructions (and subsequent destructions)
19
 
and two "deep" copy operations on the object.  There might actually be times when
20
 
this is OK for your application but I prefer to keep those things down to a
21
 
minimum.  In the next tutorial I'll show you a way to do that.
22
 
<P>
23
 
 
24
 
<UL>
25
 
<LI><A HREF="Makefile">Makefile</A>
26
 
<LI><A HREF="block.h">block.h</A>
27
 
<LI><A HREF="data.h">data.h</A>*
28
 
<LI><A HREF="message_queue.cpp">message_queue.cpp</A>
29
 
<LI><A HREF="task.cpp">task.cpp</A>
30
 
<LI><A HREF="task.h">task.h</A>
31
 
</UL>
32
 
 
33
 
* data.h hasn't changed at all from Tutorial 7 so I didn't devote a
34
 
    page to it.
35
 
<P><HR WIDTH="100%">
36
 
<CENTER>[<A HREF="../online-tutorials.html">Tutorial Index</A>] </CENTER>
37