FINAL CUT
Classes | Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Member Functions | Friends | List of all members
finalcut::FVTerm Class Reference
Inheritance diagram for finalcut::FVTerm:
Inheritance graph
[legend]
Collaboration diagram for finalcut::FVTerm:
Collaboration graph
[legend]

Classes

struct  FLineChanges
 
struct  FTermArea
 
struct  FVTermPreprocessing
 

Public Types

enum  CoveredState { None, Half, Full }
 
enum  TerminalUpdate { Stop, Continue, Start }
 
using FCharVector = std::vector< FChar >
 
using FPreprocessingHandler = void(FVTerm::*)()
 
using FPreprocessingFunction = std::function< void()>
 
using FPreprocVector = std::vector< std::unique_ptr< FVTermPreprocessing > >
 
using FVTermList = std::vector< FVTerm * >
 

Public Member Functions

 FVTerm (const FVTerm &)=delete
 
 FVTerm (FVTerm &&) noexcept=delete
 
template<typename FOutputType >
 FVTerm (outputClass< FOutputType >)
 
auto operator= (const FVTerm &) -> FVTerm &=delete
 
auto operator= (FVTerm &&) noexcept -> FVTerm &=delete
 
template<typename NumT , enable_if_arithmetic_without_char_t< NumT > = nullptr>
auto operator<< (const NumT &) noexcept -> FVTerm &
 
template<typename CharT , enable_if_CString_t< CharT > = nullptr>
auto operator<< (const CharT &) noexcept -> FVTerm &
 
auto operator<< (char) noexcept -> FVTerm &
 
auto operator<< (wchar_t) noexcept -> FVTerm &
 
auto operator<< (const wchar_t *) noexcept -> FVTerm &
 
auto operator<< (const UniChar &) noexcept -> FVTerm &
 
auto operator<< (const std::string &) noexcept -> FVTerm &
 
auto operator<< (const std::wstring &) noexcept -> FVTerm &
 
auto operator<< (const FString &) noexcept -> FVTerm &
 
auto operator<< (FVTermBuffer &) noexcept -> FVTerm &
 
auto operator<< (const FVTermBuffer &) noexcept -> FVTerm &
 
auto operator<< (const FChar &) noexcept -> FVTerm &
 
auto operator<< (const FCharVector &) noexcept -> FVTerm &
 
auto operator<< (const FPoint &) noexcept -> FVTerm &
 
auto operator<< (const FStyle &) noexcept -> FVTerm &
 
auto operator<< (const FColorPair &) noexcept -> FVTerm &
 
auto getClassName () const -> FString override
 
auto getVWin () noexcept -> FTermArea *
 
auto getVWin () const noexcept -> const FTermArea *
 
auto getPrintCursor () -> FPoint
 
void setTerminalUpdates (TerminalUpdate) const
 
void setCursor (const FPoint &) noexcept
 
void setVWin (std::unique_ptr< FTermArea > &&) noexcept
 
virtual void clearArea (wchar_t=L' ')
 
void createVDesktop (const FSize &size) noexcept
 
void createVTerm (const FSize &) noexcept
 
void resizeVTerm (const FSize &) const noexcept
 
void putVTerm () const
 
auto updateTerminal () const -> bool
 
virtual void addPreprocessingHandler (const FVTerm *, FPreprocessingFunction &&)
 
virtual void delPreprocessingHandler (const FVTerm *)
 
auto interpretControlCodes (FTermArea *, const FChar &) const noexcept -> bool
 
template<typename... Args>
auto printf (const FString &, Args &&...) noexcept -> int
 
auto print (const FString &) noexcept -> int
 
auto print (FTermArea *, const FString &) noexcept -> int
 
auto print (const std::vector< FChar > &) noexcept -> int
 
auto print (FTermArea *, const std::vector< FChar > &) noexcept -> int
 
auto print (FVTermBuffer &) noexcept -> int
 
auto print (const FVTermBuffer &) noexcept -> int
 
auto print (FTermArea *, FVTermBuffer &) const noexcept -> int
 
auto print (FTermArea *, const FVTermBuffer &) const noexcept -> int
 
auto print (wchar_t) noexcept -> int
 
auto print (FTermArea *, wchar_t) noexcept -> int
 
auto print (const FChar &) noexcept -> int
 
auto print (FTermArea *, const FChar &) const noexcept -> int
 
virtual void print (const FPoint &)
 
auto print () &-> FVTerm &
 
void flush () const
 
template<typename... Args>
auto printf (const FString &format, Args &&... args) noexcept -> int
 
- Public Member Functions inherited from finalcut::FVTermAttribute
 FVTermAttribute (const FVTermAttribute &)=delete
 
 FVTermAttribute (FVTermAttribute &&) noexcept=delete
 
auto operator= (const FVTermAttribute &) -> FVTermAttribute &=delete
 
auto operator= (FVTermAttribute &&) noexcept -> FVTermAttribute &=delete
 

Static Public Member Functions

