Skip to content

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
boolstate() const

Additional inherited members

Public Functions inherited from scram::mef::Visitable< SetHouseEvent >

Name
virtual voidAccept(InstructionVisitor * visitor) const<br>Calls visit with the object pointer T*.

Public Functions inherited from scram::mef::Instruction

Name
virtual~Instruction() =default
virtual voidAccept(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() const

Return: The name of the house-event to apply this instruction.

function state

cpp
inline bool state() const

Return: The state of the target house-event to be changed into.


Updated on 2025-11-11 at 16:51:08 +0000