00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #ifndef COH_RUNNABLE_HPP
00017 #define COH_RUNNABLE_HPP
00018
00019 #include "coherence/lang/compatibility.hpp"
00020
00021 #include "coherence/lang/interface_spec.hpp"
00022 #include "coherence/lang/TypedHandle.hpp"
00023
00024 COH_OPEN_NAMESPACE2(coherence,lang)
00025
00026
00027
00028
00029
00030
00031
00032
00033 class COH_EXPORT Runnable
00034 : public interface_spec<Runnable>
00035 {
00036
00037
00038 public:
00039
00040
00041
00042 virtual void run() = 0;
00043 };
00044
00045 COH_CLOSE_NAMESPACE2
00046
00047 #endif // COH_RUNNABLE_HPP
Copyright (c) 2000, 2009, Oracle and/or its affiliates. All rights reserved.