45 Action(
int n,
const char *at[],
int *
i=NULL,
void *p=0,
char *
name=NULL);
46 Action(
int n,
const std::string at[],
int *
i=NULL,
void *p=0,
char *
name=NULL);
50 virtual void init(
double t) { }
51 virtual void run(
double t,
double dt,
double alpha) {}
55 virtual void print(FILE *f);
66 void set_attr(
int n,
const std::string at[],
int *
id=NULL);
67 void set_attr(
int n,
const char * at[],
int *
id=NULL);
73 void set_io(
const char *io);
83 SchedulerAction(
Scheduler *
s,
int n,
const char *at[],
int i[],
void *p=0,
char *
name=NULL):
Action(n, at, i, p,
name),
sched(s) {}
86 virtual void init(
double t);
87 virtual void run(
double t,
double dt,
double alpha);
89 virtual void print(FILE *f,
char *container_name);
99 UserSchedulerAction(
UserScheduler *
s,
int n,
const char *at[],
int i[],
void *p=0,
char *
name=NULL):
Action(n, at, i, p,
name),
sched(s) {}
102 virtual void init(
double t);
103 virtual void run(
double t,
double dt,
double alpha);
105 virtual void print(FILE *f,
char *container_name);
virtual void run(double t, double dt, double alpha)
virtual void print_toposort(FILE *f)
virtual ~SchedulerAction()
virtual void init(double t)
virtual void declare(Scheduler &)
int get_attribute_handle(int i)
virtual void print_toposort(FILE *f)
int get_attribute_handle_const(int i)
virtual void declare(Scheduler &)=0
virtual void print_toposort(FILE *f)
virtual void run(double t, double dt, double alpha)
virtual void print(FILE *f, char *container_name)
void set_io(int n, const int *io)
virtual void init(double t)
virtual void init(double t)
void set_name(const char *name)
virtual void print(FILE *f, char *container_name)
Action(void *p=0, char *name=NULL)
void set_attr(int n, const std::string at[], int *id=NULL)
UserSchedulerAction(UserScheduler *s, int n, const char *at[], int i[], void *p=0, char *name=NULL)
virtual void run(double t, double dt, double alpha)
SchedulerAction(Scheduler *s, int n, const char *at[], int i[], void *p=0, char *name=NULL)
virtual ~UserSchedulerAction()
virtual void print(FILE *f)