Woman, Life, Freedom
Adaptive AUTOSAR
ARA public interface header documentation
main_state.h
1
#ifndef MAIN_STATE_H
2
#define MAIN_STATE_H
3
4
#include "./timer_set_state.h"
5
6
namespace
ara
7
{
8
namespace
com
9
{
10
namespace
someip
11
{
12
namespace
sd
13
{
14
namespace
fsm
15
{
18
class
MainState
:
public
TimerSetState
<helper::SdServerState>
19
{
20
private
:
21
const
std::chrono::milliseconds mCyclicOfferDelay;
22
23
protected
:
24
void
SetTimer
()
override
;
25
26
public
:
30
MainState
(
31
std::function<
void
()> onTimerExpired,
32
int
cyclicOfferDelay);
33
34
MainState
() =
delete
;
35
MainState
(
const
MainState
&) =
delete
;
36
MainState
&operator=(
const
MainState
&) =
delete
;
37
};
38
}
39
}
40
}
41
}
42
}
43
44
#endif
ara::com::someip::sd::fsm::MainState
Server's main state.
Definition:
main_state.h:19
ara::com::someip::sd::fsm::MainState::SetTimer
void SetTimer() override
Set the phase time on state activation.
Definition:
main_state.cpp:30
ara::com::someip::sd::fsm::TimerSetState
Server's or client's service timer set state.
Definition:
timer_set_state.h:24
src
ara
com
someip
sd
fsm
main_state.h
Generated by
1.9.2