rllib
1
Main Page
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
lib
rlstate.h
Go to the documentation of this file.
1
/***************************************************************************
2
rlstate.h - description
3
-------------------
4
begin : Sat Dec 29 2012
5
copyright : (C) 2012 by R. Lehrig
6
email : lehrig@t-online.de
7
***************************************************************************/
8
9
/***************************************************************************
10
* *
11
* This library is free software; you can redistribute it and/or modify *
12
* it under the terms of the GNU LESSER GENERAL PUBLIC LICENSE as *
13
* published by the Free Software Foundation *
14
* *
15
***************************************************************************/
16
#ifndef _RL_STATE_H
17
#define _RL_STATE_H
18
19
#include <stdio.h>
20
#include <stdlib.h>
21
#include <string.h>
22
#include <ctype.h>
23
#include "
rlthread.h
"
24
61
93
166
171
225
228
256
class
rlState
257
{
258
public
:
259
rlState
();
260
~rlState
();
261
int
startSteps
(
int
cycletime
);
262
int
runSteps
(
int
cycletime);
263
void
gotoState
(
void
(*funcPtr)(
rlState
*sm));
264
void
*
user
;
265
int
stepCounter
;
266
int
cycletime
;
267
static
const
long
MAX_STEP
= 1000*1000*1000;
268
void (*
nextStep
)(
rlState
*sm);
269
void (*
lastState
)(
rlState
*sm);
270
rlThread
thread
;
271
};
272
273
#endif
274
Generated by
1.8.2