astrog::PipelineHelloWorld Class Reference

#include <libastrog_p_helloworld.h>

Inheritance diagram for astrog::PipelineHelloWorld:

astrog::Pipeline List of all members.

Detailed Description

Hello World example pipeline.

This pipeline 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_p_helloworld.h.

Public Member Functions

 PipelineHelloWorld ()
 Constructor for the Hello World example pipeline.
 ~PipelineHelloWorld ()
 Deconstructor for the Hello World example pipeline.
int execute ()
 Execution function for the Hello World example pipeline.

Private Attributes

RoutineHelloWorldroutine_helloworld
 Hello World example routine.


Constructor & Destructor Documentation

astrog::PipelineHelloWorld::PipelineHelloWorld  ) 
 

Constructor for the Hello World example pipeline.

Definition at line 33 of file p_helloworld.cpp.

References routine_helloworld.

00034 {
00035     routine_helloworld = new RoutineHelloWorld();
00036 }

astrog::PipelineHelloWorld::~PipelineHelloWorld  ) 
 

Deconstructor for the Hello World example pipeline.

Definition at line 38 of file p_helloworld.cpp.

References routine_helloworld.

00039 {
00040     delete routine_helloworld;
00041 }


Member Function Documentation

int astrog::PipelineHelloWorld::execute  ) 
 

Execution function for the Hello World example pipeline.

Definition at line 43 of file p_helloworld.cpp.

References astrog::RoutineHelloWorld::execute(), and routine_helloworld.

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


Member Data Documentation

RoutineHelloWorld* astrog::PipelineHelloWorld::routine_helloworld [private]
 

Hello World example routine.

Definition at line 52 of file libastrog_p_helloworld.h.

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


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