PrevNextUpHome SophiaFramework UNIVERSE 5.3
SFCInvoker
Base class which provides the function to receive an event.
#include <SFCInvoker.h.hpp>
class SFCInvoker : public virtual static_exception< SFCError >;
SFMTYPEDEFCLASS(SFCInvoker)

Inheritance diagram

 Inheritance diagram of SFCInvokerClass

Collaboration diagram

 Collaboration diagram of SFCInvokerClass

Description

The Invoke function of SFCApplication class or SFRResponder class is implemented by overriding the SFCInvoker::Invoke function.

Reference

SFCApplication | SFRResponder

Member

Constructor/Destructor
SFCInvoker( Void )
Constructor of the SFCInvoker class.
~SFCInvoker( Void )
Destructor of the SFCInvoker class.
Public Functions
Bool Invoke( SFXEventConstRef event )
Send an event.

SFCInvoker::SFCInvoker
Constructor of the SFCInvoker class.
[ protected, explicit ]
SFCInvoker(Void);

SFCInvoker::~SFCInvoker
Destructor of the SFCInvoker class.
[ protected, virtual ]
~SFCInvoker(Void);

SFCInvoker::Invoke
Send an event.
[ public, virtual ]
Bool Invoke(
    SFXEventConstRef event   // event
);

Return value

  • If the event is handled: true
  • Otherwise: false

Description

The SFCInvoker::Invoke function is a pure virtual function, i.e., any application class needs to override the SFCInvoker::Invoke function.

Reference

SFXEvent