commore  1.0.6-SNAPSHOT
All Classes Namespaces Functions Variables Typedefs Enumerations Pages
ActionGroup.h
1 #ifndef CMR_ACTIONGROUP_H_INCLUDED
2 #define CMR_ACTIONGROUP_H_INCLUDED
3 
4 #include "commore/Action.h"
5 #include "commore/List.h"
6 
7 namespace commore
8 {
12  class CMREXD ActionGroup
13  {
14  private :
15  commore::List<PAction> actions_;
16 
17  public :
23  void add(PAction action);
24 
28  const commore::List<PAction>& getActions() const;
29 
36  void stop(Processor& processor, bool wait = true);
37  void abort(Processor& processor, bool wait = true);
38 
47  int wait(Processor& processor, const int timeout_ms = 0);
48 
52  void reset();
53 
57  void clear();
58  };
59 }
60 #endif //CMR_ACTIONGROUP_H_INCLUDED
Definition: List.h:23
Definition: ActionGroup.h:12
AutoRef is a smart pointer on RefObject objects. AutoRef is templatized with the type of the pointed ...
Definition: AutoRef.h:86
Definition: Processor.h:16