LibreOffice Module slideshow (master) 1
Public Types | Public Member Functions | Private Attributes | List of all members
slideshow::internal::BaseNode::StateTransition Class Reference

state transition handling More...

Collaboration diagram for slideshow::internal::BaseNode::StateTransition:
[legend]

Public Types

enum class  Options {
  NONE ,
  FORCE
}
 

Public Member Functions

 StateTransition (BaseNode *pNode)
 
 ~StateTransition ()
 
 StateTransition (const StateTransition &)=delete
 
StateTransitionoperator= (const StateTransition &)=delete
 
bool enter (NodeState eToState, Options options=Options::NONE)
 
void commit ()
 
void clear ()
 

Private Attributes

BaseNode *const mpNode
 
NodeState meToState
 

Detailed Description

state transition handling

Definition at line 262 of file basenode.cxx.

Member Enumeration Documentation

◆ Options

Enumerator
NONE 
FORCE 

Definition at line 265 of file basenode.cxx.

Constructor & Destructor Documentation

◆ StateTransition() [1/2]

slideshow::internal::BaseNode::StateTransition::StateTransition ( BaseNode pNode)
inlineexplicit

Definition at line 267 of file basenode.cxx.

◆ ~StateTransition()

slideshow::internal::BaseNode::StateTransition::~StateTransition ( )
inline

Definition at line 270 of file basenode.cxx.

References clear().

◆ StateTransition() [2/2]

slideshow::internal::BaseNode::StateTransition::StateTransition ( const StateTransition )
delete

Member Function Documentation

◆ clear()

void slideshow::internal::BaseNode::StateTransition::clear ( )
inline

◆ commit()

void slideshow::internal::BaseNode::StateTransition::commit ( )
inline

◆ enter()

bool slideshow::internal::BaseNode::StateTransition::enter ( NodeState  eToState,
Options  options = Options::NONE 
)
inline

◆ operator=()

StateTransition & slideshow::internal::BaseNode::StateTransition::operator= ( const StateTransition )
delete

Member Data Documentation

◆ meToState

NodeState slideshow::internal::BaseNode::StateTransition::meToState
private

Definition at line 313 of file basenode.cxx.

Referenced by clear(), commit(), and enter().

◆ mpNode

BaseNode* const slideshow::internal::BaseNode::StateTransition::mpNode
private

Definition at line 312 of file basenode.cxx.

Referenced by clear(), commit(), and enter().


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