FastUIDraw
Public Member Functions | Protected Member Functions | Friends | List of all members
fastuidraw::PainterDraw::DelayedAction Class Referenceabstract

A delayed action is an action that is to be called just before the buffers of a PainterDraw are to be unmapped. Typically, this is used to write values using information that is ready after the original values are written by Painter. A fixed DelayedAction object may only be added to one PainterDraw object, but a single PainterDraw can have many DelayedAction objects added to it. More...

#include <painter_draw.hpp>

Inheritance diagram for fastuidraw::PainterDraw::DelayedAction:
Inheritance graph
[legend]

Public Member Functions

 DelayedAction (void)
 
void perform_action (void)
 
- Public Member Functions inherited from fastuidraw::reference_counted_base< T, Counter >
 reference_counted_base (void)
 

Protected Member Functions

virtual void action (const reference_counted_ptr< const PainterDraw > &h)=0
 

Friends

class PainterDraw
 

Additional Inherited Members

- Static Public Member Functions inherited from fastuidraw::reference_counted_base< T, Counter >
static void add_reference (const reference_counted_base< T, Counter > *p)
 
static void remove_reference (const reference_counted_base< T, Counter > *p)
 

Detailed Description

A delayed action is an action that is to be called just before the buffers of a PainterDraw are to be unmapped. Typically, this is used to write values using information that is ready after the original values are written by Painter. A fixed DelayedAction object may only be added to one PainterDraw object, but a single PainterDraw can have many DelayedAction objects added to it.

Definition at line 64 of file painter_draw.hpp.

Constructor & Destructor Documentation

◆ DelayedAction()

fastuidraw::PainterDraw::DelayedAction::DelayedAction ( void  )

Ctor.

Member Function Documentation

◆ action()

virtual void fastuidraw::PainterDraw::DelayedAction::action ( const reference_counted_ptr< const PainterDraw > &  h)
protectedpure virtual

To be implemented by a derived class to execute its delayed action.

Parameters
hhandle to PainterDraw on which the action has been placed

◆ perform_action()

void fastuidraw::PainterDraw::DelayedAction::perform_action ( void  )

Perform the action of this DelayedAction object and remove it from the list of delayed actions of the PainterDraw.


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