1 //===-- MICmdCmdTrace.h -----------------------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // Overview: CMICmdCmdTraceStatus interface.
12 // To implement new MI commands derive a new command class from the command base
13 // class. To enable the new command for interpretation add the new command class
14 // to the command factory. The files of relevance are:
18 // For an introduction to adding a new command see CMICmdCmdSupportInfoMiCmdQuery
19 // command class as an example.
24 #include "MICmdBase.h"
26 //++ ============================================================================
27 // Details: MI command class. MI commands derived from the command base class.
28 // *this class implements MI command "trace-status".
30 // Authors: Illya Rudkin 07/03/2014.
33 class CMICmdCmdTraceStatus : public CMICmdBase
37 // Required by the CMICmdFactory when registering *this command
38 static CMICmdBase *CreateSelf(void);
42 /* ctor */ CMICmdCmdTraceStatus(void);
46 // From CMICmdInvoker::ICmd
47 bool Execute(void) override;
48 bool Acknowledge(void) override;
50 /* dtor */ ~CMICmdCmdTraceStatus(void) override;