2014-05-16 18:51:01 +08:00
|
|
|
//===-- MICmnLLDBBroadcaster.h ----------------------------------*- C++ -*-===//
|
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
//++
|
2014-11-18 02:06:21 +08:00
|
|
|
// File: MICmnLLDBBroadcaster.h
|
2014-05-16 18:51:01 +08:00
|
|
|
//
|
2014-11-18 02:06:21 +08:00
|
|
|
// Overview: CMICmnLLDBBroadcaster interface.
|
2014-05-16 18:51:01 +08:00
|
|
|
//
|
2014-11-18 02:06:21 +08:00
|
|
|
// Environment: Compilers: Visual C++ 12.
|
|
|
|
// gcc (Ubuntu/Linaro 4.8.1-10ubuntu9) 4.8.1
|
|
|
|
// Libraries: See MIReadmetxt.
|
2014-05-16 18:51:01 +08:00
|
|
|
//
|
2014-11-18 02:06:21 +08:00
|
|
|
// Copyright: None.
|
2014-05-16 18:51:01 +08:00
|
|
|
//--
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
// In-house headers:
|
|
|
|
#include <lldb/API/SBBroadcaster.h>
|
|
|
|
#include "MICmnBase.h"
|
|
|
|
#include "MIUtilSingletonBase.h"
|
|
|
|
|
|
|
|
//++ ============================================================================
|
2014-11-18 02:06:21 +08:00
|
|
|
// Details: MI derived class from LLDB SBBroardcaster API.
|
2014-05-16 18:51:01 +08:00
|
|
|
//
|
2014-11-18 02:06:21 +08:00
|
|
|
// *** This class (files) is a place holder until we know we need it or
|
|
|
|
// *** not
|
2014-05-16 18:51:01 +08:00
|
|
|
//
|
2014-11-18 02:06:21 +08:00
|
|
|
// A singleton class.
|
|
|
|
// Gotchas: None.
|
|
|
|
// Authors: Illya Rudkin 28/02/2014.
|
|
|
|
// Changes: None.
|
2014-05-16 18:51:01 +08:00
|
|
|
//--
|
2014-11-18 02:06:21 +08:00
|
|
|
class CMICmnLLDBBroadcaster : public CMICmnBase, public lldb::SBBroadcaster, public MI::ISingleton<CMICmnLLDBBroadcaster>
|
2014-05-16 18:51:01 +08:00
|
|
|
{
|
2014-11-18 02:06:21 +08:00
|
|
|
friend MI::ISingleton<CMICmnLLDBBroadcaster>;
|
2014-05-16 18:51:01 +08:00
|
|
|
|
2014-11-18 02:06:21 +08:00
|
|
|
// Methods:
|
|
|
|
public:
|
|
|
|
bool Initialize(void);
|
|
|
|
bool Shutdown(void);
|
|
|
|
// Methods:
|
|
|
|
private:
|
|
|
|
/* ctor */ CMICmnLLDBBroadcaster(void);
|
|
|
|
/* ctor */ CMICmnLLDBBroadcaster(const CMICmnLLDBBroadcaster &);
|
|
|
|
void operator=(const CMICmnLLDBBroadcaster &);
|
2014-05-16 18:51:01 +08:00
|
|
|
|
2014-11-18 02:06:21 +08:00
|
|
|
// Overridden:
|
|
|
|
private:
|
|
|
|
// From CMICmnBase
|
|
|
|
/* dtor */ virtual ~CMICmnLLDBBroadcaster(void);
|
2014-05-16 18:51:01 +08:00
|
|
|
};
|