Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword
Like this
0Activity
0 of .
Results for:
No results containing your search query
P. 1
Embedded Tutorial

Embedded Tutorial

Ratings: (0)|Views: 1|Likes:
Published by Abdul Hasib Shikder

More info:

Published by: Abdul Hasib Shikder on Dec 23, 2010
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

12/23/2010

pdf

text

original

 
 
Poseidon for UMLEmbedded Edition
 
ANSI C TUTORIAL
 
 
Poseidon for UML Embedded Edition –Tutorial 2 - 33
Contact:
method park Software AGWetterkreuz 19a91058 ErlangenGermanyphone:+49-9131-97206-0fax:+49-9131-97206-200e-mail:info@methodpark.de
 
 
Poseidon for UML Embedded Edition –Tutorial 3 - 33l
 
Contents
1
 
INTRODUCTION..................................................................................................4
 
2
 
GUI.......................................................................................................................5
 
2.1
 
C/C++ P
ROPERTIES
P
ANEL
........................................................................................5
 
2.2
 
C/C++ C
ODE
P
REVIEW
P
ANEL
...................................................................................6
 
2.3
 
G
ENERAL
S
ETTINGS FOR
G
ENERATION
.......................................................................6
 
3
 
EXAMPLE PROJECT..........................................................................................7
 
3.1
 
I
MPLEMENTATION OF
C
LASSES
...................................................................................8
 
3.2
 
C
LASS
D
ISPLAY
.........................................................................................................8
 
3.3
 
C
LASS
H
I
F
I
...............................................................................................................9
 
4
 
GENERATION...................................................................................................11
 
4.1
 
S
TRUCTURE OF THE
G
ENERATED
F
ILES
....................................................................13
 
4.1.1
 
Forward Declaration File.................................................................................13
 
4.1.2
 
Declaration File...............................................................................................14
 
4.1.3
 
Implementation...............................................................................................17
 
4.2
 
U
SING THE
C
LASS
H
I
F
I
............................................................................................18
 
4.3
 
U
SE OF
P
OLYMORPHISM
..........................................................................................19
 
5
 
GENERATING CODE FOR STATE MACHINES...............................................22
 
5.1
 
H
OW TO
U
SE A
S
TATE
M
ACHINE
...............................................................................23
 
5.2
 
I
MPLEMENTATION OF THE
C
LASS
T
UNER
...................................................................23
 
6
 
EXTENDING THE EXAMPLE............................................................................28
 
7
 
OPTIMIZATIONS...............................................................................................30
 
7.1
 
O
PTIMIZATIONS OF CLASSES
.....................................................................................30
 

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->