17#ifndef LDNDC_INPUT_EVENT_TYPES_H_
18#define LDNDC_INPUT_EVENT_TYPES_H_
20#include "crabmeat-common.h"
21#include "event/events/eventbase.h"
23#include "string/cbm_string.h"
24#include "time/cbm_time.h"
26namespace ldndc{
namespace event
30typedef uintptr_t reader_eventhandle_t;
32struct CBM_API event_info_t
34 event_info_t( ldndc::event::event_type_e _type = ldndc::event::EVENT_NONE)
35 : type( _type), t_exec_s( std::string(
"")), r_data( 0)
39 ldndc::event::event_type_e type;
47 reader_eventhandle_t r_data;
74 ltime_t
const & _t_exec_l,
75 ltime_t::td_scalar_t _r = 1)
77 tspan_exec( _t_exec_l),
78 t_exec( _t_exec_l.from().seconds_since_epoch()),
86 ldndc::event::event_type_e type()
89 return ( this->event) ? this->
event->event_type() : ldndc::event::EVENT_NONE;
96 return ldndc::event::EVENT_NAMES[this->type()];
104 ltime_t::td_scalar_t t_exec;
106 ltime_t::td_scalar_t r;
108 ltime_t::td_scalar_t R;
Spatially explicit groundwater model.
Definition airchemistryput.h:21