Atlas-C++
Task.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
4 
5 // $Id$
6 
7 #ifndef ATLAS_TASK_H
8 #define ATLAS_TASK_H
9 
10 namespace Atlas {
11 
12 /* Atlas task
13 
14 A task can be polled. Currently, Codecs and Negotiates are both Tasks. This is
15 a rather minimal interface and may perhaps fade away.
16 
17 @see Codec
18 @see Negotiate
19 */
20 
21 class Task
22 {
23  public:
24 
25  virtual void poll(bool can_get = true) = 0;
26 };
27 
28 } // Atlas namespace
29 
30 #endif
Atlas::Task
Definition: Task.h:22
Atlas
The Atlas namespace.
Definition: Bridge.h:20

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.