Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] Diff of /branches/vis12/src/include/Diderot/strands.h
ViewVC logotype

Diff of /branches/vis12/src/include/Diderot/strands.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1713, Fri Mar 9 21:37:19 2012 UTC revision 1714, Sat Mar 10 00:00:50 2012 UTC
# Line 18  Line 18 
18  #  include "Diderot/world.h"  #  include "Diderot/world.h"
19  #endif  #endif
20    
21  typedef StrandStatus_t (*update_method_t)(void *, void *);  typedef StrandStatus_t (*update_method_t)(void *inSt, void *outSt);
22  typedef void (*stabilize_method_t)(void *, void *);  typedef void (*stabilize_method_t)(void *inSt, void *outSt);
23  typedef void (*convert_method_t)(void *, void *);  typedef void (*convert_method_t)(void *st, void *);
24  typedef void (*print_method_t)(FILE *, void *);  typedef void (*output_method_t)(void *st, int i, void *dst);    // copy i'th output
25  typedef void (*output_method_t)(void *, void *);  
26    typedef enum {
27        nrrdTypeLength = nrrdTypeLast+1     //!< nrrd typecode for dynamic sequence lengths
28    };
29    
30  /* description of an output */  /* description of an output */
31  typedef struct {  typedef struct {
# Line 35  Line 38 
38  } OutputDesc_t;  } OutputDesc_t;
39    
40  /* hooks generated by the compiler for the runtime */  /* hooks generated by the compiler for the runtime */
41  typedef struct {  typedef struct struct_strand {
42      char                *name;          //!< name of strand      char                *name;          //!< name of strand
43      size_t              stateSzb;       //!< size of strand state in bytes      size_t              stateSzb;       //!< size of strand state in bytes
44  #if defined(DIDEROT_TARGET_CL)  #if defined(DIDEROT_TARGET_CL)
# Line 48  Line 51 
51  #if defined(DIDEROT_TARGET_CL)  #if defined(DIDEROT_TARGET_CL)
52      convert_method_t    strandCopy;     //!< method for copying      convert_method_t    strandCopy;     //!< method for copying
53  #endif  #endif
54      print_method_t      print;          //!< function for printing output state      output_method_t     output;         //!< function for copying output state from the strand
55      output_method_t     output;         //!< function for outputing output state                                          //!< state to the output nrrd
56  } Strand_t;  } Strand_t;
57    
58  extern int Diderot_NumStrands;          //!< the number of strands in the program  extern int Diderot_NumStrands;          //!< the number of strands in the program

Legend:
Removed from v.1713  
changed lines
  Added in v.1714

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0