Public Member Functions | List of all members
State2 Class Reference

#include <test.h>

Inheritance diagram for State2:
Inheritance graph
[legend]

Public Member Functions

virtual void runCode ()
 
 State2 (int id, bool initial, Interfaces *interfaces, int cycleDuration, State *parent, RunTimeGui *gui)
 
- Public Member Functions inherited from State
void addState (State *state)
 
void addTransition (Transition *transition)
 
long getCurrentTime ()
 
void init ()
 
void join ()
 
void run ()
 
void startThread ()
 
 State (int id, bool initial, int cycleDuration, State *parent, RunTimeGui *gui)
 
void stop ()
 

Additional Inherited Members

- Static Public Member Functions inherited from State
static void * threadRunner (void *)
 
- Protected Attributes inherited from State
bool active
 
StatecurrentState
 
int cycleDuration
 
bool displayGui
 
RunTimeGuigui
 
int id
 
bool initial
 
Stateparent
 
bool running
 
std::vector< State * > states
 
std::map< int, State * > statesById
 
pthread_t thread
 
std::vector< Transition * > transitions
 

Detailed Description

Definition at line 42 of file test.h.

Constructor & Destructor Documentation

State2::State2 ( int  id,
bool  initial,
Interfaces *  interfaces,
int  cycleDuration,
State parent,
RunTimeGui gui 
)
inline

Definition at line 44 of file test.h.

Member Function Documentation

void State2::runCode ( )
virtual

Reimplemented from State.

Definition at line 34 of file test.cpp.


The documentation for this class was generated from the following files:


visualstates
Author(s):
autogenerated on Thu Apr 1 2021 02:42:20