INET Framework for OMNeT++/OMNEST
inet::Macho::_RootInstance Class Reference

#include <Macho.h>

Inheritance diagram for inet::Macho::_RootInstance:
inet::Macho::_StateInstance

Public Member Functions

virtual ID id () override
 
virtual Key key () override
 
virtual void createBox () override
 
virtual void deleteBox () override
 
virtual const char * name () override
 
virtual _StateInstancecreate (_MachineBase &machine, _StateInstance *parent) override
 
- Public Member Functions inherited from inet::Macho::_StateInstance
virtual ~_StateInstance ()
 
void entry (_StateInstance &previous, bool first=true)
 
void exit (_StateInstance &next)
 
void init (bool history)
 
void saveHistory (_StateInstance &shallow, _StateInstance &deep)
 
void setHistorySuper (_StateInstance &deep)
 
void shutdown ()
 
void restore (_StateInstance &instance)
 
void setBox (void *box)
 
bool isChild (const _StateInstance &instance)
 
_StateSpecificationspecification ()
 
void * box ()
 
_MachineBasemachine ()
 
void setHistory (_StateInstance *history) const
 
_StateInstancehistory () const
 

Protected Member Functions

 _RootInstance (_MachineBase &machine, _StateInstance *parent)
 
- Protected Member Functions inherited from inet::Macho::_StateInstance
 _StateInstance (_MachineBase &machine, _StateInstance *parent)
 

Friends

class _StateSpecification
 

Additional Inherited Members

- Protected Attributes inherited from inet::Macho::_StateInstance
_MachineBasemyMachine
 
_StateSpecificationmySpecification
 
_StateInstancemyHistory
 
_StateInstancemyParent
 
void * myBox
 
void * myBoxPlace
 

Constructor & Destructor Documentation

inet::Macho::_RootInstance::_RootInstance ( _MachineBase machine,
_StateInstance parent 
)
inlineprotected
837  : _StateInstance(machine, parent)
838  {
840  }
_StateSpecification * mySpecification
Definition: Macho.h:822
_MachineBase & machine()
Definition: Macho.h:804
_StateInstance(_MachineBase &machine, _StateInstance *parent)
Definition: Macho.cc:121
friend class _StateSpecification
Definition: Macho.h:834

Member Function Documentation

virtual _StateInstance* inet::Macho::_RootInstance::create ( _MachineBase machine,
_StateInstance parent 
)
inlineoverridevirtual

Implements inet::Macho::_StateInstance.

862  {
863  return new _RootInstance(machine, parent);
864  }
_RootInstance(_MachineBase &machine, _StateInstance *parent)
Definition: Macho.h:836
_MachineBase & machine()
Definition: Macho.h:804
virtual void inet::Macho::_RootInstance::createBox ( )
inlineoverridevirtual

Implements inet::Macho::_StateInstance.

852 {}
virtual void inet::Macho::_RootInstance::deleteBox ( )
inlineoverridevirtual

Implements inet::Macho::_StateInstance.

853 {}
virtual ID inet::Macho::_RootInstance::id ( )
inlineoverridevirtual

Implements inet::Macho::_StateInstance.

843 { return 0; }
virtual Key inet::Macho::_RootInstance::key ( )
inlineoverridevirtual

Implements inet::Macho::_StateInstance.

846  {
847  // Can't happen: key is only called by users, and they don't know about Root.
848  assert(false);
849  return 0;
850  }
virtual const char* inet::Macho::_RootInstance::name ( )
inlineoverridevirtual

Implements inet::Macho::_StateInstance.

858 { return "Root"; }

Friends And Related Function Documentation

friend class _StateSpecification
friend

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