Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
@@ -0,0 +1,52 @@
|
||||
/**
|
||||
* @RDE_HEADER@
|
||||
* Interface of AbstractEffectSimulation
|
||||
* $Id$
|
||||
* $HeadURL$
|
||||
* $Author$
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "abstract_map_object.h"
|
||||
#include "line_style.h"
|
||||
#include "fill_style.h"
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
namespace SituationMap
|
||||
{
|
||||
|
||||
/**
|
||||
* @brief The AesEffectState enum define the different states a EffectSimulation can have.
|
||||
*/
|
||||
enum class AesEffectState
|
||||
{
|
||||
Unknown = 0, ///< EffectSimulation is unknown.
|
||||
Error = -1, ///< EffectSimulation has an error.
|
||||
Expired = 1, ///< EffectSimulation has finished.
|
||||
Removed = 2, ///< EffectSimulation is deleted.
|
||||
Created = 4, ///< EffectSimulation is created.
|
||||
Prepared = 5, ///< EffectSimulation is created, but activation time is in future.
|
||||
Activated = 6, ///< EffectSimulation is created, and activation time is aimed.
|
||||
Paused = 7 ///< A triggered EffectSimulation is paused.
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @brief The AbstractEffectSimulation class contains some specific parameters.
|
||||
* Inherenting of this class ease the adding of this functionality.
|
||||
*/
|
||||
class SITUATIONMAP_EXPORT AbstractEffectSimulation
|
||||
{
|
||||
public:
|
||||
virtual ~AbstractEffectSimulation() = default;
|
||||
|
||||
virtual AesEffectState aesState() const = 0;
|
||||
virtual void setAesState(AesEffectState aesState) = 0;
|
||||
|
||||
};
|
||||
|
||||
|
||||
} // namespace SituationMap
|
||||
Reference in new issue
Block a user