VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Classes | Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Types | Protected Slots | Protected Member Functions | Protected Attributes
makVrf::DtVrfGlobalPlansManager Class Reference
Inheritance diagram for makVrf::DtVrfGlobalPlansManager:
Inheritance graph
[legend]

Classes

struct  GlobalPlanWithState

Public Types

typedef std::pair< DtUUID,
DtSimulationAddress > 
EditingPlan
typedef std::map
< DtEditGlobalPlanWidget
*, EditingPlan
EditingPlans
typedef std::map
< makVrv::DtUniqueID,
GlobalPlanWithState
GlobalPlanInformation
typedef std::map< std::string,
GlobalPlanInformation
GlobalPlans

Public Member Functions

 DtVrfGlobalPlansManager (makVrv::DtDe &)
 CTOR. Registers all known dialogs with manager.
virtual ~DtVrfGlobalPlansManager ()
 DTOR.
virtual void show (QWidget *parent)
 Shows the current dialog. If one does not exist, creates one.
virtual DtEditGlobalPlanWidgeteditGlobalPlan (const DtUUID &plan, const DtSimulationAddress &simulationAddress, QWidget *parent)
virtual void deleteGlobalPlan (const DtUUID &plan, const DtSimulationAddress &simulationAddress)
virtual void launchGlobalPlan (const DtUUID &u)
 Launches the specified global plan. If status of plan changes plan list will be sent out again.
virtual void launchGlobalPlan (const makVrv::DtUniqueID &u)
virtual bool isGlobalPlan (makVrv::DtUniqueID) const
 Returns true if this is a global plan.
virtual DtSimulationAddress simulationAddressFor (makVrv::DtUniqueID) const
 Returns the simulation address this global plan is on.
virtual void requestGlobalPlans ()
const GlobalPlansglobalPlans () const
virtual void globalPlanAdded (const makVrv::DtStateView< makVrv::DtVrlinkSimulatedBaseState > *p)
virtual void globalPlanRemoved (const makVrv::DtStateView< makVrv::DtVrlinkSimulatedBaseState > *p)
virtual DtString planName (const DtUUID &) const
virtual DtUUID uuidForPlan (makVrv::DtUniqueID) const
virtual bool isQuickLaunch (const DtUUID &) const
virtual int ordinal (const DtUUID &) const
virtual bool showOnQuickLaunchToolbar (const DtUUID &) const
virtual bool isLaunched (const DtUUID &) const
virtual DtString quickLaunchIcon (const DtUUID &) const
virtual int nextOrdinal () const
- Public Member Functions inherited from makVrv::DtVirtualBaseClass
 DtVirtualBaseClass ()
 Do nothing constructor.
virtual ~DtVirtualBaseClass ()
 Virtual do nothing destructor.

Static Public Member Functions

static DtVrfGlobalPlansManagerinstance (makVrv::DtDe &de)
 Returns instance of the messager.

Public Attributes

boost::signal< void(DtEditGlobalPlanWidget
*, DtUUID, DtSimulationAddress)> 
signal_globalPlanEditorCreated
boost::signal< void(DtEditGlobalPlanWidget
*, DtUUID, DtSimulationAddress)> 
signal_globalPlanEditorDeleted
boost::signal< void()> signal_clearGlobalPlans
boost::signal< void(DtUUID,
DtSimulationAddress)> 
signal_globalPlanAdded
boost::signal< void(const
GlobalPlanInformation &, const
std::string &)> 
signal_receivedGlobalPlans

Protected Types

typedef std::map
< DtEditGlobalPlanWidget
*, GlobalPlanInformation
GlobalPlanInformationMap

Protected Slots

virtual void onGlobalPlanDialogDestroyed ()

Protected Member Functions

virtual void scenarioRewound ()
virtual void scenarioClosed ()
virtual void slot_backendUpdated (const DtVrfBackendState &, int)
virtual void processGlobalPlansResponseCallback (DtSimMessage *)
virtual void connectSignals (QWidget *)
virtual void disconnectSignals (QWidget *)
virtual
DtGlobalPlansDialogInterface
createGlobalPlansDialog (QWidget *)
virtual DtEditGlobalPlanWidgetcreateGlobalPlanEditDialog (QWidget *, const DtUUID &p, const DtSimulationAddress &a)

Protected Attributes

makVrv::DtDemyDe
DtGlobalPlansDialogInterfacemyGlobalPlansDialog
EditingPlans myEditors
GlobalPlans myGlobalPlans
makVrv::DtSignalConnectionManager myConnections
bool myRequestingPlans

Member Typedef Documentation

typedef std::pair<DtUUID, DtSimulationAddress> makVrf::DtVrfGlobalPlansManager::EditingPlan

Constructor & Destructor Documentation

makVrf::DtVrfGlobalPlansManager::DtVrfGlobalPlansManager ( makVrv::DtDe )

CTOR. Registers all known dialogs with manager.

virtual makVrf::DtVrfGlobalPlansManager::~DtVrfGlobalPlansManager ( )
virtual

DTOR.

Member Function Documentation

static DtVrfGlobalPlansManager& makVrf::DtVrfGlobalPlansManager::instance ( makVrv::DtDe de)
static

Returns instance of the messager.

virtual void makVrf::DtVrfGlobalPlansManager::show ( QWidget parent)
virtual

Shows the current dialog. If one does not exist, creates one.

