VR-Forces 4.1 Class Documentation
List of all members | Public Member Functions | Public Attributes
makVrv::DtVectorNetworkTreeInterface Class Reference

The interface used by the DtVectorNetworkTreeWidget and the DtVectorNetworkTreeLogic. More...

Inheritance diagram for makVrv::DtVectorNetworkTreeInterface:
Inheritance graph
[legend]

Public Member Functions

 DtVectorNetworkTreeInterface ()
virtual ~DtVectorNetworkTreeInterface ()
virtual void addLayer (const std::string &layerName)=0
 Call to add a feature layer to the gui.
virtual void removeLayer (const std::string &layerName)=0
 Call to remove a feature layer to the gui.
virtual void showLayer (const std::string &layerName)=0
 Call to show a layer in the gui.
virtual void hideLayer (const std::string &layerName)=0
 Call to hide a layer in the gui.
virtual void addPointFeature (DtElementID id, const std::string &layerName, unsigned int index, DFAD::FeatureID feature, const DtFaccCode &code)=0
 Call to add a point feature to the gui.
virtual void addArealFeature (DtElementID id, const std::string &layerName, unsigned int index, DFAD::FeatureID feature, const DtFaccCode &code)=0
 Call to add a point feature to the gui.
virtual void addLinearFeature (DtElementID id, const std::string &layerName, unsigned int index, DFAD::FeatureID feature, const DtFaccCode &code)=0
 Call to add a point feature to the gui.
virtual void removeFeature (DtElementID id)=0
 Call to remove a point feature to the gui.
virtual void setFeatureSelected (DtElementID id, bool selected)=0
 Call to select/deselect a point feature in the gui.
virtual void finishedAdding ()=0
 Call this function after adding new contents.

Public Attributes

boost::signal< void()> signal_refresh
 Signal to the logic to resend all data to the gui.
boost::signal< void(DtElementID
id, bool selection)> 
signal_featureSelectionChanged
 Signal to the logic that a point was selected.

Detailed Description

The interface used by the DtVectorNetworkTreeWidget and the DtVectorNetworkTreeLogic.

Constructor & Destructor Documentation

makVrv::DtVectorNetworkTreeInterface::DtVectorNetworkTreeInterface ( )
virtual makVrv::DtVectorNetworkTreeInterface::~DtVectorNetworkTreeInterface ( )
virtual

Member Function Documentation

virtual void makVrv::DtVectorNetworkTreeInterface::addLayer ( const std::string &  layerName)
pure virtual

Call to add a feature layer to the gui.

Implemented in makVrv::DtVectorNetworkTreeWidget.

virtual void makVrv::DtVectorNetworkTreeInterface::removeLayer ( const std::string &  layerName)
pure virtual

Call to remove a feature layer to the gui.

Implemented in makVrv::DtVectorNetworkTreeWidget.

virtual void makVrv::DtVectorNetworkTreeInterface::showLayer ( const std::string &  layerName)
pure virtual

Call to show a layer in the gui.

Implemented in makVrv::DtVectorNetworkTreeWidget.

virtual void makVrv::DtVectorNetworkTreeInterface::hideLayer ( const std::string &  layerName)
pure virtual

Call to hide a layer in the gui.

Implemented in makVrv::DtVectorNetworkTreeWidget.

virtual void makVrv::DtVectorNetworkTreeInterface::addPointFeature ( DtElementID  id,
const std::string &  layerName,
unsigned int  index,
DFAD::FeatureID  feature,
const DtFaccCode code 
)
pure virtual

Call to add a point feature to the gui.

Implemented in makVrv::DtVectorNetworkTreeWidget.

virtual void makVrv::DtVectorNetworkTreeInterface::addArealFeature ( DtElementID  id,
const std::string &  layerName,
unsigned int  index,
DFAD::FeatureID  feature,
const DtFaccCode code 
)
pure virtual

Call to add a point feature to the gui.

Implemented in makVrv::DtVectorNetworkTreeWidget.

virtual void makVrv::DtVectorNetworkTreeInterface::addLinearFeature ( DtElementID  id,
const std::string &  layerName,
unsigned int  index,
DFAD::FeatureID  feature,
const DtFaccCode code 
)
pure virtual

Call to add a point feature to the gui.

Implemented in makVrv::DtVectorNetworkTreeWidget.

virtual void makVrv::DtVectorNetworkTreeInterface::removeFeature ( DtElementID  id)
pure virtual

Call to remove a point feature to the gui.

Implemented in makVrv::DtVectorNetworkTreeWidget.

virtual void makVrv::DtVectorNetworkTreeInterface::setFeatureSelected ( DtElementID  id,
bool  selected 
)
pure virtual

Call to select/deselect a point feature in the gui.

Implemented in makVrv::DtVectorNetworkTreeWidget.

virtual void makVrv::DtVectorNetworkTreeInterface::finishedAdding ( )
pure virtual

Call this function after adding new contents.

Implemented in makVrv::DtVectorNetworkTreeWidget.

Member Data Documentation

boost::signal<void ()> makVrv::DtVectorNetworkTreeInterface::signal_refresh

Signal to the logic to resend all data to the gui.

boost::signal<void (DtElementID id, bool selection)> makVrv::DtVectorNetworkTreeInterface::signal_featureSelectionChanged

Signal to the logic that a point was selected.


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

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)