SMACC2
Loading...
Searching...
No Matches
smacc2
src
smacc2
smacc_event_generator.cpp
Go to the documentation of this file.
1
// Copyright 2021 RobosoftAI Inc.
2
//
3
// Licensed under the Apache License, Version 2.0 (the "License");
4
// you may not use this file except in compliance with the License.
5
// You may obtain a copy of the License at
6
//
7
// http://www.apache.org/licenses/LICENSE-2.0
8
//
9
// Unless required by applicable law or agreed to in writing, software
10
// distributed under the License is distributed on an "AS IS" BASIS,
11
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
// See the License for the specific language governing permissions and
13
// limitations under the License.
14
15
/*****************************************************************************************************************
16
*
17
* Authors: Pablo Inigo Blasco, Brett Aldrich
18
*
19
******************************************************************************************************************/
20
21
#include <
smacc2/smacc_event_generator.hpp
>
22
23
namespace
smacc2
24
{
25
SmaccEventGenerator::SmaccEventGenerator
() {}
26
27
SmaccEventGenerator::~SmaccEventGenerator
() {}
28
29
void
SmaccEventGenerator::onEntry
() {}
30
31
void
SmaccEventGenerator::onExit
() {}
32
33
void
SmaccEventGenerator::initialize
(
smacc2::ISmaccState
* ownerState)
34
{
35
this->
ownerState_
= ownerState;
36
this->
onInitialized
();
37
}
38
39
void
SmaccEventGenerator::onInitialized
() {}
40
41
}
// namespace smacc2
smacc2::ISmaccState
Definition:
smacc_state.hpp:26
smacc2::SmaccEventGenerator::~SmaccEventGenerator
virtual ~SmaccEventGenerator()
Definition:
smacc_event_generator.cpp:27
smacc2::SmaccEventGenerator::onExit
virtual void onExit()
Definition:
smacc_event_generator.cpp:31
smacc2::SmaccEventGenerator::onInitialized
virtual void onInitialized()
Definition:
smacc_event_generator.cpp:39
smacc2::SmaccEventGenerator::ownerState_
ISmaccState * ownerState_
Definition:
smacc_event_generator.hpp:58
smacc2::SmaccEventGenerator::SmaccEventGenerator
SmaccEventGenerator()
Definition:
smacc_event_generator.cpp:25
smacc2::SmaccEventGenerator::onEntry
virtual void onEntry()
Definition:
smacc_event_generator.cpp:29
smacc2::SmaccEventGenerator::initialize
void initialize(ISmaccState *ownerState)
Definition:
smacc_event_generator.cpp:33
smacc2
Definition:
callback_counter_semaphore.hpp:30
smacc_event_generator.hpp
Generated by
1.9.5