00001 // This file may be redistributed and modified only under the terms of00002 // the GNU Lesser General Public License (See COPYING for details).00003 // Copyright (C) 2000 Michael Day00004
00005 #ifndef ATLAS_TASK_H00006 #define ATLAS_TASK_H00007
00008 namespace Atlas {
00009
00010 /* Atlas task00011
00012 A task can be polled. Currently, Codecs and Negotiates are both Tasks. This is00013 a rather minimal interface and may perhaps fade away.00014
00015 @see Codec00016 @see Negotiate00017 */00018
00019 class Task
00020 {
00021 public:
00022
00023 virtualvoid poll(bool can_get = true) = 0;
00024 };
00025
00026 } // Atlas namespace00027
00028 #endif
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.