astrog::RoutineHelloWorld Class Reference

#include <libastrog_r_helloworld.h>

Inheritance diagram for astrog::RoutineHelloWorld:

astrog::Routine List of all members.

Detailed Description

Hello World example routine.

This routine copies input data to the PGPU, performs an identity transform on the data, and copies it back to the CPU It was created as a proof of concept for the Astrog library, to be used by the Hello World example program.

Definition at line 42 of file libastrog_r_helloworld.h.

Public Member Functions

 RoutineHelloWorld ()
 Constructor for the Hello World example routine.
 ~RoutineHelloWorld ()
 Deconstructor for the Hello World example routine.
int execute ()
 Execution function for the Hello World example routine.

Private Attributes

TaskHelloWorldtask_helloworld
 Hello World task.


Constructor & Destructor Documentation

astrog::RoutineHelloWorld::RoutineHelloWorld  ) 
 

Constructor for the Hello World example routine.

Definition at line 33 of file r_helloworld.cpp.

References task_helloworld.

00034 {
00035     task_helloworld = new TaskHelloWorld();
00036 }

astrog::RoutineHelloWorld::~RoutineHelloWorld  ) 
 

Deconstructor for the Hello World example routine.

Definition at line 38 of file r_helloworld.cpp.

References task_helloworld.

00039 {
00040     delete task_helloworld;
00041 }


Member Function Documentation

int astrog::RoutineHelloWorld::execute  ) 
 

Execution function for the Hello World example routine.

Definition at line 43 of file r_helloworld.cpp.

References astrog::TaskHelloWorld::execute(), and task_helloworld.

Referenced by astrog::PipelineHelloWorld::execute().

00044 {
00045     int err = task_helloworld->execute();
00046     return err;
00047 }


Member Data Documentation

TaskHelloWorld* astrog::RoutineHelloWorld::task_helloworld [private]
 

Hello World task.

Definition at line 52 of file libastrog_r_helloworld.h.

Referenced by execute(), RoutineHelloWorld(), and ~RoutineHelloWorld().


The documentation for this class was generated from the following files:
Generated on Mon Mar 26 11:01:02 2007 for Astrog by doxygen 1.4.6 and hosted by SourceForge.net Logo