INET Framework for OMNeT++/OMNEST
inet::Macho::Machine< TOP >::AfterAdvice Struct Reference

#include <Macho.h>

Public Member Functions

 AfterAdvice (Machine< TOP > &m)
 
 ~AfterAdvice ()
 
TOP * operator-> ()
 

Private Attributes

Machine< TOP > & myMachine
 

Constructor & Destructor Documentation

◆ AfterAdvice()

template<class TOP >
inet::Macho::Machine< TOP >::AfterAdvice::AfterAdvice ( Machine< TOP > &  m)
inline
1807 : myMachine(m) {}

◆ ~AfterAdvice()

template<class TOP >
inet::Macho::Machine< TOP >::AfterAdvice::~AfterAdvice ( )
inline
1810 { myMachine.rattleOn(); }

Member Function Documentation

◆ operator->()

template<class TOP >
TOP* inet::Macho::Machine< TOP >::AfterAdvice::operator-> ( )
inline
1814  {
1815  return static_cast<TOP *>(&(myMachine.myCurrentState->specification()));
1816  }

Member Data Documentation

◆ myMachine


The documentation for this struct was generated from the following file:
inet::Macho::Machine::AfterAdvice::myMachine
Machine< TOP > & myMachine
Definition: Macho.h:1819
inet::units::values::m
value< double, units::m > m
Definition: Units.h:1233