Debian Codegraph @

src/SimpleHexRequest.h

raw symbols SCIP
1 #cxx . . $ `<file>/src/SimpleHexRequest.h`/ifndef SIMPLEHEXREQUEST_H
2 #define SIMPLEHEXREQUEST_Hcxx . . $ `src/SimpleHexRequest.h:2:9`!
3
4 #include "OpenMSXConnection.h"cxx . . $ `<file>/src/OpenMSXConnection.h`/
5
6 /**
7 * A set of helper classes if code needs to read openMSX debugables into an array of unsigned chars
8 * if class A needs to read a given debugable then this schema will suffice
9 * - Class A inherits from SimpleHexRequestUser
10 * - Class A can reimplement the DataHexRequestReceived if it wants to react when new data has arrived
11 * - Class A can reimplement the DataHexRequestCanceled if it wants to react to failures of the request
12 * - to read the debuggable into the memory just create a new SimpleHexRequest, fi.
13 * new SimpleHexRequest("{VDP status regs}",0,16,statusregs, *this);
14 *
15 */
16 class SimpleHexRequestUsercxx . . $ SimpleHexRequestUser#
17 {
18 protected:
19 virtual ~cxx . . $ SimpleHexRequestUser#`~SimpleHexRequestUser`(ced63f7c635d850d).SimpleHexRequestUsercxx . . $ SimpleHexRequestUser#() = default;
20 virtual void DataHexRequestReceivedcxx . . $ SimpleHexRequestUser#DataHexRequestReceived(49f6e7a06ebc5aa8).();
21 virtual void DataHexRequestCanceledcxx . . $ SimpleHexRequestUser#DataHexRequestCanceled(49f6e7a06ebc5aa8).();
22 friend class SimpleHexRequestcxx . . $ SimpleHexRequest#;
23 };
24
25 class SimpleHexRequestcxx . . $ SimpleHexRequest# : public ReadDebugBlockCommandcxx . . $ ReadDebugBlockCommand#
26 {
27 public:
28 SimpleHexRequestcxx . . $ SimpleHexRequest#SimpleHexRequest(4f6612937cba2cbb).(const QStringcxx . . $ QString#& debuggable, unsigned size,
29 unsigned char* target, SimpleHexRequestUsercxx . . $ SimpleHexRequestUser#& user);
30 SimpleHexRequestcxx . . $ SimpleHexRequest#SimpleHexRequest(28622ed1df32911e).(const QStringcxx . . $ QString#& debuggable, unsigned offset, unsigned size,
31 unsigned char* target, SimpleHexRequestUsercxx . . $ SimpleHexRequestUser#& user);
32
33 void replyOkcxx . . $ SimpleHexRequest#replyOk(3520e46b33348bf6).(const QStringcxx . . $ QString#& message) override;
34 void cancelcxx . . $ SimpleHexRequest#cancel(49f6e7a06ebc5aa8).() override;
35
36 unsigned offsetcxx . . $ SimpleHexRequest#offset.;
37
38 private:
39 SimpleHexRequestUsercxx . . $ SimpleHexRequestUser#& usercxx . . $ SimpleHexRequest#user.;
40 };
41
42 #endif // SIMPLEHEXREQUEST_H