scram::mef::SetHouseEvent
The operation to change house-events.
#include <instruction.h>
Inherits from scram::mef::Visitable< SetHouseEvent >, scram::mef::Instruction, boost::noncopyable
Public Functions
| Name | |
|---|---|
| SetHouseEvent(std::string name, bool state) | |
| const std::string & | name() const |
| bool | state() const |
Additional inherited members
Public Functions inherited from scram::mef::Visitable< SetHouseEvent >
| Name | |
|---|---|
| virtual void | Accept(InstructionVisitor * visitor) const<br>Calls visit with the object pointer T*. |
Public Functions inherited from scram::mef::Instruction
| Name | |
|---|---|
| virtual | ~Instruction() =default |
| virtual void | Accept(InstructionVisitor * visitor) const =0<br>Applies the visitor to the object. |
Public Functions Documentation
function SetHouseEvent
cpp
inline SetHouseEvent(
std::string name,
bool state
)Parameters:
- name Non-empty public house-event name.
- state The new state for the given house-event.
function name
cpp
inline const std::string & name() constReturn: The name of the house-event to apply this instruction.
function state
cpp
inline bool state() constReturn: The state of the target house-event to be changed into.
Updated on 2025-11-11 at 16:51:08 +0000
