OperationQueue.h
Go to the documentation of this file.
1 // this is for emacs file handling -*- mode: c++; indent-tabs-mode: nil -*-
2 
3 // -- BEGIN LICENSE BLOCK ----------------------------------------------
4 // This file is part of FZIs ic_workspace.
5 //
6 // This program is free software licensed under the LGPL
7 // (GNU LESSER GENERAL PUBLIC LICENSE Version 3).
8 // You can find a copy of this license in LICENSE folder in the top
9 // directory of the source code.
10 //
11 // © Copyright 2016 FZI Forschungszentrum Informatik, Karlsruhe, Germany
12 //
13 // -- END LICENSE BLOCK ------------------------------------------------
14 
15 //----------------------------------------------------------------------
22 //----------------------------------------------------------------------
23 #ifndef ICL_CORE_DISPATCH_OPERATION_QUEUE_H_INCLUDED
24 #define ICL_CORE_DISPATCH_OPERATION_QUEUE_H_INCLUDED
25 
26 #include <boost/noncopyable.hpp>
27 #include <boost/shared_ptr.hpp>
28 
29 #include "icl_core/List.h"
30 
31 namespace icl_core {
32 namespace thread {
33 
34 class Operation;
35 typedef boost::shared_ptr<Operation> OperationPtr;
36 
40 class OperationQueue : boost::noncopyable
41 {
42 public:
47  OperationQueue(bool retain = false);
48 
50  void addOperation(OperationPtr op);
51 
52 private:
54 };
55 
56 }
57 }
58 
59 #endif
60 
icl_core::List< OperationPtr > m_operations
void addOperation(OperationPtr op)
Add the operation op to the queue.
OperationQueue(bool retain=false)
boost::shared_ptr< Operation > OperationPtr


fzi_icl_core
Author(s):
autogenerated on Mon Jun 10 2019 13:17:58