SMACC
Loading...
Searching...
No Matches
smacc
include
smacc
impl
smacc_event_generator_impl.h
Go to the documentation of this file.
1
/*****************************************************************************************************************
2
* ReelRobotix Inc. - Software License Agreement Copyright (c) 2018
3
* Authors: Pablo Inigo Blasco, Brett Aldrich
4
*
5
******************************************************************************************************************/
6
7
#pragma once
8
#include <
smacc/smacc_event_generator.h
>
9
#include <
smacc/introspection/introspection.h
>
10
11
namespace
smacc
12
{
13
template
<
typename
EventType>
14
void
SmaccEventGenerator::postEvent
(
const
EventType &ev)
15
{
16
ownerState_
->
postEvent
(ev);
17
}
18
19
template
<
typename
EventType>
20
void
SmaccEventGenerator::postEvent
()
21
{
22
ownerState_
->
postEvent
<EventType>();
23
}
24
25
template
<
typename
TState,
typename
TSource>
26
void
SmaccEventGenerator::onStateAllocation
()
27
{
28
}
29
}
// namespace smacc
smacc::ISmaccState::postEvent
void postEvent(const EventType &ev)
Definition:
smacc_state_impl.h:206
smacc::SmaccEventGenerator::postEvent
void postEvent()
Definition:
smacc_event_generator_impl.h:20
smacc::SmaccEventGenerator::ownerState_
ISmaccState * ownerState_
Definition:
smacc_event_generator.h:44
smacc::SmaccEventGenerator::onStateAllocation
void onStateAllocation()
Definition:
smacc_event_generator_impl.h:26
introspection.h
smacc
Definition:
callback_counter_semaphore.h:17
smacc_event_generator.h
Generated by
1.9.5