ORTS

TerrainBase::StatusMsg Struct Reference

A task status notification to be sent. More...

#include <TerrainBase.H>

List of all members.

Public Types

enum  Type { ARRIVED, NO_PATH_FAILURE, MOVEMENT_FAILURE }

Public Member Functions

 StatusMsg ()

Public Attributes

enum TerrainBase::StatusMsg::Type type
TaskId task_id
const Objectobj

Detailed Description

A task status notification to be sent.

A seperate msg is created for each object in multi-object tasks, since each can arrive/fail individually.

Definition at line 203 of file TerrainBase.H.


Member Enumeration Documentation

Enumerator:
ARRIVED 

object arrived at goal

NO_PATH_FAILURE 

no path to goal could be computed

MOVEMENT_FAILURE 

failed to execute the planned task

Definition at line 205 of file TerrainBase.H.


Constructor & Destructor Documentation

TerrainBase::StatusMsg::StatusMsg ( ) [inline]

Definition at line 213 of file TerrainBase.H.


Member Data Documentation


The documentation for this struct was generated from the following file:


Generated on Fri May 18 2012 03:03:10 for ORTS by Doxygen1.7.3