1 //===-- MICmdCmdTarget.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 //===----------------------------------------------------------------------===//
11 // File: MICmdCmdTarget.h
13 // Overview: CMICmdCmdTargetSelect interface.
15 // To implement new MI commands derive a new command class from the command base
16 // class. To enable the new command for interpretation add the new command class
17 // to the command factory. The files of relevance are:
21 // For an introduction to adding a new command see CMICmdCmdSupportInfoMiCmdQuery
22 // command class as an example.
24 // Environment: Compilers: Visual C++ 12.
25 // gcc (Ubuntu/Linaro 4.8.1-10ubuntu9) 4.8.1
26 // Libraries: See MIReadmetxt.
34 #include "MICmdBase.h"
35 #include "MICmnMIValueTuple.h"
36 #include "MICmnMIValueList.h"
38 //++ ============================================================================
39 // Details: MI command class. MI commands derived from the command base class.
40 // *this class implements MI command "target-select".
41 // http://sourceware.org/gdb/onlinedocs/gdb/GDB_002fMI-Target-Manipulation.html#GDB_002fMI-Target-Manipulation
43 // Authors: Illya Rudkin 05/03/2014.
46 class CMICmdCmdTargetSelect : public CMICmdBase
50 // Required by the CMICmdFactory when registering *this command
51 static CMICmdBase * CreateSelf( void );
55 /* ctor */ CMICmdCmdTargetSelect( void );
59 // From CMICmdInvoker::ICmd
60 virtual bool Execute( void );
61 virtual bool Acknowledge( void );
62 virtual bool ParseArgs( void );
64 /* dtor */ virtual ~CMICmdCmdTargetSelect( void );
68 const CMIUtilString m_constStrArgNamedType;
69 const CMIUtilString m_constStrArgNamedParameters;