![]() |
VR-Forces 4.0.4 Class Documentation
|
The base class for all channel keyword objects. More...

Public Member Functions | |
| virtual | ~DtChannelKeywordGridLines () |
| 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 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 DtWindowConfiguration &config) |
| Implementing objects use this method to respond to changes in window configuration other than name, which is handled above. | |
Protected Member Functions | |
| virtual void | slot_observerCreated (DtInputDriver *, 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 (DtInputDriver *, 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 (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_coordinateSystemChanged (const std::string &, const std::string &) |
| Called when the current coordinate system changes. | |
| virtual void | slot_autoSpacingSet (bool) |
| Called when the GridLinesSettingsManager signals a change to autoSpacing. | |
| virtual void | slot_fixedSpacingAmountSet (makArchives::DtDisplayUnitsSettingsRecord::DistanceUnits, double) |
| Receives notification of changes to the spacing (in meters). | |
| virtual void | slot_fixedAngularSpacingAmountSet (makArchives::DtDisplayUnitsSettingsRecord::OrientationUnits, double) |
| Receives notification of changes to the spacing (in meters). | |
| virtual void | slot_gridTypeSet (makArchives::DtDisplayUnitsSettingsRecord::CoordSys) |
| Called when the GridLinesSettingsManager signals a change to the grid type. | |
| virtual void | slot_unitTypeSet (makArchives::DtDisplayUnitsSettingsRecord::DistanceUnits) |
| Called when the GridLinesSettingsManager signals a change to the unit type. | |
| virtual void | slot_angularUnitTypeSet (makArchives::DtDisplayUnitsSettingsRecord::OrientationUnits) |
| Called when the GridLinesSettingsManager signals a change to the unit type. | |
| virtual void | slot_minSpacingSet (int) |
| Called when the GridLinesSettingsManager signals a change to the min pixel spacing. | |
| virtual void | slot_xOffsetSet (makArchives::DtDisplayUnitsSettingsRecord::DistanceUnits, double) |
| Receives notification of changes to the x offset (in meters). | |
| virtual void | slot_yOffsetSet (makArchives::DtDisplayUnitsSettingsRecord::DistanceUnits, double) |
| Receives notification of changes to the y offset (in meters). | |
| virtual void | slot_longitudeOffsetSet (makArchives::DtDisplayUnitsSettingsRecord::OrientationUnits, double) |
| Receives notification of changes to the x offset (in meters). | |
| virtual void | slot_latitudeOffsetSet (makArchives::DtDisplayUnitsSettingsRecord::OrientationUnits, double) |
| Receives notification of changes to the y offset (in meters). | |
| virtual void | slot_decimalPlacesSet (makArchives::DtDisplayUnitsSettingsRecord::DistanceUnits, unsigned) |
| Receives notification of changes to decimal places for a linear unit. | |
| virtual void | slot_angularDecimalPlacesSet (makArchives::DtDisplayUnitsSettingsRecord::OrientationUnits, unsigned) |
| Receives notification of changes to decimal places for an angular unit. | |
| virtual void | connectToObserver (DtObserver *observer) |
| virtual void | connectToObserver (const std::string &observerName) |
| virtual void | disconnectFromObserver () |
| virtual void | updateGridLinesState () |
| virtual bool | validateGridType () |
| Certain grid types can only be used with certain database coordinate system types Validate current grid type or change to a valid one. | |
| virtual bool | validateUnitType () |
| Certain unit types can only be used with certain grid types Validate current unit type or change to a valid one. | |
| DtChannelKeywordGridLines (DtDe &de, const std::string &keyword, const std::string &displayName, const std::string &windowName, const DtChannelConfiguration &channelConfig) | |
| CTOR. | |
| makArchives::DtDisplayUnitsSettingsRecord::CoordSys | defaultForCoordSys (const std::string &type) |
| bool | currentUnits (makArchives::DtDisplayUnitsSettingsRecord::DistanceUnits unit) const |
| bool | currentUnits (makArchives::DtDisplayUnitsSettingsRecord::OrientationUnits unit) const |
Protected Attributes | |
| DtChannelGridLinesAgent * | myGridLinesAgent |
| std::string | myObserverName |
| DtObserver * | myObserver |
| std::string | myKeyword |
| std::string | myDisplayName |
| std::string | myWindowName |
| std::string | myChannelName |
| DtSignalConnectionManager | myConnections |
| makArchives::DtDisplayUnitsSettingsRecord::CoordSys | myGridType |
Friends | |
| class | DtChannelKeywordGridLinesCreator |
| Only the creator can construct this object. | |
The base class for all channel keyword objects.
| virtual makVrv::DtChannelKeywordGridLines::~DtChannelKeywordGridLines | ( | ) | [virtual] |
DTOR.
| makVrv::DtChannelKeywordGridLines::DtChannelKeywordGridLines | ( | DtDe & | de, |
| const std::string & | keyword, | ||
| const std::string & | displayName, | ||
| const std::string & | windowName, | ||
| const DtChannelConfiguration & | channelConfig | ||
| ) | [protected] |
CTOR.
| virtual void makVrv::DtChannelKeywordGridLines::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 makVrv::DtChannelKeywordGridLines::channelConfigurationChanged | ( | const 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 makVrv::DtChannelKeywordGridLines::windowConfigurationChanged | ( | const DtWindowConfiguration & | config | ) | [inline, virtual] |
Implementing objects use this method to respond to changes in window configuration other than name, which is handled above.
Implements makVrv::DtChannelKeywordObject.
| virtual void makVrv::DtChannelKeywordGridLines::slot_observerCreated | ( | DtInputDriver * | , |
| DtObserver * | observer | ||
| ) | [protected, virtual] |
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 makVrv::DtChannelKeywordGridLines::slot_observerToBeDestroyed | ( | DtInputDriver * | , |
| DtObserver * | observer | ||
| ) | [protected, virtual] |
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 makVrv::DtChannelKeywordGridLines::slot_observerModeChanged | ( | DtObserver * | observer, |
| int | newMode | ||
| ) | [protected, virtual] |
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 makVrv::DtChannelKeywordGridLines::slot_observerModeSettingChanged | ( | int | mode, |
| int | setting | ||
| ) | [protected, virtual] |
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 makVrv::DtChannelKeywordGridLines::slot_coordinateSystemChanged | ( | const std::string & | , |
| const std::string & | |||
| ) | [protected, virtual] |
Called when the current coordinate system changes.
| virtual void makVrv::DtChannelKeywordGridLines::slot_autoSpacingSet | ( | bool | ) | [protected, virtual] |
Called when the GridLinesSettingsManager signals a change to autoSpacing.
| virtual void makVrv::DtChannelKeywordGridLines::slot_fixedSpacingAmountSet | ( | makArchives::DtDisplayUnitsSettingsRecord::DistanceUnits | , |
| double | |||
| ) | [protected, virtual] |
Receives notification of changes to the spacing (in meters).
| virtual void makVrv::DtChannelKeywordGridLines::slot_fixedAngularSpacingAmountSet | ( | makArchives::DtDisplayUnitsSettingsRecord::OrientationUnits | , |
| double | |||
| ) | [protected, virtual] |
Receives notification of changes to the spacing (in meters).
| virtual void makVrv::DtChannelKeywordGridLines::slot_gridTypeSet | ( | makArchives::DtDisplayUnitsSettingsRecord::CoordSys | ) | [protected, virtual] |
Called when the GridLinesSettingsManager signals a change to the grid type.
| virtual void makVrv::DtChannelKeywordGridLines::slot_unitTypeSet | ( | makArchives::DtDisplayUnitsSettingsRecord::DistanceUnits | ) | [protected, virtual] |
Called when the GridLinesSettingsManager signals a change to the unit type.
| virtual void makVrv::DtChannelKeywordGridLines::slot_angularUnitTypeSet | ( | makArchives::DtDisplayUnitsSettingsRecord::OrientationUnits | ) | [protected, virtual] |
Called when the GridLinesSettingsManager signals a change to the unit type.
| virtual void makVrv::DtChannelKeywordGridLines::slot_minSpacingSet | ( | int | ) | [protected, virtual] |
Called when the GridLinesSettingsManager signals a change to the min pixel spacing.
| virtual void makVrv::DtChannelKeywordGridLines::slot_xOffsetSet | ( | makArchives::DtDisplayUnitsSettingsRecord::DistanceUnits | , |
| double | |||
| ) | [protected, virtual] |
Receives notification of changes to the x offset (in meters).
| virtual void makVrv::DtChannelKeywordGridLines::slot_yOffsetSet | ( | makArchives::DtDisplayUnitsSettingsRecord::DistanceUnits | , |
| double | |||
| ) | [protected, virtual] |
Receives notification of changes to the y offset (in meters).
| virtual void makVrv::DtChannelKeywordGridLines::slot_longitudeOffsetSet | ( | makArchives::DtDisplayUnitsSettingsRecord::OrientationUnits | , |
| double | |||
| ) | [protected, virtual] |
Receives notification of changes to the x offset (in meters).
| virtual void makVrv::DtChannelKeywordGridLines::slot_latitudeOffsetSet | ( | makArchives::DtDisplayUnitsSettingsRecord::OrientationUnits | , |
| double | |||
| ) | [protected, virtual] |
Receives notification of changes to the y offset (in meters).
| virtual void makVrv::DtChannelKeywordGridLines::slot_decimalPlacesSet | ( | makArchives::DtDisplayUnitsSettingsRecord::DistanceUnits | , |
| unsigned | |||
| ) | [protected, virtual] |
Receives notification of changes to decimal places for a linear unit.
| virtual void makVrv::DtChannelKeywordGridLines::slot_angularDecimalPlacesSet | ( | makArchives::DtDisplayUnitsSettingsRecord::OrientationUnits | , |
| unsigned | |||
| ) | [protected, virtual] |
Receives notification of changes to decimal places for an angular unit.
| virtual void makVrv::DtChannelKeywordGridLines::connectToObserver | ( | DtObserver * | observer | ) | [protected, virtual] |
| virtual void makVrv::DtChannelKeywordGridLines::connectToObserver | ( | const std::string & | observerName | ) | [protected, virtual] |
| virtual void makVrv::DtChannelKeywordGridLines::disconnectFromObserver | ( | ) | [protected, virtual] |
| virtual void makVrv::DtChannelKeywordGridLines::updateGridLinesState | ( | ) | [protected, virtual] |
| virtual bool makVrv::DtChannelKeywordGridLines::validateGridType | ( | ) | [protected, virtual] |
Certain grid types can only be used with certain database coordinate system types Validate current grid type or change to a valid one.
Returns false if neither is possible
| virtual bool makVrv::DtChannelKeywordGridLines::validateUnitType | ( | ) | [protected, virtual] |
Certain unit types can only be used with certain grid types Validate current unit type or change to a valid one.
Returns false if neither is possible
| makArchives::DtDisplayUnitsSettingsRecord::CoordSys makVrv::DtChannelKeywordGridLines::defaultForCoordSys | ( | const std::string & | type | ) | [protected] |
| bool makVrv::DtChannelKeywordGridLines::currentUnits | ( | makArchives::DtDisplayUnitsSettingsRecord::DistanceUnits | unit | ) | const [protected] |
| bool makVrv::DtChannelKeywordGridLines::currentUnits | ( | makArchives::DtDisplayUnitsSettingsRecord::OrientationUnits | unit | ) | const [protected] |
friend class DtChannelKeywordGridLinesCreator [friend] |
Only the creator can construct this object.
DtChannelGridLinesAgent* makVrv::DtChannelKeywordGridLines::myGridLinesAgent [protected] |
std::string makVrv::DtChannelKeywordGridLines::myObserverName [protected] |
DtObserver* makVrv::DtChannelKeywordGridLines::myObserver [protected] |
std::string makVrv::DtChannelKeywordGridLines::myKeyword [protected] |
std::string makVrv::DtChannelKeywordGridLines::myDisplayName [protected] |
std::string makVrv::DtChannelKeywordGridLines::myWindowName [protected] |
std::string makVrv::DtChannelKeywordGridLines::myChannelName [protected] |
makArchives::DtDisplayUnitsSettingsRecord::CoordSys makVrv::DtChannelKeywordGridLines::myGridType [protected] |