Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

sense.h

Go to the documentation of this file.
00001 /***************************************************************************
00002                           sense.h  -  description
00003                              -------------------
00004     begin                : Mon Dec 3 2001
00005     copyright            : (C) 2001 by Vlad Mereuta
00006     email                : dizzy@deity.fsnet.co.uk
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
00015  *                                                                         *
00016  ***************************************************************************/
00017 #ifdef HAVE_CONFIG_H
00018 #include "config.h"
00019 #endif
00020 
00021 #ifndef SENSE_H
00022 #define SENSE_H
00023 
00024 #include <vector>
00025 #include <string>
00026 #include <easysoap/SOAP.h>
00027 #include <dalt_client/entity.h>
00028 
00029 namespace DALT_Client {
00030 
00031 using namespace EasySoap;
00032 
00036 class Sense
00037 {
00038 protected:
00040     Entity*         originator; 
00042     SOAPProxy*  endpoint;   
00043     
00044 public:
00046     string          name;
00048     int             time_cost;
00050     vector<Entity>    sensed_entities;
00051     
00055     Sense(string name, int cost, SOAPProxy* endpoint);
00056     virtual ~Sense();
00057     
00059     void setOriginator(Entity* originator);
00060     
00063     virtual vector<Entity>& dispatch();     
00064 };
00065 
00066 }
00067 
00068 #endif

Generated at Thu Jan 31 15:20:07 2002 for DALT Client by doxygen1.2.8 written by Dimitri van Heesch, © 1997-2001