10#ifndef LDNDC_INPUT_EVENT_TYPES_H_
11#define LDNDC_INPUT_EVENT_TYPES_H_
13#include "crabmeat-common.h"
14#include "event/events/eventbase.h"
16#include "string/cbm_string.h"
17#include "time/cbm_time.h"
19namespace ldndc{
namespace event
23typedef uintptr_t reader_eventhandle_t;
25struct CBM_API event_info_t
27 event_info_t( ldndc::event::event_type_e _type = ldndc::event::EVENT_NONE)
28 : type( _type), t_exec_s( std::string(
"")), r_data( 0)
32 ldndc::event::event_type_e type;
40 reader_eventhandle_t r_data;
67 ltime_t
const & _t_exec_l,
68 ltime_t::td_scalar_t _r = 1)
70 tspan_exec( _t_exec_l),
71 t_exec( _t_exec_l.from().seconds_since_epoch()),
79 ldndc::event::event_type_e type()
82 return ( this->event) ? this->
event->event_type() : ldndc::event::EVENT_NONE;
89 return ldndc::event::EVENT_NAMES[this->type()];
97 ltime_t::td_scalar_t t_exec;
99 ltime_t::td_scalar_t r;
101 ltime_t::td_scalar_t R;
Spatially explicit groundwater model.
Definition airchemistryput.h:15