lestes::std::multi_action Class Reference

Action that holds a list of other actions; it runs them in its run() method. More...

#include <action.g.hh>

Inheritance diagram for lestes::std::multi_action:

Inheritance graph
[legend]
List of all members.

Public Member Functions

bool running_get () const
 The method running_get returns the value of the field multi_action::running.
void running_set (bool)
 The method running_set sets the field multi_action::running to the given value.
ptr< ::lestes::std::list<
srp< action > > > 
action_list_get () const
 The method action_list_get returns the value of the field multi_action::action_list.
void attach (ptr< action >)
void detach (ptr< action >)
void trigger ()
 Non-virtual shortcut for run().
virtual void run ()
virtual ptr< reflection_listreflection_get () const
 for purposes of dumping
virtual ptr< field_list_listfield_values_get () const
 for purposes of dumping

Static Public Member Functions

static ptr< multi_actioncreate (bool a__multi_action__running, ptr< ::lestes::std::list< srp< action > > > a__multi_action__action_list)
 First generated factory method for class multi_action.
static ptr< multi_actioncreate ()
 Second generated factory method for class multi_action.

Protected Member Functions

 multi_action (bool a__multi_action__running, ptr< ::lestes::std::list< srp< action > > > a__multi_action__action_list)
 Generated constructor for class multi_action.
virtual void gc_mark ()
 Marking routine for class multi_action.

Private Attributes

bool running
srp< ::lestes::std::list<
srp< action > > > 
action_list

Static Private Attributes

static ptr< reflection_listreflection = reflection

Detailed Description

Action that holds a list of other actions; it runs them in its run() method.


Constructor & Destructor Documentation

lestes::std::multi_action::multi_action ( bool  a__multi_action__running,
ptr< ::lestes::std::list< srp< action > > >  a__multi_action__action_list 
) [protected]

Generated constructor for class multi_action.

Generated constructor for class multi_action.

Author:
lsg


Member Function Documentation

bool lestes::std::multi_action::running_get (  )  const

The method running_get returns the value of the field multi_action::running.

Returns:
The value of multi_action::running.
Author:
lsg

void lestes::std::multi_action::running_set ( bool  x  ) 

The method running_set sets the field multi_action::running to the given value.

Parameters:
[in] x The new value to set multi_action::running to.
Author:
lsg

ptr<::lestes::std::list< srp< action > > > lestes::std::multi_action::action_list_get (  )  const

The method action_list_get returns the value of the field multi_action::action_list.

Returns:
The value of multi_action::action_list.
Author:
lsg

void lestes::std::multi_action::attach ( ptr< action  ) 

void lestes::std::multi_action::detach ( ptr< action  ) 

void lestes::std::multi_action::trigger (  ) 

Non-virtual shortcut for run().

void lestes::std::multi_action::run (  )  [virtual]

Implements lestes::std::action.

ptr< multi_action > lestes::std::multi_action::create ( bool  a__multi_action__running,
ptr< ::lestes::std::list< srp< action > > >  a__multi_action__action_list 
) [static]

First generated factory method for class multi_action.

This factory method for class multi_action takes values of all fields as arguments.

Author:
lsg

ptr< multi_action > lestes::std::multi_action::create ( void   )  [static]

Second generated factory method for class multi_action.

This factory method for class multi_action uses initializers.

Author:
lsg

ptr< object::reflection_list > lestes::std::multi_action::reflection_get (  )  const [virtual]

for purposes of dumping

Reimplemented from lestes::std::action.

ptr< object::field_list_list > lestes::std::multi_action::field_values_get (  )  const [virtual]

for purposes of dumping

Reimplemented from lestes::std::action.

void lestes::std::multi_action::gc_mark ( void   )  [protected, virtual]

Marking routine for class multi_action.

Marking routine is used for garbage collection.

Author:
lsg

Reimplemented from lestes::std::action.


Member Data Documentation

bool lestes::std::multi_action::running [private]

srp< ::lestes::std::list< srp< action > > > lestes::std::multi_action::action_list [private]

ptr< object::reflection_list > lestes::std::multi_action::reflection = reflection [static, private]

Reimplemented from lestes::std::action.


The documentation for this class was generated from the following files:
Generated on Mon Feb 12 18:49:45 2007 for lestes by doxygen 1.5.1-20070107