mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-03-09 06:48:35 -05:00
Global pass over the code to remove trailing spaces
This commit is contained in:
@@ -197,7 +197,7 @@ struct EventApplicationShutdown : public Event {
|
||||
|
||||
/**
|
||||
* Creates an instance of an EventApplicationShutdown event.
|
||||
*
|
||||
*
|
||||
* \param State The next state of the application shutdown sequence; is one of
|
||||
* `Started`, `Aborted`, or `Finished`
|
||||
*/
|
||||
@@ -216,7 +216,7 @@ struct EventScreenSpaceRenderableAdded : public Event {
|
||||
* Creates an instance of an EventScreenSpaceRenderableAdded event.
|
||||
*
|
||||
* \param renderable_ The the new screenspace renderable that was added to the system
|
||||
*
|
||||
*
|
||||
* \pre renderable_ must not be nullptr
|
||||
*/
|
||||
explicit EventScreenSpaceRenderableAdded(const ScreenSpaceRenderable* renderable_);
|
||||
@@ -270,7 +270,7 @@ struct EventCameraFocusTransition : public Event {
|
||||
|
||||
/**
|
||||
* Creates an instance of an EventCameraFocusTransition event.
|
||||
*
|
||||
*
|
||||
* \param camera_ The camera object that caused the transition
|
||||
* \param node_ The name of the node the camera is transitioning relative to.
|
||||
* Currently is always the same as the camera's focus node
|
||||
@@ -298,12 +298,12 @@ struct EventTimeOfInterestReached : public Event {
|
||||
|
||||
/**
|
||||
* Creates an instance of an EventTimeOfInterestReached event.
|
||||
*
|
||||
*
|
||||
* \param time_ The time of interest that has been reached
|
||||
* \param camera_ Information about the camera for the specific transition
|
||||
*/
|
||||
EventTimeOfInterestReached(const Time* time_, const Camera* camera_);
|
||||
|
||||
|
||||
const Time* time = nullptr;
|
||||
const Camera* camera = nullptr;
|
||||
};
|
||||
@@ -332,12 +332,12 @@ struct EventPlanetEclipsed : public Event {
|
||||
*
|
||||
* \param eclipsee_ The scene graph node that is eclipsed by another object
|
||||
* \param eclipser_ The scene graph node that is eclipsing the other object
|
||||
*
|
||||
*
|
||||
* \pre eclipsee_ must not be nullptr
|
||||
* \pre eclipser_ must not be nullptr
|
||||
*/
|
||||
EventPlanetEclipsed(const SceneGraphNode* eclipsee_, const SceneGraphNode* eclipser_);
|
||||
|
||||
|
||||
const tstring eclipsee;
|
||||
const tstring eclipser;
|
||||
};
|
||||
@@ -351,7 +351,7 @@ struct EventInterpolationFinished : public Event {
|
||||
|
||||
/**
|
||||
* Creates an instance of an EventInterpolationFinished event.
|
||||
*
|
||||
*
|
||||
* \param Property The property whose interpolation has finished
|
||||
*
|
||||
* \pre property_ must not be nullptr
|
||||
@@ -370,7 +370,7 @@ struct EventFocusNodeChanged : public Event {
|
||||
|
||||
/**
|
||||
* Creates an instance of an EventFocusNodeChanged event.
|
||||
*
|
||||
*
|
||||
* \param oldNode_ The scene graph node which was the old focus node
|
||||
* \param newNode_ The scene graph node that is the new focus node
|
||||
*
|
||||
@@ -378,7 +378,7 @@ struct EventFocusNodeChanged : public Event {
|
||||
* \pre newNode_ must not be nullptr
|
||||
*/
|
||||
EventFocusNodeChanged(const SceneGraphNode* oldNode_, const SceneGraphNode* newNode_);
|
||||
|
||||
|
||||
const tstring oldNode;
|
||||
const tstring newNode;
|
||||
};
|
||||
@@ -391,18 +391,18 @@ struct EventLayerAdded : public Event {
|
||||
|
||||
/**
|
||||
* Creates an instance of an EventLayerAdded event.
|
||||
*
|
||||
*
|
||||
* \param node_ The identifier of the globe to which the layer is added
|
||||
* \param layerGroup_ The identifier of the layer group to which the layer is added
|
||||
* \param layer_ The identifier of the layer that was added
|
||||
*
|
||||
*
|
||||
* \pre node_ must not be empty
|
||||
* \pre layerGroup_ must not be empty
|
||||
* \pre layer_ must not be empty
|
||||
*/
|
||||
explicit EventLayerAdded(std::string_view node_, std::string_view layerGroup_,
|
||||
std::string_view layer_);
|
||||
|
||||
|
||||
const tstring node;
|
||||
const tstring layerGroup;
|
||||
const tstring layer;
|
||||
@@ -427,7 +427,7 @@ struct EventLayerRemoved : public Event {
|
||||
*/
|
||||
explicit EventLayerRemoved(std::string_view node_, std::string_view layerGroup_,
|
||||
std::string_view layer_);
|
||||
|
||||
|
||||
const tstring node;
|
||||
const tstring layerGroup;
|
||||
const tstring layer;
|
||||
@@ -454,7 +454,7 @@ struct EventSessionRecordingPlayback : public Event {
|
||||
* `Resumed`, `Finished`
|
||||
*/
|
||||
EventSessionRecordingPlayback(State state_);
|
||||
|
||||
|
||||
const State state;
|
||||
};
|
||||
|
||||
@@ -476,7 +476,7 @@ struct EventPointSpacecraft : public Event {
|
||||
* redirect itself to the coordinate. Default is 3 seconds
|
||||
*/
|
||||
EventPointSpacecraft(double ra_, double dec_, double duration_ = 3.0);
|
||||
|
||||
|
||||
const double ra;
|
||||
const double dec;
|
||||
const double duration;
|
||||
@@ -493,11 +493,11 @@ struct EventRenderableEnabled : public Event {
|
||||
* Creates an instance of an EventRenderableEnabled event.
|
||||
*
|
||||
* \param node_ The identifier of the node that contains the renderable
|
||||
*
|
||||
*
|
||||
* \pre node_ must not be nullptr
|
||||
*/
|
||||
explicit EventRenderableEnabled(const SceneGraphNode* node_);
|
||||
|
||||
|
||||
const tstring node;
|
||||
};
|
||||
|
||||
@@ -516,7 +516,7 @@ struct EventRenderableDisabled : public Event {
|
||||
* \pre node_ must not be nullptr
|
||||
*/
|
||||
explicit EventRenderableDisabled(const SceneGraphNode* node_);
|
||||
|
||||
|
||||
const tstring node;
|
||||
};
|
||||
|
||||
@@ -530,10 +530,10 @@ struct CustomEvent : public Event {
|
||||
|
||||
/**
|
||||
* Creates an instance of a CustomEvent event.
|
||||
*
|
||||
*
|
||||
* \param subtype_ A textual description of the custom subtype that is emitted
|
||||
* \param payload_ The payload in a string form
|
||||
*
|
||||
*
|
||||
* \pre subtype_ must not be empty
|
||||
*/
|
||||
CustomEvent(std::string_view subtype_, std::string_view payload_);
|
||||
|
||||
@@ -100,7 +100,7 @@ public:
|
||||
|
||||
/**
|
||||
* Removing registration for a specific event identified by the \p identifier.
|
||||
*
|
||||
*
|
||||
* \param identifier The unique identifier of the event that should be removed.
|
||||
*/
|
||||
void unregisterEventAction(uint32_t identifier);
|
||||
|
||||
@@ -123,8 +123,8 @@ public:
|
||||
* necessary information for this Property. #PropertyInfo::identifier needs to be
|
||||
* unique for each PropertyOwner. The #PropertyInfo::guiName will be stored in the
|
||||
* metaData to be accessed by the GUI elements using the #PropertyInfo::guiName key.
|
||||
* The default visibility settings is Visibility::Always, whereas the default read-only
|
||||
* state is \c false.
|
||||
* The default visibility settings is Visibility::Always, whereas the default
|
||||
* read-only state is \c false.
|
||||
*
|
||||
* \param info The PropertyInfo structure that contains all the required static
|
||||
* information for initializing this Property.
|
||||
|
||||
@@ -37,7 +37,7 @@ public:
|
||||
int typeLua() const override;
|
||||
|
||||
using TemplateProperty<std::string>::operator=;
|
||||
|
||||
|
||||
operator std::string_view();
|
||||
operator std::string_view() const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user