ork::CallMethodTask Class Reference
[scenegraph]

An AbstractTask to execute a Method on a SceneNode. More...

#include <CallMethodTask.h>

Inheritance diagram for ork::CallMethodTask:
ork::AbstractTask ork::TaskFactory ork::Object

List of all members.

Public Member Functions

 CallMethodTask (const QualifiedName &method)
 Creates a new CallMethodTask.
virtual ~CallMethodTask ()
 Deletes this CallMethodTask.
virtual ptr< TaskgetTask (ptr< Object > context)
 Creates a new task.

Protected Member Functions

 CallMethodTask ()
 Creates an empty CallMethodTask.
void init (const QualifiedName &method)
 Initializes this CallMethodTask.
void swap (ptr< CallMethodTask > t)
 Swaps this CallMethodTask with the given one.

Detailed Description

An AbstractTask to execute a Method on a SceneNode.


Constructor & Destructor Documentation

ork::CallMethodTask::CallMethodTask ( const QualifiedName method  ) 

Creates a new CallMethodTask.

Parameters:
method a "node.method" qualified name. The first part specifies the scene node on which the method must be called. The second part specifies the name of the method that must be called.
virtual ork::CallMethodTask::~CallMethodTask (  )  [virtual]

Deletes this CallMethodTask.

ork::CallMethodTask::CallMethodTask (  )  [protected]

Creates an empty CallMethodTask.


Member Function Documentation

virtual ptr<Task> ork::CallMethodTask::getTask ( ptr< Object context  )  [virtual]

Creates a new task.

Parameters:
context an optional parameter to control the task creation.
Returns:
the created task.

Implements ork::TaskFactory.

void ork::CallMethodTask::init ( const QualifiedName method  )  [protected]

Initializes this CallMethodTask.

Parameters:
method a "node.method" qualified name. The first part specifies the scene node on which the method must be called. The second part specifies the name of the method that must be called.
void ork::CallMethodTask::swap ( ptr< CallMethodTask t  )  [protected]

Swaps this CallMethodTask with the given one.

Parameters:
t a CallMethodTask.

Generated on Mon Oct 18 09:36:11 2010 for ork by  doxygen 1.6.1