Atlas-C++
Task.h
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 // $Id$
00006 
00007 #ifndef ATLAS_TASK_H
00008 #define ATLAS_TASK_H
00009 
00010 namespace Atlas {
00011 
00012 /* Atlas task
00013 
00014 A task can be polled. Currently, Codecs and Negotiates are both Tasks. This is
00015 a rather minimal interface and may perhaps fade away.
00016 
00017 @see Codec
00018 @see Negotiate
00019 */
00020 
00021 class Task
00022 {
00023     public:
00024 
00025     virtual void poll(bool can_get = true) = 0;
00026 };
00027 
00028 } // Atlas namespace
00029 
00030 #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.