HPCToolkit
sample_source_obj.h File Reference
#include <stdbool.h>
#include "simple_oo.h"
#include "evlist.h"
Include dependency graph for sample_source_obj.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  source_info_t
 
struct  sample_source_t
 

Macros

#define METHOD_DEF(retn, name, ...)   retn (*name)(struct sample_source_t* self, ##__VA_ARGS__)
 
#define VMETHOD_DEF(name, ...)   METHOD_DEF(void,name, ##__VA_ARGS__)
 
#define METHOD_FN(n, ...)   n(sample_source_t *self, ##__VA_ARGS__)
 

Typedefs

typedef struct sample_source_t sample_source_t
 

Enumerations

enum  source_state_t {
  UNINIT, INIT, START, STOP,
  HARD_STOP
}
 
enum  ss_class_t { SS_HARDWARE, SS_SOFTWARE }
 

Macro Definition Documentation

◆ METHOD_DEF

#define METHOD_DEF (   retn,
  name,
  ... 
)    retn (*name)(struct sample_source_t* self, ##__VA_ARGS__)

Definition at line 56 of file sample_source_obj.h.

◆ METHOD_FN

#define METHOD_FN (   n,
  ... 
)    n(sample_source_t *self, ##__VA_ARGS__)

Definition at line 60 of file sample_source_obj.h.

◆ VMETHOD_DEF

#define VMETHOD_DEF (   name,
  ... 
)    METHOD_DEF(void,name, ##__VA_ARGS__)

Definition at line 59 of file sample_source_obj.h.

Typedef Documentation

◆ sample_source_t

Enumeration Type Documentation

◆ source_state_t

Enumerator
UNINIT 
INIT 
START 
STOP 
HARD_STOP 

Definition at line 68 of file sample_source_obj.h.

◆ ss_class_t

enum ss_class_t
Enumerator
SS_HARDWARE 
SS_SOFTWARE 

Definition at line 80 of file sample_source_obj.h.