Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

TActionObject Class Reference

An object that can execute actions (TAction). More...

#include <action.h>

Inheritance diagram for TActionObject:

Inheritance graph
[legend]
Collaboration diagram for TActionObject:

Collaboration graph
[legend]
List of all members.

Public Methods

 TActionObject ()
virtual ~TActionObject ()
virtual bool canPerformAction (const TAction &action)
virtual bool canBeObjectInAction (const TAction &action)
virtual bool canObserveAction (const TAction &action)
virtual bool load (TDataPackageList *in)
virtual bool save (TDataPackageList *out) const

Friends

class TAction

Detailed Description

An object that can execute actions (TAction).

Author:
Alberto Barsella <Alberto.Barsella@univ-lille1.fr>
Version:
Id:
action.h,v 1.20 2002/06/04 09:21:18 mkrohn5 Exp
See also:
TAction
bla bla FIXME


Member Function Documentation

virtual bool TActionObject::load TDataPackageList   in [virtual]
 

Loads a TActionObject. Note that classes that are derived from this class must call TActionObject::Load explicitly to load the data correctly.

Parameters:
in  The list of data packages.
Returns:
true means that everything was loaded correctly, otherwise this method will return false.

Reimplemented from TProperty.

Reimplemented in TFleet, TStellarObject, TSubFleet, TSystem, and TSubFleetBasic.

virtual bool TActionObject::save TDataPackageList   out const [virtual]
 

Saves a TActionObject by adding the data packages to the list. Note that classes that are derived from this class must call TActionObject::Save explicitly to save the data correctly.

Parameters:
out  The output stream of data packages.
Returns:
true means that everything was saved correctly, otherwise this method will return false.

Reimplemented from TProperty.

Reimplemented in TFleet, TStellarObject, TSubFleet, TSystem, and TSubFleetBasic.


The documentation for this class was generated from the following file:
Generated on Thu Jun 20 18:13:17 2002 for Stellar Legacy by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001