Gaudi Framework, version v23r2

Home   Generated: Thu Jun 28 2012
Public Member Functions

CommandProperty Class Reference

Command property base class (abstract). More...

#include <GaudiKernel/CommandProperty.h>

Inheritance diagram for CommandProperty:
Inheritance graph
[legend]
Collaboration diagram for CommandProperty:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 CommandProperty ()
 Constructors and destructors.
 CommandProperty (const std::string &name)
 CommandProperty (const std::string &name, const std::string &value)
virtual ~CommandProperty ()
virtual bool set (const std::string &value)
 Set value method.
virtual void handler (const std::string &value)=0
 User call back function.

Detailed Description

Command property base class (abstract).

The CommandProperty is a subclass of StringProperty that has a callback when the value is changed. Not very useful until we have a scripting language

Author:
David Quarrie

Definition at line 16 of file CommandProperty.h.


Constructor & Destructor Documentation

CommandProperty::CommandProperty (  )

Constructors and destructors.

Definition at line 5 of file CommandProperty.cpp.

: StringProperty( ) {
}
CommandProperty::CommandProperty ( const std::string name )

Definition at line 9 of file CommandProperty.cpp.

CommandProperty::CommandProperty ( const std::string name,
const std::string value 
)

Definition at line 13 of file CommandProperty.cpp.

CommandProperty::~CommandProperty (  ) [virtual]

Definition at line 18 of file CommandProperty.cpp.

                                  {
}

Member Function Documentation

virtual void CommandProperty::handler ( const std::string value ) [pure virtual]

User call back function.

bool CommandProperty::set ( const std::string value ) [virtual]

Set value method.

Definition at line 21 of file CommandProperty.cpp.

{
  bool result = StringProperty::set( value );
  handler( value );
  return result;
}

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines

Generated at Thu Jun 28 2012 23:27:35 for Gaudi Framework, version v23r2 by Doxygen version 1.7.2 written by Dimitri van Heesch, © 1997-2004