Class to store information about a goal.
More...
#include <ARIAC.hh>
List of all members.
Public Member Functions |
bool | operator< (const Goal &_goal) const |
| Less than operator.
|
Public Attributes |
double | allowedTime |
| Simulation time in seconds permitted for the goal to be completed before cancelling it. Infinite by default.
|
GoalID_t | goalID |
| The ID of this goal.
|
std::map< KitType_t, Kit > | kits |
| A goal is composed of multiple kits of different types.
|
double | startTime |
| Simulation time in which the goal should be triggered.
|
double | timeTaken |
| Simulation time in seconds spent on this goal.
|
Friends |
std::ostream & | operator<< (std::ostream &_out, const Goal &_goal) |
| Stream insertion operator.
|
Detailed Description
Class to store information about a goal.
Definition at line 291 of file ARIAC.hh.
Member Function Documentation
bool ariac::Goal::operator< |
( |
const Goal & |
_goal | ) |
const [inline] |
Less than operator.
- Parameters:
-
[in] | _goal | Other goal to compare. |
- Returns:
- True if this < _goal.
Definition at line 296 of file ARIAC.hh.
Friends And Related Function Documentation
std::ostream& operator<< |
( |
std::ostream & |
_out, |
|
|
const Goal & |
_goal |
|
) |
| [friend] |
Stream insertion operator.
- Parameters:
-
[in] | _out | output stream. |
[in] | _goal | Goal to output. |
- Returns:
- The output stream.
Definition at line 305 of file ARIAC.hh.
Member Data Documentation
Simulation time in seconds permitted for the goal to be completed before cancelling it. Infinite by default.
Definition at line 329 of file ARIAC.hh.
The ID of this goal.
Definition at line 322 of file ARIAC.hh.
A goal is composed of multiple kits of different types.
Definition at line 332 of file ARIAC.hh.
Simulation time in which the goal should be triggered.
Definition at line 325 of file ARIAC.hh.
Simulation time in seconds spent on this goal.
Definition at line 335 of file ARIAC.hh.
The documentation for this class was generated from the following file: