ROSS
build
bin
include
revent-check
state-check.h
Go to the documentation of this file.
1
#ifndef INC_revent_check_state_check
2
#define INC_revent_check_state_check
3
4
typedef
struct
crv_lpstate_checkpoint
{
5
void
*
state
;
6
tw_rng_stream
rng
;
7
tw_rng_stream
core_rng
;
8
}
crv_lpstate_checkpoint
;
9
10
typedef
void (*
save_lpstate_f
) (
crv_lpstate_checkpoint
* into,
const
tw_lp
* clp);
11
12
13
typedef
struct
crv_state
{
14
tw_lptype
*
lptype
;
15
save_lpstate_f
*
state
;
16
}
crv_state
;
17
18
void
crv_copy_lpstate
(
crv_lpstate_checkpoint
* into,
const
tw_lp
* clp);
19
20
void
crv_check_lpstates
(
21
tw_lp
* clp,
22
tw_event
* cev,
23
const
crv_lpstate_checkpoint
* before_state,
24
const
char
* before_msg,
25
const
char
* after_msg
26
);
27
28
#endif
save_lpstate_f
void(* save_lpstate_f)(crv_lpstate_checkpoint *into, const tw_lp *clp)
Definition
state-check.h:10
crv_check_lpstates
void crv_check_lpstates(tw_lp *clp, tw_event *cev, const crv_lpstate_checkpoint *before_state, const char *before_msg, const char *after_msg)
crv_copy_lpstate
void crv_copy_lpstate(crv_lpstate_checkpoint *into, const tw_lp *clp)
crv_lpstate_checkpoint
Definition
state-check.h:4
crv_lpstate_checkpoint::state
void * state
Definition
state-check.h:5
crv_lpstate_checkpoint::core_rng
tw_rng_stream core_rng
Definition
state-check.h:7
crv_lpstate_checkpoint::rng
tw_rng_stream rng
Definition
state-check.h:6
crv_state
Definition
state-check.h:13
crv_state::lptype
tw_lptype * lptype
Definition
state-check.h:14
crv_state::state
save_lpstate_f * state
Definition
state-check.h:15
tw_event
Event Stucture.
Definition
ross-types.h:277
tw_lp
LP State Structure.
Definition
ross-types.h:336
tw_lptype
Function Pointers for ROSS Event Handlers.
Definition
ross-types.h:97
tw_rng_stream
Definition
rand-clcg4.h:36
Generated by
1.14.0