This subclass of DtVrlApplicationInitializer adds command line options for the HLA version of the example.
Header file:
#ifndef _f18Init_H_
#define _f18Init_H_
#include <vl/exerciseConnInitializer.h>
#include <vlutil/vlString.h>
#include <mtl/mtlEnvironment.h>
#include <matrix/vlVector.h>
class DtMtlEnvironment;
{
public:
#if DtHLA
#endif
protected:
protected:
#if DtHLA
#endif
};
#endif
Implementation:
#include <matrix/vlVector.h>
#include <matrix/geodeticCoord.h>
#if DtHLA
, mySiteId(myHlaConnection, "backendSiteId", 1, "Site ID of the back-end", DtBaseConfigVariable::DtScopeBoth, false, "s")
, myApplicationNumber(myHlaConnection, "b&ackendAppNum", 2, "Application number of the back-end")
#endif
{
initMtl();
initCmdLine();
#if DtDIS
setAllowCoupledPdus(true);
#endif
}
{
}
{
#if DtHLA
#endif
}
{
}
#if DtHLA
{
}
{
}
{
}
{
}
#endif