Atlas-C++
Layer.h
1 // This file may be redistributed and modified only under the terms of
2 // the GNU Lesser General Public License (See COPYING for details).
3 // Copyright (C) 2000 Michael Day, Stefanus Du Toit
4 
5 // $Id$
6 
7 #ifndef ATLAS_MESSAGE_LAYER_H
8 #define ATLAS_MESSAGE_LAYER_H
9 
10 #include <Atlas/Message/Encoder.h>
11 
12 namespace Atlas { namespace Message {
13 
24 template <class Decoder>
25 class Layer : public Encoder, public Decoder
26 {
27 public:
28  Layer(Atlas::Bridge* b) : Encoder(b), Decoder() { }
29  virtual ~Layer() { }
30 };
31 
32 } } // namespace Atlas::Message
33 
34 #endif
Atlas stream bridge.
Definition: Bridge.h:35
Layer that combines Atlas::Message::Encoder and a decoder.
Definition: Layer.h:25
The Atlas namespace.
Definition: Bridge.h:20
Encoder that transmits Atlas::Message::Element.
Definition: MEncoder.h:33

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.