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

Public Member Functions

 DtChannelKeywordMapScale (makVrv::DtDe &de, const std::string &keyword, const std::string &displayName, const std::string &windowName, const makVrv::DtChannelConfiguration &channelConfig)
 CTOR.
virtual ~DtChannelKeywordMapScale ()
 DTOR.
virtual void channelNameChanged (const std::string &displayName, const std::string &windowName, const std::string &channelName)
 Implementing objects use this method to respond to changes in the fully qualified name of their channel [display name / window name / channel name ].
virtual void channelConfigurationChanged (const makVrv::DtChannelConfiguration &config)
 Implementing objects use this method to respond to changes in channel configuration other than name, which is handled above.
virtual void windowConfigurationChanged (const makVrv::DtWindowConfiguration &config)
 Implementing objects use this method to respond to changes in window configuration other than name, which is handled above.
- Public Member Functions inherited from makVrv::DtChannelKeywordObject
virtual ~DtChannelKeywordObject ()
 DTOR.

Protected Member Functions

virtual void updateMapScaleState ()
 Slots for responding to observer-related signals.
virtual void slot_observerCreated (makVrv::DtInputDriver *, makVrv::DtObserver *observer)
 Called when an observer is created, so that we can connect to an observer that didn't exist when the grid line object itself was created.
virtual void slot_observerToBeDestroyed (makVrv::DtInputDriver *, makVrv::DtObserver *observer)
 Called when an observer is about to be destroyed, so we can disconnect from the observer mode changed signal and set myObserver to Null.
virtual void slot_observerModeChanged (makVrv::DtObserver *observer, int newMode)
 Called when an observer's observer mode changes, so we can determine if we need to create or destroy a grid line object.
virtual void slot_observerModeSettingChanged (int mode, int setting)
 Called when an observer mode's setting changes; if its the mode our observer is using and the setting is DisplayGridLines, we may need to create or destroy a gridLineObject.
virtual void slot_observerModeIs2DChanged (int mode)
 Called when an observer mode's projection changes; if its the mode our observer is using and the current setting is DisplayGridLines, we may need to create or destroy a gridLineObject.
virtual void connectToObserver (makVrv::DtObserver *observer)
 Helper methods.
virtual void connectToObserver (const std::string &observerName)
 Look up the observer by name, cache the observer name, and call connectToObserver with the found observer.
virtual void disconnectFromObserver ()
 Disconnect from the current observer's observerModeChanged signal, delete the the grid line agent if it exists, and set myObserver and myGridLineAgent to Null.
- Protected Member Functions inherited from makVrv::DtChannelKeywordObject
 DtChannelKeywordObject (DtDe &de, const std::string &keyword, const std::string &displayName, const std::string &windowName, const DtChannelConfiguration &channelConfig)
 CTOR.

Protected Attributes

DtMapScaleInstancemyMapScaleInstance
std::string myObserverName
makVrv::DtObservermyObserver
std::string myKeyword
std::string myDisplayName
std::string myWindowName
std::string myChannelName
makVrv::DtSignalConnectionManager myConnections
- Protected Attributes inherited from makVrv::DtChannelKeywordObject
DtDemyDe

Constructor & Destructor Documentation

makVrf::DtChannelKeywordMapScale::DtChannelKeywordMapScale ( makVrv::DtDe de,
const std::string &  keyword,
const std::string &  displayName,
const std::string &  windowName,
const makVrv::DtChannelConfiguration channelConfig 
)

CTOR.

virtual makVrf::DtChannelKeywordMapScale::~DtChannelKeywordMapScale ( )
virtual

DTOR.

Member Function Documentation

virtual void makVrf::DtChannelKeywordMapScale::channelNameChanged ( const std::string &  displayName,
const std::string &  windowName,
const std::string &  channelName 
)
virtual

Implementing objects use this method to respond to changes in the fully qualified name of their channel [display name / window name / channel name ].

Implements makVrv::DtChannelKeywordObject.

virtual void makVrf::DtChannelKeywordMapScale::channelConfigurationChanged ( const makVrv::DtChannelConfiguration config)
virtual

Implementing objects use this method to respond to changes in channel configuration other than name, which is handled above.

Implements makVrv::DtChannelKeywordObject.

virtual void makVrf::DtChannelKeywordMapScale::windowConfigurationChanged ( const makVrv::DtWindowConfiguration config)
inlinevirtual

Implementing objects use this method to respond to changes in window configuration other than name, which is handled above.

Implements makVrv::DtChannelKeywordObject.

virtual void makVrf::DtChannelKeywordMapScale::updateMapScaleState ( )
protectedvirtual

Slots for responding to observer-related signals.

virtual void makVrf::DtChannelKeywordMapScale::slot_observerCreated ( makVrv::DtInputDriver ,
makVrv::DtObserver observer 
)
protectedvirtual

Called when an observer is created, so that we can connect to an observer that didn't exist when the grid line object itself was created.

virtual void makVrf::DtChannelKeywordMapScale::slot_observerToBeDestroyed ( makVrv::DtInputDriver ,
makVrv::DtObserver observer 
)
protectedvirtual

Called when an observer is about to be destroyed, so we can disconnect from the observer mode changed signal and set myObserver to Null.

virtual void makVrf::DtChannelKeywordMapScale::slot_observerModeChanged ( makVrv::DtObserver observer,
int  newMode 
)
protectedvirtual

Called when an observer's observer mode changes, so we can determine if we need to create or destroy a grid line object.

virtual void makVrf::DtChannelKeywordMapScale::slot_observerModeSettingChanged ( int  mode,
int  setting 
)
protectedvirtual

Called when an observer mode's setting changes; if its the mode our observer is using and the setting is DisplayGridLines, we may need to create or destroy a gridLineObject.

virtual void makVrf::DtChannelKeywordMapScale::slot_observerModeIs2DChanged ( int  mode)
protectedvirtual

Called when an observer mode's projection changes; if its the mode our observer is using and the current setting is DisplayGridLines, we may need to create or destroy a gridLineObject.

virtual void makVrf::DtChannelKeywordMapScale::connectToObserver ( makVrv::DtObserver observer)
protectedvirtual

Helper methods.

Set myObserver to the specified observer and connect to the observerModeChanged signal

virtual void makVrf::DtChannelKeywordMapScale::connectToObserver ( const std::string &  observerName)
protectedvirtual

Look up the observer by name, cache the observer name, and call connectToObserver with the found observer.

virtual void makVrf::DtChannelKeywordMapScale::disconnectFromObserver ( )
protectedvirtual

Disconnect from the current observer's observerModeChanged signal, delete the the grid line agent if it exists, and set myObserver and myGridLineAgent to Null.

Member Data Documentation

DtMapScaleInstance* makVrf::DtChannelKeywordMapScale::myMapScaleInstance
protected
std::string makVrf::DtChannelKeywordMapScale::myObserverName
protected
makVrv::DtObserver* makVrf::DtChannelKeywordMapScale::myObserver
protected
std::string makVrf::DtChannelKeywordMapScale::myKeyword
protected
std::string makVrf::DtChannelKeywordMapScale::myDisplayName
protected
std::string makVrf::DtChannelKeywordMapScale::myWindowName
protected
std::string makVrf::DtChannelKeywordMapScale::myChannelName
protected
makVrv::DtSignalConnectionManager makVrf::DtChannelKeywordMapScale::myConnections
protected

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

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)