virtual DtEditGlobalPlanWidget* makVrf::DtVrfGlobalPlansManager::editGlobalPlan ( const DtUUID plan,
const DtSimulationAddress &  simulationAddress,
QWidget parent 
)
virtual
virtual void makVrf::DtVrfGlobalPlansManager::deleteGlobalPlan ( const DtUUID plan,
const DtSimulationAddress &  simulationAddress 
)
virtual
virtual void makVrf::DtVrfGlobalPlansManager::launchGlobalPlan ( const DtUUID u)
virtual

Launches the specified global plan. If status of plan changes plan list will be sent out again.

virtual void makVrf::DtVrfGlobalPlansManager::launchGlobalPlan ( const makVrv::DtUniqueID u)
virtual
virtual bool makVrf::DtVrfGlobalPlansManager::isGlobalPlan ( makVrv::DtUniqueID  ) const
virtual

Returns true if this is a global plan.

virtual DtSimulationAddress makVrf::DtVrfGlobalPlansManager::simulationAddressFor ( makVrv::DtUniqueID  ) const
virtual

Returns the simulation address this global plan is on.

virtual void makVrf::DtVrfGlobalPlansManager::requestGlobalPlans ( )
virtual
const GlobalPlans& makVrf::DtVrfGlobalPlansManager::globalPlans ( ) const
inline
virtual void makVrf::DtVrfGlobalPlansManager::globalPlanAdded ( const makVrv::DtStateView< makVrv::DtVrlinkSimulatedBaseState > *  p)
virtual
virtual void makVrf::DtVrfGlobalPlansManager::globalPlanRemoved ( const makVrv::DtStateView< makVrv::DtVrlinkSimulatedBaseState > *  p)
virtual
virtual DtString makVrf::DtVrfGlobalPlansManager::planName ( const DtUUID ) const
virtual
virtual DtUUID makVrf::DtVrfGlobalPlansManager::uuidForPlan ( makVrv::DtUniqueID  ) const
virtual
virtual bool makVrf::DtVrfGlobalPlansManager::isQuickLaunch ( const DtUUID ) const
virtual
virtual int makVrf::DtVrfGlobalPlansManager::ordinal ( const DtUUID ) const
virtual
virtual bool makVrf::DtVrfGlobalPlansManager::showOnQuickLaunchToolbar ( const DtUUID ) const
virtual
virtual bool makVrf::DtVrfGlobalPlansManager::isLaunched ( const DtUUID ) const
virtual
virtual DtString makVrf::DtVrfGlobalPlansManager::quickLaunchIcon ( const DtUUID ) const
virtual
virtual int makVrf::DtVrfGlobalPlansManager::nextOrdinal ( ) const
virtual
virtual void makVrf::DtVrfGlobalPlansManager::scenarioRewound ( )
protectedvirtual
virtual void makVrf::DtVrfGlobalPlansManager::scenarioClosed ( )
protectedvirtual
virtual void makVrf::DtVrfGlobalPlansManager::slot_backendUpdated ( const DtVrfBackendState ,
int   
)
protectedvirtual
virtual void makVrf::DtVrfGlobalPlansManager::processGlobalPlansResponseCallback ( DtSimMessage )
protectedvirtual
virtual void makVrf::DtVrfGlobalPlansManager::connectSignals ( QWidget )
protectedvirtual
virtual void makVrf::DtVrfGlobalPlansManager::disconnectSignals ( QWidget )
protectedvirtual
virtual DtGlobalPlansDialogInterface* makVrf::DtVrfGlobalPlansManager::createGlobalPlansDialog ( QWidget )
protectedvirtual
virtual DtEditGlobalPlanWidget* makVrf::DtVrfGlobalPlansManager::createGlobalPlanEditDialog ( QWidget ,
const DtUUID p,
const DtSimulationAddress &  a 
)
protectedvirtual
virtual void makVrf::DtVrfGlobalPlansManager::onGlobalPlanDialogDestroyed ( )
protectedvirtualslot

Member Data Documentation

boost::signal<void (DtEditGlobalPlanWidget*, DtUUID, DtSimulationAddress)> makVrf::DtVrfGlobalPlansManager::signal_globalPlanEditorCreated
boost::signal<void (DtEditGlobalPlanWidget*, DtUUID, DtSimulationAddress)> makVrf::DtVrfGlobalPlansManager::signal_globalPlanEditorDeleted
boost::signal<void ()> makVrf::DtVrfGlobalPlansManager::signal_clearGlobalPlans
boost::signal<void (DtUUID, DtSimulationAddress)> makVrf::DtVrfGlobalPlansManager::signal_globalPlanAdded
boost::signal<void (const GlobalPlanInformation&, const std::string&)> makVrf::DtVrfGlobalPlansManager::signal_receivedGlobalPlans
makVrv::DtDe& makVrf::DtVrfGlobalPlansManager::myDe
protected
DtGlobalPlansDialogInterface* makVrf::DtVrfGlobalPlansManager::myGlobalPlansDialog
protected
EditingPlans makVrf::DtVrfGlobalPlansManager::myEditors
protected
GlobalPlans makVrf::DtVrfGlobalPlansManager::myGlobalPlans
protected
makVrv::DtSignalConnectionManager makVrf::DtVrfGlobalPlansManager::myConnections
protected
bool makVrf::DtVrfGlobalPlansManager::myRequestingPlans
protected

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

Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)