static auto getFOutput () -> std::shared_ptr< FOutput >
 
static auto getWindowList () -> FVTermList *
 
static void setNonBlockingRead (bool=true)
 
static void unsetNonBlockingRead ()
 
static auto isDrawingFinished () noexcept -> bool
 
static auto isTerminalUpdateForced () noexcept -> bool
 
static auto areTerminalUpdatesPaused () noexcept -> bool
 
static auto hasPendingTerminalUpdates () noexcept -> bool
 
static void reduceTerminalLineUpdates (uInt)
 
- Static Public Member Functions inherited from finalcut::FVTermAttribute
static auto getTermForegroundColor () -> FColor
 
static auto getTermBackgroundColor () -> FColor
 
static auto getAttribute () -> FChar &
 
static void setColor (FColor, FColor)
 
static void setNormal ()
 
static void setBold (bool=true)
 
static void unsetBold ()
 
static void setDim (bool=true)
 
static void unsetDim ()
 
static void setItalic (bool=true)
 
static void unsetItalic ()
 
static void setUnderline (bool=true)
 
static void unsetUnderline ()
 
static void setBlink (bool=true)
 
static void unsetBlink ()
 
static void setReverse (bool=true)
 
static void unsetReverse ()
 
static void setStandout (bool=true)
 
static void unsetStandout ()
 
static void setInvisible (bool=true)
 
static void unsetInvisible ()
 
static void setProtected (bool=true)
 
static void unsetProtected ()
 
static void setCrossedOut (bool=true)
 
static void unsetCrossedOut ()
 
static void setDoubleUnderline (bool=true)
 
static void unsetDoubleUnderline ()
 
static void setAltCharset (bool=true)
 
static void unsetAltCharset ()
 
static void setPCcharset (bool=true)
 
static void unsetPCcharset ()
 
static void setTransparent (bool=true)
 
static void unsetTransparent ()
 
static void setColorOverlay (bool=true)
 
static void unsetColorOverlay ()
 
static void setInheritBackground (bool=true)
 
static void unsetInheritBackground ()
 
static auto isBold () -> bool
 
static auto isDim () -> bool
 
static auto isItalic () -> bool
 
static auto isUnderline () -> bool
 
static auto isBlink () -> bool
 
static auto isReverse () -> bool
 
static auto isStandout () -> bool
 
static auto isInvisible () -> bool
 
static auto isProtected () -> bool
 
static auto isCrossedOut () -> bool
 
static auto isDoubleUnderline () -> bool
 
static auto isAltCharset () -> bool
 
static auto isPCcharset () -> bool
 
static auto isTransparent () -> bool
 
static auto isColorOverlay () -> bool
 
static auto isInheritBackground () -> bool
 
static void initAttribute ()
 
static void print (const FStyle &)
 
static void print (const FColorPair &)
 

Protected Member Functions

virtual auto getPrintArea () -> FTermArea *
 
auto getChildPrintArea () const -> FTermArea *
 
auto getCurrentPrintArea () const -> FTermArea *
 
auto getVirtualDesktop () const -> FTermArea *
 
auto getVirtualTerminal () const -> FTermArea *
 
void setPrintArea (FTermArea *)
 
void setChildPrintArea (FTermArea *)
 
void setActiveArea (FTermArea *) const
 
auto isActive (const FTermArea *) const -> bool
 
auto hasPrintArea () const -> bool
 
auto hasChildPrintArea () const -> bool
 
auto isVirtualWindow () const -> bool
 
auto isCursorHideable () const -> bool
 
auto createArea (const FRect &, const FSize &) -> std::unique_ptr< FTermArea >
 
auto createArea (const FRect &) -> std::unique_ptr< FTermArea >
 
void resizeArea (const FRect &, const FSize &, FTermArea *) const
 
void resizeArea (const FRect &, FTermArea *) const
 
void restoreVTerm (const FRect &) const noexcept
 
auto updateVTermCursor (const FTermArea *) const noexcept -> bool
 
void hideVTermCursor () const
 
void setAreaCursor (const FPoint &, bool, FTermArea *) const noexcept
 
void getArea (const FPoint &, FTermArea *) const noexcept
 
void getArea (const FRect &, FTermArea *) const noexcept
 
void addLayer (FTermArea *) const noexcept
 
void putArea (const FPoint &, const FTermArea *) const noexcept
 
void copyArea (FTermArea *, const FPoint &, const FTermArea *const) const noexcept
 
void scrollAreaForward (FTermArea *)
 
void scrollAreaReverse (FTermArea *)
 
void clearArea (FTermArea *, wchar_t=L' ') noexcept
 
void forceTerminalUpdate () const
 
auto processTerminalUpdate () const -> bool
 
virtual void initTerminal ()
 

Static Protected Member Functions

static auto getLayer (FVTerm &) noexcept -> int
 
static void determineWindowLayers () noexcept
 
static void startDrawing () noexcept
 
static void finishDrawing () noexcept
 

Friends

void setPrintArea (FWidget &, FTermArea *)
 

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