drizzle
C++ MySQL-protocol-compatible database server
Loading...
Searching...
No Matches
drizzled::plugin::ErrorMessage Class Referenceabstract
Inheritance diagram for drizzled::plugin::ErrorMessage:
[legend]
Collaboration diagram for drizzled::plugin::ErrorMessage:
[legend]

Public Member Functions

 ErrorMessage (std::string name_arg)
virtual bool errmsg (error::priority_t priority, const char *format, va_list ap)=0
bool removeLast () const
Public Member Functions inherited from drizzled::plugin::Plugin
 Plugin (const std::string &name, const std::string &type_name)
virtual void shutdownPlugin ()
virtual void prime ()
virtual void startup (drizzled::Session &)
void activate ()
void deactivate ()
bool isActive () const
const std::string & getName () const
void setModule (module::Module *module)
const std::string & getTypeName () const
const std::string & getModuleName () const

Static Public Member Functions

static bool addPlugin (plugin::ErrorMessage &handler)
static void removePlugin (plugin::ErrorMessage &handler)
static bool vprintf (error::priority_t priority, char const *format, va_list ap)

Additional Inherited Members

Public Types inherited from drizzled::plugin::Plugin
typedef std::pair< const std::string, const std::string > map_key
typedef std::unique_ptr< plugin::Plugin, deleter_fn > owned_ptr
typedef std::map< const map_key, owned_ptr > map
typedef std::vector< Plugin * > vector

Detailed Description

Definition at line 39 of file error_message.h.

Constructor & Destructor Documentation

◆ ErrorMessage()

drizzled::plugin::ErrorMessage::ErrorMessage ( std::string name_arg)
inlineexplicit

Definition at line 42 of file error_message.h.

Member Function Documentation

◆ addPlugin()

bool drizzled::plugin::ErrorMessage::addPlugin ( plugin::ErrorMessage & handler)
static

Definition at line 35 of file error_message.cc.

◆ removeLast()

bool drizzled::plugin::ErrorMessage::removeLast ( ) const
inlinevirtual

Reimplemented from drizzled::plugin::Plugin.

Definition at line 53 of file error_message.h.

◆ removePlugin()

void drizzled::plugin::ErrorMessage::removePlugin ( plugin::ErrorMessage & handler)
static

Definition at line 41 of file error_message.cc.

◆ vprintf()

bool drizzled::plugin::ErrorMessage::vprintf ( error::priority_t priority,
char const * format,
va_list ap )
static

Definition at line 87 of file error_message.cc.


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