Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > c200d180bc1063a7706e0da42a546b51 > files > 191

atlascpp-devel-0.6.1-7.fc12.x86_64.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>Atlas-C++: Atlas::Objects::ObjectsDecoder Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.9 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="namespace_atlas.html">Atlas</a>::<a class="el" href="namespace_atlas_1_1_objects.html">Objects</a>::<a class="el" href="class_atlas_1_1_objects_1_1_objects_decoder.html">ObjectsDecoder</a>
  </div>
</div>
<div class="contents">
<h1>Atlas::Objects::ObjectsDecoder Class Reference</h1><!-- doxytag: class="Atlas::Objects::ObjectsDecoder" --><!-- doxytag: inherits="Atlas::Message::DecoderBase" --><a class="el" href="namespace_atlas_1_1_objects.html" title="The Atlas high level Objects namespace.">Objects</a> hierarchy decoder.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="_decoder_8h_source.html">Decoder.h</a>&gt;</code>
<p>
<div class="dynheader">
Inheritance diagram for Atlas::Objects::ObjectsDecoder:</div>
<div class="dynsection">

<p><center><img src="class_atlas_1_1_objects_1_1_objects_decoder.png" usemap="#Atlas::Objects::ObjectsDecoder_map" border="0" alt=""></center>
<map name="Atlas::Objects::ObjectsDecoder_map">
<area href="class_atlas_1_1_message_1_1_decoder_base.html" alt="Atlas::Message::DecoderBase" shape="rect" coords="0,56,187,80">
<area href="class_atlas_1_1_bridge.html" alt="Atlas::Bridge" shape="rect" coords="0,0,187,24">
<area href="class_atlas_1_1_objects_1_1_dispatcher.html" alt="Atlas::Objects::Dispatcher" shape="rect" coords="0,168,187,192">
</map>
</div>

<p>
<a href="class_atlas_1_1_objects_1_1_objects_decoder-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="99f6b5ab38967343d28c9f83d797715d"></a><!-- doxytag: member="Atlas::Objects::ObjectsDecoder::ObjectsDecoder" ref="99f6b5ab38967343d28c9f83d797715d" args="(Factories *f=0)" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_atlas_1_1_objects_1_1_objects_decoder.html#99f6b5ab38967343d28c9f83d797715d">ObjectsDecoder</a> (Factories *f=0)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructor. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="07b5897b05a7316ff6382e5a81646010"></a><!-- doxytag: member="Atlas::Objects::ObjectsDecoder::~ObjectsDecoder" ref="07b5897b05a7316ff6382e5a81646010" args="()" -->
virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_atlas_1_1_objects_1_1_objects_decoder.html#07b5897b05a7316ff6382e5a81646010">~ObjectsDecoder</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default destructor. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d74510e170231e66b134c54cc19a9397"></a><!-- doxytag: member="Atlas::Objects::ObjectsDecoder::factories" ref="d74510e170231e66b134c54cc19a9397" args="() const " -->
Factories *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_atlas_1_1_objects_1_1_objects_decoder.html#d74510e170231e66b134c54cc19a9397">factories</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Factories accessor. <br></td></tr>
<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e0281da9cf13b41cca318a9f014f9a47"></a><!-- doxytag: member="Atlas::Objects::ObjectsDecoder::messageArrived" ref="e0281da9cf13b41cca318a9f014f9a47" args="(const Atlas::Message::MapType &amp;)" -->
virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_atlas_1_1_objects_1_1_objects_decoder.html#e0281da9cf13b41cca318a9f014f9a47">messageArrived</a> (const Atlas::Message::MapType &amp;)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Overridden by to retrieve the message from DecoderBase. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="851536e3dd5e708e04fced3e6fc939ed"></a><!-- doxytag: member="Atlas::Objects::ObjectsDecoder::objectArrived" ref="851536e3dd5e708e04fced3e6fc939ed" args="(const Root &amp;obj)=0" -->
virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_atlas_1_1_objects_1_1_objects_decoder.html#851536e3dd5e708e04fced3e6fc939ed">objectArrived</a> (const Root &amp;obj)=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">call right object*Arrived method <br></td></tr>
<tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e5303b56b9279b6abf0dadbfea049190"></a><!-- doxytag: member="Atlas::Objects::ObjectsDecoder::m_factories" ref="e5303b56b9279b6abf0dadbfea049190" args="" -->
Factories *&nbsp;</td><td class="memItemRight" valign="bottom"><b>m_factories</b></td></tr>

</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<a class="el" href="namespace_atlas_1_1_objects.html" title="The Atlas high level Objects namespace.">Objects</a> hierarchy decoder. 
<p>
This decoder can be bound to a codec, will assemble incoming messages, check their type, convert them into the appropriate instance in the <a class="el" href="namespace_atlas_1_1_objects.html" title="The Atlas high level Objects namespace.">Objects</a> hierarchy and call the relevant member functions, which subclasses can conveniently override to pick up the object.<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd>Atlas::Objects::Encoder </dd></dl>
<dl class="author" compact><dt><b>Author:</b></dt><dd>Stefanus Du Toit &lt;<a href="mailto:sdt@gmx.net">sdt@gmx.net</a>&gt; </dd></dl>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="_decoder_8h_source.html">Decoder.h</a></ul>
</div>
<HR>
<P>Copyright 2000-2004 the respective authors.</P>
<P>This document can be licensed under the terms of the GNU Free Documentation
License or the GNU General Public License and may be freely distributed under
the terms given by one of these licenses.</P>