// This file may be redistributed and modified only under the terms of // the GNU Lesser General Public License (See COPYING for details). // Copyright 2000-2001 Stefanus Du Toit and Aloril. // Copyright 2001-2005 Alistair Riddoch. // Automatically generated using gen_cpp.py. #include #include #include namespace Atlas { namespace Objects { ObjectsDecoder::ObjectsDecoder(Factories * f) : m_factories(f) { if (m_factories == 0) { m_factories = Factories::instance(); } } ObjectsDecoder::~ObjectsDecoder() { } void ObjectsDecoder::messageArrived(const Atlas::Message::MapType& o) { Root obj = m_factories->createObject(o); objectArrived(obj); } } } // namespace Atlas::Objects