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

Public Types

enum  State : uInt8 { Inactive, Active, Suspended }
 

Public Member Functions

 Monitor (EventLoop *)
 
 Monitor (const Monitor &)=delete
 
 Monitor (Monitor &&) noexcept=delete
 
auto operator= (const Monitor &) -> Monitor &=delete
 
auto operator= (Monitor &&) noexcept -> Monitor &=delete
 
virtual auto getClassName () const -> FString
 
auto getEvents () const noexcept -> short
 
auto getFileDescriptor () const noexcept -> int
 
template<typename T >
auto getUserContext () const -> clean_fdata_t< T > &
 
auto isActive () const noexcept -> bool
 
auto isSuspended () const noexcept -> bool
 
auto hasValidFileDescriptor () const noexcept -> bool
 
auto hasHandler () const noexcept -> bool
 
virtual void resume () noexcept
 
virtual void suspend () noexcept
 
virtual void deactivate () noexcept
 

Protected Member Functions

void setFileDescriptor (int) noexcept
 
void setEvents (short) noexcept
 
void setHandler (handler_t &&) noexcept
 
void setHandler (const handler_t &handler)
 
template<typename T >
void setUserContext (T &&) noexcept
 
void clearUserContext () noexcept
 
void setInitialized () noexcept
 
auto isInitialized () const -> bool
 
virtual void trigger (short)
 

Static Protected Attributes

static constexpr int NO_FILE_DESCRIPTOR {-1}
 

Friends

class EventLoop
 

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