Chi-Tech
Event.cc
Go to the documentation of this file.
1
#include "
Event.h
"
2
3
namespace
chi
4
{
5
6
Event::Event
(
const
std::string& name,
int
code)
7
: name_(name), code_(code), params_()
8
{
9
}
10
11
Event::Event
(
const
std::string& name,
12
int
code,
13
const
ParameterBlock
& parameter_block)
14
: name_(name), code_(code), params_(parameter_block)
15
{
16
}
17
18
const
std::string&
Event::Name
()
const
{
return
name_
; }
19
int
Event::Code
()
const
{
return
code_
; }
20
const
ParameterBlock
&
Event::Parameters
()
const
{
return
params_
; }
21
22
}
// namespace chi
Event.h
chi::Event::code_
const int code_
Definition:
Event.h:26
chi::Event::name_
const std::string name_
Definition:
Event.h:25
chi::Event::Event
Event(const std::string &name, int code)
Definition:
Event.cc:6
chi::Event::params_
const ParameterBlock params_
Definition:
Event.h:27
chi::Event::Code
int Code() const
Definition:
Event.cc:19
chi::Event::Parameters
const ParameterBlock & Parameters() const
Definition:
Event.cc:20
chi::Event::Name
const std::string & Name() const
Definition:
Event.cc:18
chi::ParameterBlock
Definition:
parameter_block.h:40
chi
Definition:
chi_runtime.h:53
framework
event_system
Event.cc
Generated by
1.9.3