openMSX
Public Member Functions | Friends | List of all members
openmsx::GlobalCliComm Class Reference

#include <GlobalCliComm.hh>

Inheritance diagram for openmsx::GlobalCliComm:
Inheritance graph
[legend]
Collaboration diagram for openmsx::GlobalCliComm:
Collaboration graph
[legend]

Public Member Functions

 GlobalCliComm ()
virtual ~GlobalCliComm ()
void addListener (CliListener *listener)
void removeListener (CliListener *listener)
virtual void log (LogLevel level, string_ref message)
virtual void update (UpdateType type, string_ref name, string_ref value)
- Public Member Functions inherited from openmsx::CliComm
virtual void log (LogLevel level, string_ref message)=0
virtual void update (UpdateType type, string_ref name, string_ref value)=0
void printInfo (string_ref message)
void printWarning (string_ref message)
void printError (string_ref message)
void printProgress (string_ref message)

Friends

class MSXCliComm

Additional Inherited Members

- Public Types inherited from openmsx::CliComm
enum  LogLevel {
  INFO, WARNING, LOGLEVEL_ERROR, PROGRESS,
  NUM_LEVELS
}
enum  UpdateType {
  LED, SETTING, SETTINGINFO, HARDWARE,
  PLUG, UNPLUG, MEDIA, STATUS,
  EXTENSION, SOUNDDEVICE, CONNECTOR, NUM_UPDATES
}
- Static Public Member Functions inherited from openmsx::CliComm
static array_ref< const char * > getLevelStrings ()
static array_ref< const char * > getUpdateStrings ()
- Protected Member Functions inherited from openmsx::CliComm
 CliComm ()
virtual ~CliComm ()

Detailed Description

Definition at line 15 of file GlobalCliComm.hh.

Constructor & Destructor Documentation

openmsx::GlobalCliComm::GlobalCliComm ( )

Definition at line 11 of file GlobalCliComm.cc.

openmsx::GlobalCliComm::~GlobalCliComm ( )
virtual

Definition at line 17 of file GlobalCliComm.cc.

References openmsx::Thread::isMainThread().

Member Function Documentation

void openmsx::GlobalCliComm::addListener ( CliListener listener)
void openmsx::GlobalCliComm::log ( LogLevel  level,
string_ref  message 
)
virtual

Definition at line 46 of file GlobalCliComm.cc.

References openmsx::Thread::isMainThread().

Referenced by openmsx::MSXCliComm::log().

void openmsx::GlobalCliComm::removeListener ( CliListener listener)

Definition at line 37 of file GlobalCliComm.cc.

Referenced by openmsx::TclCallbackMessages::~TclCallbackMessages().

void openmsx::GlobalCliComm::update ( UpdateType  type,
string_ref  name,
string_ref  value 
)
virtual

Friends And Related Function Documentation

friend class MSXCliComm
friend

Definition at line 39 of file GlobalCliComm.hh.


The documentation for this class was generated from the following files: