Chi-Tech
chi::Event Class Reference

#include <Event.h>

Public Member Functions

 Event (const std::string &name, int code)
 
 Event (const std::string &name, int code, const ParameterBlock &parameter_block)
 
const std::string & Name () const
 
int Code () const
 
const ParameterBlockParameters () const
 
virtual ~Event ()=default
 

Protected Attributes

const std::string name_
 
const int code_ = 0
 
const ParameterBlock params_
 

Detailed Description

Definition at line 11 of file Event.h.

Constructor & Destructor Documentation

◆ Event() [1/2]

chi::Event::Event ( const std::string &  name,
int  code 
)

Definition at line 6 of file Event.cc.

◆ Event() [2/2]

chi::Event::Event ( const std::string &  name,
int  code,
const ParameterBlock parameter_block 
)

Definition at line 11 of file Event.cc.

◆ ~Event()

virtual chi::Event::~Event ( )
virtualdefault

Member Function Documentation

◆ Code()

int chi::Event::Code ( ) const

Definition at line 19 of file Event.cc.

◆ Name()

const std::string & chi::Event::Name ( ) const

Definition at line 18 of file Event.cc.

◆ Parameters()

const ParameterBlock & chi::Event::Parameters ( ) const

Definition at line 20 of file Event.cc.

Field Documentation

◆ code_

const int chi::Event::code_ = 0
protected

Definition at line 26 of file Event.h.

◆ name_

const std::string chi::Event::name_
protected

Definition at line 25 of file Event.h.

◆ params_

const ParameterBlock chi::Event::params_
protected

Definition at line 27 of file Event.h.


The documentation for this class was generated from the following files: