Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ActionE Class Reference
Inheritance diagram for ActionE:
Collaboration diagram for ActionE:

Public Member Functions

 ActionE (Scheduler *s, int n, char *at[], int i[], void *p=0, char *name=NULL)
 
virtual void declare (Scheduler &sched)
 
- Public Member Functions inherited from SchedulerAction
 SchedulerAction (Scheduler *s, int n, const char *at[], int i[], void *p=0, char *name=NULL)
 
virtual ~SchedulerAction ()
 
virtual void init (double t)
 
virtual void run (double t, double dt, double alpha)
 
virtual void finalize ()
 
virtual void print (FILE *f, char *container_name)
 
virtual void print_toposort (FILE *f)
 
virtual void schedule ()
 
- Public Member Functions inherited from Action
 Action (void *p=0, char *name=NULL)
 
 Action (int n, const char *at[], int *i=NULL, void *p=0, char *name=NULL)
 
 Action (int n, const std::string at[], int *i=NULL, void *p=0, char *name=NULL)
 
virtual ~Action ()
 
virtual char * name ()
 
void set_name (const char *name)
 
virtual void print (FILE *f)
 

Additional Inherited Members

- Protected Types inherited from Action
enum  { IN =1, OUT =2, INOUT =3 }
 
- Protected Member Functions inherited from Action
int get_attribute_handle (int i)
 
int get_attribute_handle_const (int i)
 
int get_attribute_handle (const std::string str)
 
void set_attr (int n, const std::string at[], int *id=NULL)
 
void set_attr (int n, const char *at[], int *id=NULL)
 
void set_io (int n, const int *io)
 
void set_io (const char *io)
 
int get_io (int i)
 
- Protected Attributes inherited from Action
char * action_name
 
char ** attr
 
int * idx
 
int count
 
void * usr_ptr
 
std::vector< int > inout
 

Detailed Description

Definition at line 64 of file test.C.

Constructor & Destructor Documentation

ActionE ( Scheduler s,
int  n,
char *  at[],
int  i[],
void *  p = 0,
char *  name = NULL 
)
inline

Definition at line 67 of file test.C.

67 : SchedulerAction(s, n, at, i, p, name) {}
virtual char * name()
Definition: Action.h:53
blockLoc i
Definition: read.cpp:79
const NT & n
SchedulerAction(Scheduler *s, int n, const char *at[], int i[], void *p=0, char *name=NULL)
Definition: Action.h:83

Member Function Documentation

virtual void declare ( Scheduler sched)
inlinevirtual

Implements SchedulerAction.

Definition at line 68 of file test.C.

References Scheduler::reads().

Referenced by main().

68  {
69  sched.reads(this, "e", 1);
70  }
void reads(Action *, const char *attr, int idx)
Definition: Scheduler.C:49

Here is the call graph for this function:

Here is the caller graph for this function:


The documentation for this class was generated from the following file: