Download Rapport du projet.

Transcript
5.36 sif::Resource< Dim, Type, Data > Class Template Reference
5.36.1
83
Detailed Description
template<int Dim, class Type, class Data>class sif::Resource< Dim, Type, Data >
Ressource : Ressource that can be affected to a task.
A ressource is an object that can be affected to a task. It modelizes a point in space that can move. Thanks to a
shortest path algorithm it is independant when it know the Task (p. ??) Spot he has to join.
See Also
sif::Environment (p. ??), sif::Object (p. ??), sif::DynamicObject (p. ??), sif::TaskSpot (p. ??)
Definition at line 53 of file resource.hpp.
5.36.2
Constructor & Destructor Documentation
5.36.2.1
template<int Dim, class Type , class Data > sif::Resource< Dim, Type, Data >::Resource ( Coordonate<
Dim, Type > coord, double velocity, bool busy, ShortestPath< Dim, Type > spa )
Constructor.
Parameters
_coord
_velocity
_busy
_spa
Initial coordonates
Velocity of the resource
Status of the resource
Shortest Path (p. ??) Algorithm
Definition at line 34 of file src/SIF/environment/resource.cpp.
5.36.3
Member Function Documentation
5.36.3.1
template<int Dim, class Type , class Data > void sif::Resource< Dim, Type, Data >::move ( Direction< Dim >
dir, double time )
Move the resource in specified direction.
Parameters
_dir
_time
Direction (p. ??)
Ellapsed time since the last move
Definition at line 42 of file src/SIF/environment/resource.cpp.
References sif::Direction< Dim >::getValue().
5.36.3.2
template<int Dim, class Type , class Data > void sif::Resource< Dim, Type, Data >::update ( double time )
[virtual]
Update dynamic object.
Parameters
_time
Ellapsed time since the last update
Implements sif::AResource (p. ??).
Generated on Thu May 23 2013 21:46:28 for Spatial Intelligence Framework by Doxygen