SEEnvironmentAction.h
1/* Distributed under the Apache License, Version 2.0.
2 See accompanying NOTICE file for details.*/
3#pragma once
4#include "cdm/engine/SEAction.h"
5
6class CDM_DECL SEEnvironmentAction : public SEAction
7{
8 friend class PBEnvironmentAction;//friend the serialization class
9public:
10
12 virtual ~SEEnvironmentAction();
13
14 static constexpr char const* ActionType = "Environmental";
15 std::string GetActionType() const override { return ActionType; }
16
17 void Clear() override { SEAction::Clear(); }
18 bool IsValid() const override { return SEAction::IsValid(); }
19
20 void Activate() override { SEAction::Activate(); }
21 bool IsActive() const override { return SEAction::IsActive(); }
22 void Deactivate() override { SEAction::Deactivate(); }
23};
Definition: Logger.h:71
Definition: PBEnvironmentActions.h:12
Definition: SEAction.h:14
virtual void Activate()
Definition: SEAction.h:39
virtual bool IsValid() const
Definition: SEAction.h:35
virtual bool IsActive() const
Definition: SEAction.h:40
static constexpr char const * ActionType
Definition: SEAction.h:25
virtual void Clear()
Definition: SEAction.cpp:21
virtual void Deactivate()
Definition: SEAction.h:41
Definition: SEEnvironmentAction.h:7
void Clear() override
Definition: SEEnvironmentAction.h:17
std::string GetActionType() const override
Definition: SEEnvironmentAction.h:15
bool IsValid() const override
Definition: SEEnvironmentAction.h:18
void Deactivate() override
Definition: SEEnvironmentAction.h:22
bool IsActive() const override
Definition: SEEnvironmentAction.h:21
void Activate() override
Definition: SEEnvironmentAction.h:20

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.