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

sst/core/introspectAction.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_INTROSPECTACTION_H
00014 #define SST_INTROSPECTACTION_H
00015 
00016 
00017 #include <sst/core/debug.h>
00018 #include <sst/core/action.h>
00019 #include <sst/core/event.h>
00020 
00021 namespace SST {
00022 
00023 class IntrospectAction : public Action {
00024 public:
00025     IntrospectAction(Event::HandlerBase* handler) : Action(),
00026         m_handler( handler ) 
00027     {
00028         setPriority(30);
00029     }
00030     virtual ~IntrospectAction(){}
00031 
00032     void execute(void);
00033 
00034     
00035 private:
00036     IntrospectAction() { } // for serialization only
00037     Event::HandlerBase* m_handler;
00038 
00039     friend class boost::serialization::access;
00040     template<class Archive>
00041     void
00042     serialize(Archive & ar, const unsigned int version );
00043     
00044 };
00045 
00046 }
00047 
00048 BOOST_CLASS_EXPORT_KEY(SST::IntrospectAction)
00049 
00050 #endif // SST_INTROSPECTACTION_H

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