Atlas::Objects::ObjectsDecoder Class Reference

Objects hierarchy decoder. More...

#include <Decoder.h>

Inheritance diagram for Atlas::Objects::ObjectsDecoder:

Atlas::Message::DecoderBase Atlas::Bridge Atlas::Objects::Dispatcher

List of all members.

Public Member Functions

 ObjectsDecoder (Factories *f=0)
 Constructor.
virtual ~ObjectsDecoder ()
 Default destructor.
Factories * factories () const
 Factories accessor.

Protected Member Functions

virtual void messageArrived (const Atlas::Message::MapType &)
 Overridden by to retrieve the message from DecoderBase.
virtual void objectArrived (const Root &obj)=0
 call right object*Arrived method

Protected Attributes

Factories * m_factories


Detailed Description

Objects hierarchy decoder.

This decoder can be bound to a codec, will assemble incoming messages, check their type, convert them into the appropriate instance in the Objects hierarchy and call the relevant member functions, which subclasses can conveniently override to pick up the object.

See also:
Atlas::Objects::Encoder
Author:
Stefanus Du Toit <sdt@gmx.net>

The documentation for this class was generated from the following file:

Copyright 2000-2004 the respective authors.

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.