00001 // This file may be redistributed and modified only under the terms of 00002 // the GNU Lesser General Public License (See COPYING for details). 00003 // Copyright (C) 2000 Michael Day 00004 00005 #ifndef ATLAS_TASK_H 00006 #define ATLAS_TASK_H 00007 00008 namespace Atlas { 00009 00010 /* Atlas task 00011 00012 A task can be polled. Currently, Codecs and Negotiates are both Tasks. This is 00013 a rather minimal interface and may perhaps fade away. 00014 00015 @see Codec 00016 @see Negotiate 00017 */ 00018 00019 class Task 00020 { 00021 public: 00022 00023 virtual void poll(bool can_get = true) = 0; 00024 }; 00025 00026 } // Atlas namespace 00027 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.