ubit
Public Types | Public Member Functions | Public Attributes | Friends | List of all members
ubit::UAppliImpl Class Reference

Public Types

enum  { DELETE_REQUEST = 1<<0, UPDATE_REQUEST = 1<<1, PAINT_REQUEST = 1<<2 }
 
typedef std::vector< UpdateRequestUpdateRequests
 
typedef std::vector< UObject * > DeletedObjects
 
typedef std::vector< UView * > DeletedViews
 

Public Member Functions

bool isTerminated () const
 
bool hasPendingRequest ()
 true if there is a delete, update or paint request
 
void processPendingRequests ()
 process all requests (process update then delete then paint requests).
 
void addDeleteRequest (UObject *)
 
void addDeleteRequest (UView *)
 
void processDeleteRequests ()
 
void addUpdateRequest (UBox *, const UUpdate &)
 
void removeUpdateRequests (UBox *)
 
void processUpdateRequests ()
 
bool isProcessingUpdateRequests () const
 
bool isProcessingLayoutUpdateRequests () const
 
int startModalWinLoop (UWin &)
 
void addModalWin (UWin &)
 
void removeModalWin (UWin &)
 
void setModalStatus (int)
 
void resetSources (UElem *sources, fd_set &read_set, int &maxfd)
 
void cleanSources (UElem *sources)
 
void fireSources (UElem *sources, fd_set &read_set)
 

Public Attributes

UAppliappli
 
UDispdisp
 
UStrapp_name
 
bool is_terminated
 
uptr< UErrorHandlererror_handler
 
UFramemain_frame
 
UDispList displist
 
UFlowList flowlist
 
UStyleSheet stylesheet
 
UStr imapath
 
UElemsources
 
UTimerImpl timer_impl
 
class UWinListmodalwins
 
UMessagePortMapmessmap
 
unsigned long app_motion_lag
 
unsigned long nat_motion_lag
 
int main_status
 
int modal_status
 
bool mainloop_running
 
bool subloop_running
 
int request_mask
 
bool is_processing_update_requests
 
bool is_processing_layout_update_requests
 
UpdateRequests update_list
 
DeletedObjects del_obj_list
 
DeletedViews del_view_list
 

Friends

class UAppli
 
class UDisp
 
class UView
 
class UEventFlow
 
class UTimer
 
class USource
 
class UMService
 

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