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

DALT_Client::Sense Class Reference

Defines the basic information about senses. More...

#include <sense.h>

Inheritance diagram for DALT_Client::Sense:

Inheritance graph
[legend]
Collaboration diagram for DALT_Client::Sense:

Collaboration graph
[legend]
List of all members.

Public Methods

 Sense (string name, int cost, SOAPProxy *endpoint)
 constructor. More...

virtual ~Sense ()
void setOriginator (Entity *originator)
 sets the entity which is originating the sense request. More...

virtual vector<Entity>& dispatch ()
 dispatches a request for this sense. More...


Public Attributes

string name
 the name which uniquely identifies this sense. More...

int time_cost
 how many cycles it takes for the sense to be performed. More...

vector<Entitysensed_entities
 the entities which are sensed. The entities might be specialised to provide more information then the base entity class does already. More...


Protected Attributes

Entityoriginator
 the entity originating this action. More...

SOAPProxy* endpoint
 endpoint for the server. More...


Detailed Description

Defines the basic information about senses.

Author:
Vlad Mereuta

Definition at line 36 of file sense.h.


Constructor & Destructor Documentation

DALT_Client::Sense::Sense ( string name,
int cost,
SOAPProxy * endpoint )
 

constructor.

Parameters:
name   the name of the sense
cost   the number of cycles needed to perform the sensing action for this sense
Parameters:
name  
cost  
endpoint  

DALT_Client::Sense::~Sense ( ) [virtual]
 


Member Function Documentation

vector< Entity > & DALT_Client::Sense::dispatch ( ) [virtual]
 

dispatches a request for this sense.

Returns:
vector of entities which have been sensed

void DALT_Client::Sense::setOriginator ( Entity * originator )
 

sets the entity which is originating the sense request.

Parameters:
originator  


Member Data Documentation

SOAPProxy * DALT_Client::Sense::endpoint [protected]
 

endpoint for the server.

Definition at line 42 of file sense.h.

string DALT_Client::Sense::name
 

the name which uniquely identifies this sense.

Definition at line 46 of file sense.h.

Entity * DALT_Client::Sense::originator [protected]
 

the entity originating this action.

Definition at line 40 of file sense.h.

vector< Entity > DALT_Client::Sense::sensed_entities
 

the entities which are sensed. The entities might be specialised to provide more information then the base entity class does already.

Definition at line 50 of file sense.h.

int DALT_Client::Sense::time_cost
 

how many cycles it takes for the sense to be performed.

Definition at line 48 of file sense.h.


The documentation for this class was generated from the following file:
Generated at Thu Jan 31 15:20:24 2002 for DALT Client by doxygen1.2.8 written by Dimitri van Heesch, © 1997-2001