Go to the documentation of this file.
52 #ifndef __PCL_Console_h
53 #define __PCL_Console_h
57 #ifndef __PCL_BUILDING_PIXINSIGHT_APPLICATION
377 : m_handle( x.m_handle )
378 , m_thread( x.m_thread )
380 x.m_handle = x.m_thread =
nullptr;
396 m_handle = x.m_handle;
397 m_thread = x.m_thread;
398 x.m_handle = x.m_thread =
nullptr;
411 void Write(
const String& s );
420 void WriteLn(
const String& s );
439 Write(
"\x1b[32m" + s +
"\x1b[39m" );
450 WriteLn(
"\x1b[32m" + s +
"\x1b[39m" );
462 Write(
"\x1b[35m" + s +
"\x1b[39m" );
473 WriteLn(
"\x1b[35m" + s +
"\x1b[39m" );
485 Write(
"\x1b[31m" + s +
"\x1b[39m" );
496 WriteLn(
"\x1b[31m" + s +
"\x1b[39m" );
529 bool Suspended()
const;
534 bool Waiting()
const;
539 bool AbortEnabled()
const;
545 bool AbortRequested()
const;
601 bool IsValid()
const;
607 bool IsCurrentThreadConsole()
const;
631 bool Show(
bool show =
true );
646 return Show( !hide );
666 void ExecuteCommand(
const String& command );
751 void* m_handle =
nullptr;
755 void* m_thread =
nullptr;
769 template <
typename T>
824 #endif // __PCL_BUILDING_PIXINSIGHT_APPLICATION
826 #endif // __PCL_Console_h
void CriticalLn(const String &s)
void Critical(const String &s)
High-level interface to a PixInsight view object.
void Warning(const String &s)
void Write(const String &s)
void Note(const String &s)
Array< T, A > & operator<<(Array< T, A > &x, const V &v)
Console & operator>>(Console &o, char &c)
A high-level interface to a PixInsight processing console.
void NoteLn(const String &s)
bool Hide(bool hide=true)
void WarningLn(const String &s)