Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
InvokeSyncThrow Class Reference

#include "steam/control/handling-patterns.hpp"

Description

Handling Pattern: invoke blocking, propagating any exceptions immediately.

Todo:

is throwing here helpful, and how to integrate it into ExecResult...?

describe this pattern in more detail....

unimplemented... //////////////////////////////////////////////////////////TICKET #210

Definition at line 114 of file handling-patterns.hpp.

Private Member Functions

void performExec (CommandImpl &command) const override
 
void performUndo (CommandImpl &command) const override
 
bool isValid () const override
 

Additional Inherited Members

- Public Types inherited from HandlingPattern
enum  ID {
  SYNC ,
  SYNC_THROW ,
  ASYNC ,
  DUMMY ,
  NUM_IDS
}
 
- Static Public Member Functions inherited from HandlingPattern
static ID defaultID ()
 
static HandlingPattern constget (ID id)
 retrieve the pre-configured pattern
 
- Public Member Functions inherited from HandlingPattern
virtual ~HandlingPattern ()
 this is an interface
 
ExecResult exec (CommandImpl &command, string) const
 main functionality: invoke a command, detect errors.
 
ExecResult undo (CommandImpl &command, string) const
 likewise invoke the configured UNDO operation
 
 operator bool () const
 

Member Function Documentation

◆ performExec()

void performExec ( CommandImpl command) const
inlineoverrideprivatevirtual

Reimplemented from BasicHandlingPattern.

Definition at line 118 of file handling-patterns.hpp.

◆ performUndo()

void performUndo ( CommandImpl command) const
inlineoverrideprivatevirtual

Reimplemented from BasicHandlingPattern.

Definition at line 124 of file handling-patterns.hpp.

◆ isValid()

bool isValid ( ) const
inlineoverrideprivatevirtual

Reimplemented from BasicHandlingPattern.

Definition at line 130 of file handling-patterns.hpp.

+ Inheritance diagram for InvokeSyncThrow:
+ Collaboration diagram for InvokeSyncThrow:

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