Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
ErrorObserver Class Reference

#include <error_observer.hpp>

Inheritance diagram for ErrorObserver:
Inheritance graph
[legend]

Public Member Functions

void Clear ()
 Clear all members of the object. More...
 
 ErrorObserver ()
 
virtual void Execute (vtkObject *vtkNotUsed(caller), unsigned long event, void *calldata)
 
bool GetError () const
 Call this function to know either or not an error has occurred. More...
 
std::string GetErrorMessage () const
 Call this function to get the error message if there is any. More...
 
bool GetWarning () const
 Call this function to know either or not a warning has occurred. More...
 
std::string GetWarningMessage () const
 Call this function to get the warning message if there is any. More...
 

Static Public Member Functions

static ErrorObserverNew ()
 

Private Attributes

bool Error
 
std::string ErrorMessage
 
bool Warning
 
std::string WarningMessage
 

Detailed Description

Definition at line 8 of file error_observer.hpp.

Constructor & Destructor Documentation

ErrorObserver::ErrorObserver ( )
inline

Definition at line 11 of file error_observer.hpp.

Member Function Documentation

void ErrorObserver::Clear ( )
inline

Clear all members of the object.

Definition at line 42 of file error_observer.hpp.

virtual void ErrorObserver::Execute ( vtkObject *  vtkNotUsedcaller,
unsigned long  event,
void *  calldata 
)
inlinevirtual

Definition at line 50 of file error_observer.hpp.

bool ErrorObserver::GetError ( ) const
inline

Call this function to know either or not an error has occurred.

Returns
true if there is any error false otherwise

Definition at line 29 of file error_observer.hpp.

std::string ErrorObserver::GetErrorMessage ( ) const
inline

Call this function to get the error message if there is any.

Returns
a string containing the error message

Definition at line 69 of file error_observer.hpp.

bool ErrorObserver::GetWarning ( ) const
inline

Call this function to know either or not a warning has occurred.

Returns
true if there is any warning false otherwise

Definition at line 36 of file error_observer.hpp.

std::string ErrorObserver::GetWarningMessage ( ) const
inline

Call this function to get the warning message if there is any.

Returns
a string containing the warning message

Definition at line 76 of file error_observer.hpp.

static ErrorObserver* ErrorObserver::New ( )
inlinestatic

Returns a new instance on a ErrorObserver

Definition at line 22 of file error_observer.hpp.

Member Data Documentation

bool ErrorObserver::Error
private

Definition at line 82 of file error_observer.hpp.

std::string ErrorObserver::ErrorMessage
private

Definition at line 84 of file error_observer.hpp.

bool ErrorObserver::Warning
private

Definition at line 83 of file error_observer.hpp.

std::string ErrorObserver::WarningMessage
private

Definition at line 85 of file error_observer.hpp.


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


ram_path_planning
Author(s): Andres Campos - Institut Maupertuis
autogenerated on Mon Jun 10 2019 14:50:03