Vaca::Command Class Reference

#include <Command.h>

Inheritance diagram for Vaca::Command:

Vaca::NonCopyable Vaca::SignalCommand

List of all members.

Detailed Description

A command, action or function of the application.

See also:

Public Member Functions

 Command (CommandId id)
virtual ~Command ()
CommandId getId () const
virtual void execute ()=0
virtual bool isEnabled ()
virtual bool isChecked ()
virtual bool isVisible ()

Private Attributes

CommandId m_id

Constructor & Destructor Documentation

Command::Command ( CommandId  id  ) 

Command::~Command (  )  [virtual]

Member Function Documentation

CommandId Vaca::Command::getId (  )  const [inline]

virtual void Vaca::Command::execute (  )  [pure virtual]

Implemented in Vaca::SignalCommand.

virtual bool Vaca::Command::isEnabled (  )  [inline, virtual]

Reimplemented in Vaca::SignalCommand.

virtual bool Vaca::Command::isChecked (  )  [inline, virtual]

virtual bool Vaca::Command::isVisible (  )  [inline, virtual]

Member Data Documentation