#include <Action.h>
Public Member Functions | |
SchedulerAction (Scheduler *s, int n, const char *at[], int i[], void *p=0, char *name=NULL) | |
virtual | ~SchedulerAction () |
virtual void | declare (Scheduler &)=0 |
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) |
Private Attributes | |
Scheduler * | sched |
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 |
|
inline |
|
virtual |
|
pure virtual |
|
virtual |
Reimplemented from Action.
Definition at line 138 of file Action.C.
References Scheduler::finalize_actions(), and sched.
|
virtual |
Reimplemented from Action.
Definition at line 123 of file Action.C.
References Scheduler::init_actions(), and sched.
|
virtual |
Definition at line 143 of file Action.C.
References Action::name(), Scheduler::print(), and sched.
|
virtual |
Reimplemented from Action.
Definition at line 164 of file Action.C.
References Scheduler::print_toposort(), and sched.
|
virtual |
Reimplemented from Action.
Definition at line 132 of file Action.C.
References Scheduler::run_actions(), and sched.
|
virtual |
Reimplemented from Action.
Definition at line 128 of file Action.C.
References sched, and Scheduler::schedule().
|
private |
Definition at line 81 of file Action.h.
Referenced by finalize(), init(), print(), print_toposort(), run(), schedule(), and ~SchedulerAction().