EMANE  1.2.1
EMANE::Application::Main Class Referenceabstract

#include <main.h>

Inheritance diagram for EMANE::Application::Main:
EMANE::Application::Emulator< Builder, Director, Manager > EMANE::Application::Emulator< EventGeneratorBuilder, EventDirector, EventGeneratorManager >

Public Member Functions

virtual ~Main ()
 
int main (int argc, char *argv[])
 

Protected Member Functions

 Main (const std::string &sName)
 
virtual const uuid_t & getUUID () const
 
virtual void doConfigure (const std::string &)=0
 
virtual void doStart ()=0
 
virtual void doStop ()=0
 
virtual void doDestroy ()=0
 
virtual std::vector< option > doGetOptions () const
 
virtual std::vector< std::string > doGetOptionsUsage () const
 
virtual std::string doGetOptString () const
 
virtual bool doProcessOption (int iOptOpt, const char *pzOptArg)
 

Detailed Description

Definition at line 49 of file main.h.

Constructor & Destructor Documentation

◆ ~Main()

EMANE::Application::Main::~Main ( )
virtual

Definition at line 104 of file main.cc.

◆ Main()

EMANE::Application::Main::Main ( const std::string &  sName)
protected

Definition at line 96 of file main.cc.

Member Function Documentation

◆ doConfigure()

virtual void EMANE::Application::Main::doConfigure ( const std::string &  )
protectedpure virtual

◆ doDestroy()

virtual void EMANE::Application::Main::doDestroy ( )
protectedpure virtual

◆ doGetOptions()

virtual std::vector<option> EMANE::Application::Main::doGetOptions ( ) const
inlineprotectedvirtual

Definition at line 69 of file main.h.

◆ doGetOptionsUsage()

virtual std::vector<std::string> EMANE::Application::Main::doGetOptionsUsage ( ) const
inlineprotectedvirtual

Definition at line 74 of file main.h.

◆ doGetOptString()

virtual std::string EMANE::Application::Main::doGetOptString ( ) const
inlineprotectedvirtual

Definition at line 79 of file main.h.

◆ doProcessOption()

virtual bool EMANE::Application::Main::doProcessOption ( int  iOptOpt,
const char *  pzOptArg 
)
inlineprotectedvirtual

Definition at line 84 of file main.h.

◆ doStart()

virtual void EMANE::Application::Main::doStart ( )
protectedpure virtual

◆ doStop()

virtual void EMANE::Application::Main::doStop ( )
protectedpure virtual

◆ getUUID()

const uuid_t & EMANE::Application::Main::getUUID ( ) const
protectedvirtual

Definition at line 110 of file main.cc.

◆ main()

int EMANE::Application::Main::main ( int  argc,
char *  argv[] 
)

Definition at line 115 of file main.cc.


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