OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
otoolkit::APIInterface Class Referenceabstract

#include "OToolkitAPI.h"

Inheritance diagram for otoolkit::APIInterface:
AppBase

Public Types

enum  InterfaceLogType { Information , Warning , Error }
 

Public Member Functions

virtual void log (const QString &_sender, InterfaceLogType _type, const QString &_message)=0
 
virtual bool addTool (Tool *_tool)=0
 
virtual void updateStatusString (const QString &_statusText)=0
 
virtual void updateStatusStringAsError (const QString &_statusText)=0
 
virtual void registerToolActivityNotifier (otoolkit::ToolActivityNotifier *_notifier)=0
 
virtual void removeToolActivityNotifier (otoolkit::ToolActivityNotifier *_notifier)=0
 
virtual SettingsRef createSettingsInstance (void)=0
 
virtual const QWidget * rootWidget (void) const =0
 

Protected Member Functions

 APIInterface ()
 
virtual ~APIInterface ()
 

Member Enumeration Documentation

◆ InterfaceLogType

Enumerator
Information 
Warning 
Error 

Constructor & Destructor Documentation

◆ APIInterface()

otoolkit::APIInterface::APIInterface ( )
protected

◆ ~APIInterface()

otoolkit::APIInterface::~APIInterface ( )
protectedvirtual

Member Function Documentation

◆ addTool()

virtual bool otoolkit::APIInterface::addTool ( Tool * _tool)
pure virtual

Implemented in AppBase.

◆ createSettingsInstance()

virtual SettingsRef otoolkit::APIInterface::createSettingsInstance ( void )
pure virtual

Implemented in AppBase.

◆ log()

virtual void otoolkit::APIInterface::log ( const QString & _sender,
InterfaceLogType _type,
const QString & _message )
pure virtual

Implemented in AppBase.

◆ registerToolActivityNotifier()

virtual void otoolkit::APIInterface::registerToolActivityNotifier ( otoolkit::ToolActivityNotifier * _notifier)
pure virtual

Implemented in AppBase.

◆ removeToolActivityNotifier()

virtual void otoolkit::APIInterface::removeToolActivityNotifier ( otoolkit::ToolActivityNotifier * _notifier)
pure virtual

Implemented in AppBase.

◆ rootWidget()

virtual const QWidget * otoolkit::APIInterface::rootWidget ( void ) const
pure virtual

Implemented in AppBase.

◆ updateStatusString()

virtual void otoolkit::APIInterface::updateStatusString ( const QString & _statusText)
pure virtual

Implemented in AppBase.

◆ updateStatusStringAsError()

virtual void otoolkit::APIInterface::updateStatusStringAsError ( const QString & _statusText)
pure virtual

Implemented in AppBase.


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