Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
Actor Framework
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cpp-libs
Actor Framework
Commits
a50abd75
Commit
a50abd75
authored
Nov 05, 2012
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
categorized examples
parent
36491961
Changes
15
Show whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
28 additions
and
28 deletions
+28
-28
cppa.files
cppa.files
+13
-13
examples/CMakeLists.txt
examples/CMakeLists.txt
+15
-15
examples/event_based_api/dining_philosophers.cpp
examples/event_based_api/dining_philosophers.cpp
+0
-0
examples/hello_world.cpp
examples/hello_world.cpp
+0
-0
examples/message_passing/dancing_kirby.cpp
examples/message_passing/dancing_kirby.cpp
+0
-0
examples/message_passing/math_actor.cpp
examples/message_passing/math_actor.cpp
+0
-0
examples/remote_actors/distributed_math_actor.cpp
examples/remote_actors/distributed_math_actor.cpp
+0
-0
examples/remote_actors/group_chat.cpp
examples/remote_actors/group_chat.cpp
+0
-0
examples/remote_actors/group_server.cpp
examples/remote_actors/group_server.cpp
+0
-0
examples/remote_actors/type_plugins.hpp
examples/remote_actors/type_plugins.hpp
+0
-0
examples/type_system/announce_1.cpp
examples/type_system/announce_1.cpp
+0
-0
examples/type_system/announce_2.cpp
examples/type_system/announce_2.cpp
+0
-0
examples/type_system/announce_3.cpp
examples/type_system/announce_3.cpp
+0
-0
examples/type_system/announce_4.cpp
examples/type_system/announce_4.cpp
+0
-0
examples/type_system/announce_5.cpp
examples/type_system/announce_5.cpp
+0
-0
No files found.
cppa.files
View file @
a50abd75
...
@@ -177,19 +177,19 @@ cppa/util/wrapped.hpp
...
@@ -177,19 +177,19 @@ cppa/util/wrapped.hpp
cppa/weak_intrusive_ptr.hpp
cppa/weak_intrusive_ptr.hpp
cppa/weak_ptr_anchor.hpp
cppa/weak_ptr_anchor.hpp
cppa/wildcard_position.hpp
cppa/wildcard_position.hpp
examples/
announce_example_1
.cpp
examples/
event_based_api/dining_philosophers
.cpp
examples/
announce_example_2
.cpp
examples/
hello_world
.cpp
examples/
announce_example_3
.cpp
examples/
message_passing/dancing_kirby
.cpp
examples/
announce_example_4
.cpp
examples/
message_passing/math_actor
.cpp
examples/
announce_example_5
.cpp
examples/
remote_actors/distributed_math_actor
.cpp
examples/
dancing_kirby
.cpp
examples/
remote_actors/group_chat
.cpp
examples/
dining_philosophers
.cpp
examples/
remote_actors/group_server
.cpp
examples/
distributed_math_actor_example.c
pp
examples/
remote_actors/type_plugins.h
pp
examples/
group_chat
.cpp
examples/
type_system/announce_1
.cpp
examples/
group_server
.cpp
examples/
type_system/announce_2
.cpp
examples/
hello_world_example
.cpp
examples/
type_system/announce_3
.cpp
examples/
math_actor_example
.cpp
examples/
type_system/announce_4
.cpp
examples/type_
plugins.h
pp
examples/type_
system/announce_5.c
pp
src/abstract_tuple.cpp
src/abstract_tuple.cpp
src/actor.cpp
src/actor.cpp
src/actor_addressing.cpp
src/actor_addressing.cpp
...
...
examples/CMakeLists.txt
View file @
a50abd75
cmake_minimum_required
(
VERSION 2.6
)
cmake_minimum_required
(
VERSION 2.6
)
project
(
cppa
_example
s CXX
)
project
(
cppas CXX
)
add_custom_target
(
all_examples
)
add_custom_target
(
all_examples
)
macro
(
add
_example name
)
macro
(
add
name folder
)
add_executable
(
${
name
}
${
name
}
.cpp
${
ARGN
}
)
add_executable
(
${
name
}
${
folder
}
/
${
name
}
.cpp
${
ARGN
}
)
target_link_libraries
(
${
name
}
${
CMAKE_DL_LIBS
}
${
CPPA_LIBRARY
}
${
PTHREAD_LIBRARIES
}
)
target_link_libraries
(
${
name
}
${
CMAKE_DL_LIBS
}
${
CPPA_LIBRARY
}
${
PTHREAD_LIBRARIES
}
)
add_dependencies
(
${
name
}
all_examples
)
add_dependencies
(
${
name
}
all_examples
)
endmacro
()
endmacro
()
add
_example
(
announce_example_1
)
add
(
announce_1 type_system
)
add
_example
(
announce_example_2
)
add
(
announce_2 type_system
)
add
_example
(
announce_example_3
)
add
(
announce_3 type_system
)
add
_example
(
announce_example_4
)
add
(
announce_4 type_system
)
add
_example
(
announce_example_5
)
add
(
announce_5 type_system
)
add
_example
(
dancing_kirby
)
add
(
dancing_kirby message_passing
)
add
_example
(
dining_philosophers
)
add
(
dining_philosophers event_based_api
)
add
_example
(
hello_world_example
)
add
(
hello_world .
)
add
_example
(
math_actor_example
)
add
(
math_actor message_passing
)
add
_example
(
distributed_math_actor_example
)
add
(
distributed_math_actor remote_actors
)
add
_example
(
group_server
)
add
(
group_server remote_actors
)
add
_example
(
group_chat
)
add
(
group_chat remote_actors
)
examples/dining_philosophers.cpp
→
examples/
event_based_api/
dining_philosophers.cpp
View file @
a50abd75
File moved
examples/hello_world
_example
.cpp
→
examples/hello_world.cpp
View file @
a50abd75
File moved
examples/dancing_kirby.cpp
→
examples/
message_passing/
dancing_kirby.cpp
View file @
a50abd75
File moved
examples/m
ath_actor_example
.cpp
→
examples/m
essage_passing/math_actor
.cpp
View file @
a50abd75
File moved
examples/
distributed_math_actor_example
.cpp
→
examples/
remote_actors/distributed_math_actor
.cpp
View file @
a50abd75
File moved
examples/group_chat.cpp
→
examples/
remote_actors/
group_chat.cpp
View file @
a50abd75
File moved
examples/group_server.cpp
→
examples/
remote_actors/
group_server.cpp
View file @
a50abd75
File moved
examples/type_plugins.hpp
→
examples/
remote_actors/
type_plugins.hpp
View file @
a50abd75
File moved
examples/
announce_exampl
e_1.cpp
→
examples/
type_system/announc
e_1.cpp
View file @
a50abd75
File moved
examples/
announce_exampl
e_2.cpp
→
examples/
type_system/announc
e_2.cpp
View file @
a50abd75
File moved
examples/
announce_exampl
e_3.cpp
→
examples/
type_system/announc
e_3.cpp
View file @
a50abd75
File moved
examples/
announce_exampl
e_4.cpp
→
examples/
type_system/announc
e_4.cpp
View file @
a50abd75
File moved
examples/
announce_exampl
e_5.cpp
→
examples/
type_system/announc
e_5.cpp
View file @
a50abd75
File moved
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment