Atlas  0.7.0
Networking protocol for the Worldforge system.
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::Message::Layer
Definition: Layer.h:26
Atlas::Bridge
Definition: Bridge.h:36
Atlas::Message::Encoder
Definition: MEncoder.h:34
Atlas
Definition: Bridge.h:20