#include <event.hpp>
Definition at line 84 of file event.hpp.
◆ Event() [1/2]
MicroModelica::IR::Event::Event |
( |
| ) |
|
◆ Event() [2/2]
MicroModelica::IR::Event::Event |
( |
AST_Expression |
cond, |
|
|
int |
id, |
|
|
int |
offset, |
|
|
Option< Range > |
range, |
|
|
std::string |
event_id |
|
) |
| |
◆ ~Event()
MicroModelica::IR::Event::~Event |
( |
| ) |
|
|
default |
◆ add()
void MicroModelica::IR::Event::add |
( |
AST_Statement |
stm | ) |
|
◆ compare()
bool MicroModelica::IR::Event::compare |
( |
AST_Expression |
zc | ) |
|
◆ compareEventID()
bool MicroModelica::IR::Event::compareEventID |
( |
std::string |
event_id | ) |
|
◆ config()
string MicroModelica::IR::Event::config |
( |
| ) |
const |
◆ exp()
This method returns the range expression of the event.
The range is computed from the LHS of the zero crossing
function associated with the event.
- Returns
- Expression with the LHS used in graph builders.
Definition at line 156 of file event.cpp.
References _range.
Referenced by compare().
◆ getExpression()
AST_Expression MicroModelica::IR::Event::getExpression |
( |
AST_Expression |
zc | ) |
|
|
private |
◆ handler()
string MicroModelica::IR::Event::handler |
( |
EVENT::Type |
type | ) |
const |
◆ hasRange()
bool MicroModelica::IR::Event::hasRange |
( |
| ) |
|
|
inline |
◆ id()
int MicroModelica::IR::Event::id |
( |
| ) |
const |
|
inline |
◆ isValid()
bool MicroModelica::IR::Event::isValid |
( |
| ) |
const |
|
inline |
◆ macro()
string MicroModelica::IR::Event::macro |
( |
| ) |
const |
◆ negativeHandler()
◆ positiveHandler()
◆ range()
Option<Range> MicroModelica::IR::Event::range |
( |
| ) |
const |
|
inline |
◆ zeroCrossing()
Equation MicroModelica::IR::Event::zeroCrossing |
( |
| ) |
|
|
inline |
◆ _current
◆ _event_id
std::string MicroModelica::IR::Event::_event_id |
|
private |
◆ _id
int MicroModelica::IR::Event::_id |
|
private |
◆ _negative_handler
◆ _negative_handler_id
int MicroModelica::IR::Event::_negative_handler_id |
|
private |
◆ _offset
int MicroModelica::IR::Event::_offset |
|
private |
◆ _positive_handler
◆ _positive_handler_id
int MicroModelica::IR::Event::_positive_handler_id |
|
private |
◆ _range
◆ _type
◆ _zc_relation
◆ _zero_crossing
Equation MicroModelica::IR::Event::_zero_crossing |
|
private |
The documentation for this class was generated from the following files: