ACT Library
Loading...
Searching...
No Matches
Public Attributes | List of all members
ActDynamicPass::act_sh_dispatch_table Struct Reference

These are the C function pointers extracted from the shared library used to execute the various methods in the ActDynamicPass. More...

Public Attributes

void(* _init )(ActPass *ap)
 
void(* _run )(ActPass *ap, Process *p)
 
void(* _recursive )(ActPass *ap, Process *p, int mode)
 
void *(* _proc )(ActPass *ap, Process *p, int mode)
 
void *(* _chan )(ActPass *ap, Channel *c, int mode)
 
void *(* _data )(ActPass *ap, Data *d, int mode)
 
void(* _free )(ActPass *ap, void *v)
 
void(* _done )(ActPass *ap)
 
int(* _runcmd )(ActPass *ap, const char *name)
 

Detailed Description

These are the C function pointers extracted from the shared library used to execute the various methods in the ActDynamicPass.

Member Data Documentation

◆ _chan

void *(* ActDynamicPass::act_sh_dispatch_table::_chan) (ActPass *ap, Channel *c, int mode)

This is the ActPass::local_op() for a channel

Parameters
apis the ActPass
cis the channel for local_op()
modeis the mode for local_op()
Returns
the data structure generated by local_op()

◆ _data

void *(* ActDynamicPass::act_sh_dispatch_table::_data) (ActPass *ap, Data *d, int mode)

This is the ActPass::local_op() for a data type

Parameters
apis the ActPass
dis the data type for local_op()
modeis the mode for local_op()
Returns
the data structure generated by local_op()

◆ _done

void(* ActDynamicPass::act_sh_dispatch_table::_done) (ActPass *ap)

◆ _free

void(* ActDynamicPass::act_sh_dispatch_table::_free) (ActPass *ap, void *v)

This is called to free an allocated data structure

Parameters
apis the ActPass
vis the data structure to be free'd

◆ _init

void(* ActDynamicPass::act_sh_dispatch_table::_init) (ActPass *ap)

Called to initialize the pass from the constructor of the dynamic pass. Dependencies could be inserted here, for example.

Parameters
apis the ActPass corresponding to the ActDynamicPass

◆ _proc

void *(* ActDynamicPass::act_sh_dispatch_table::_proc) (ActPass *ap, Process *p, int mode)

This is the ActPass::local_op() for a process

Parameters
apis the ActPass
pis the process for local_op()
modeis the mode for local_op()
Returns
the data structure generated by local_op()

◆ _recursive

void(* ActDynamicPass::act_sh_dispatch_table::_recursive) (ActPass *ap, Process *p, int mode)

Called after ActPass::run_recursive() is finished.

Parameters
apis the dynamic pass
pis the process type passed to corresponding ActPass method
modeis the mode for the corresponding ActPass method

◆ _run

void(* ActDynamicPass::act_sh_dispatch_table::_run) (ActPass *ap, Process *p)

Called after the pass has been run via ActPass::run(), in case any additional work should be done.

Parameters
apis the dynamic pass
pis the process type passed to the ActPass::run() method.

◆ _runcmd

int(* ActDynamicPass::act_sh_dispatch_table::_runcmd) (ActPass *ap, const char *name)

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