• Main Page
  • Related Pages
  • Modules
  • Data Structures
  • Files
  • File List
  • Globals

sst/core/activityQueue.h

00001 // Copyright 2009-2010 Sandia Corporation. Under the terms
00002 // of Contract DE-AC04-94AL85000 with Sandia Corporation, the U.S.
00003 // Government retains certain rights in this software.
00004 // 
00005 // Copyright (c) 2009-2010, Sandia Corporation
00006 // All rights reserved.
00007 // 
00008 // This file is part of the SST software package. For license
00009 // information, see the LICENSE file in the top level directory of the
00010 // distribution.
00011 
00012 
00013 #ifndef SST_ACTIVITYQUEUE_H
00014 #define SST_ACTIVITYQUEUE_H
00015 
00016 #include <sst/core/activity.h>
00017 
00018 namespace SST {
00019 
00020 class ActivityQueue {
00021 public:
00022     ActivityQueue() {}
00023     virtual ~ActivityQueue() {}
00024 
00025     virtual bool empty() = 0;
00026     virtual int size() = 0;
00027     virtual Activity* pop() = 0;
00028     virtual void insert(Activity* activity) = 0;
00029     virtual Activity* front() = 0;
00030     
00031 private:
00032     
00033     friend class boost::serialization::access;
00034     template<class Archive>
00035     void
00036     serialize(Archive & ar, const unsigned int version )
00037     {
00038     }
00039 };
00040 
00041 }
00042 
00043 BOOST_CLASS_EXPORT_KEY(SST::ActivityQueue)
00044 
00045 #endif // SST_ACTIVITYQUEUE_H

Generated on Fri Oct 22 2010 11:02:13 for SST by  doxygen 1.7.1