1
0
mirror of synced 2026-05-02 06:15:40 +00:00

Inial population of repository.

This commit is contained in:
Andras Tantos
2020-09-09 15:11:45 -07:00
parent 2989973ef5
commit 95b2381d05
1323 changed files with 875486 additions and 15 deletions

39
simulator/sim_lib/ui.h Normal file
View File

@@ -0,0 +1,39 @@
#ifndef __UI_H__
#define __UI_H__
#include <stdint.h>
#include <boost/algorithm/string/predicate.hpp>
#include <boost/property_tree/ptree.hpp>
#include <boost/property_tree/info_parser.hpp>
#include <boost/function.hpp>
#include "cray_types.h"
#include "exceptions.h"
#include "utils.h"
#include "commands.h"
// Abstract interface to implement I/O channels
enum class PeripheralType_e {
Disk,
Tape,
Network,
Console,
Expander,
Bmx,
Printer,
Other
};
extern const char *PeripheralTypeNames[];
typedef boost::property_tree::ptree StatusReport_c;
/*
struct UIHook_s {
boost::function<void()> Callback;
int TriggerKey;
};
*/
typedef std::vector<std::unique_ptr<CmdFactoryBase_i>> CommandHooks_t;
#endif // __UI_H__