aboutsummaryrefslogblamecommitdiff
path: root/tools/lldb-mi/MICmnLLDBBroadcaster.h
blob: dcf196f16dc852513a754d32465680c499659863 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                                                


                    

                                
                                   
 

                                                                              
                                                         
  

                                                                                
  
                              
    



                                                                            
 








                                                                  
 



                                               
  
//===-- MICmnLLDBBroadcaster.h ----------------------------------*- C++ -*-===//
//
//                     The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//

#pragma once

// In-house headers:
#include "MICmnBase.h"
#include "MIUtilSingletonBase.h"
#include "lldb/API/SBBroadcaster.h"

//++
//============================================================================
// Details: MI derived class from LLDB SBBroadcaster API.
//
//          *** This class (files) is a place holder until we know we need it or
//          *** not
//
//          A singleton class.
//--
class CMICmnLLDBBroadcaster : public CMICmnBase,
                              public lldb::SBBroadcaster,
                              public MI::ISingleton<CMICmnLLDBBroadcaster> {
  friend MI::ISingleton<CMICmnLLDBBroadcaster>;

  // Methods:
public:
  bool Initialize() override;
  bool Shutdown() override;
  // Methods:
private:
  /* ctor */ CMICmnLLDBBroadcaster();
  /* ctor */ CMICmnLLDBBroadcaster(const CMICmnLLDBBroadcaster &);
  void operator=(const CMICmnLLDBBroadcaster &);

  // Overridden:
private:
  // From CMICmnBase
  /* dtor */ ~CMICmnLLDBBroadcaster() override;
};