# j_manager.h

Go to the documentation of this file.

    00001 ///
    00002 /// \file       j_manager.h
    00003 ///             Application management classes
    00004 ///
    00005
    00006 /*
    00007     Copyright (C) 2009, Nicolas VIVIEN
    00008
    00009     This program is free software; you can redistribute it and/or modify
    00010     it under the terms of the GNU General Public License as published by
    00011     the Free Software Foundation; either version 2 of the License, or
    00012     (at your option) any later version.
    00013
    00014     This program is distributed in the hope that it will be useful,
    00015     but WITHOUT ANY WARRANTY; without even the implied warranty of
    00016     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    00017
    00018     See the GNU General Public License in the COPYING file at the
    00019     root directory of this project for more details.
    00020 */
    00021
    00022 #ifndef __BARRYJDWP_MANAGER_H__
    00023 #define __BARRYJDWP_MANAGER_H__
    00024
    00025 #include "dll.h"
    00026 #include "dp_codinfo.h"
    00027 #include <stdint.h>
    00028 #include <string>
    00029 #include <map>
    00030
    00031 namespace Barry { namespace JDWP {
    00032
    00033 class BXEXPORT JDWAppInfo
    00034 {
    00035 private:
    00036 protected:
    00037
    00038 public:
    00039         uint32_t uniqueId;
    00040         std::string appName;
    00041
    00042         Barry::JDG::ClassList classList;
    00043
    00044         void Load(Barry::JDG::CodInfo &info);
    00045 };
    00046
    00047
    00048 class BXEXPORT JDWAppList : public std::map<uint32_t, JDWAppInfo>
    00049 {
    00050 public:
    00051         typedef std::map<uint32_t, JDWAppInfo>          base_type;
    00052         typedef base_type::iterator                     iterator;
    00053         typedef base_type::const_iterator               const_iterator;
    00054 };
    00055
    00056
    00057 }} // namespace Barry::JDWP
    00058
    00059
    00060 #endif
    00061