Go to the documentation of this file.
   31     declareRemoteProperty( 
"RInt", rAlgP, 
"Int" );
 
   32     declareRemoteProperty( 
"String", rAlgP );
 
   34     warning() << 
" The 'remote' Algorithm PropertyAlg is not found" << 
endmsg;
 
   45   if ( !this->
getProperty( 
"RInt", value ) ) { warning() << 
"failed to get property RInt" << 
endmsg; }
 
   46   info() << 
" Got property this.RInt = " << value << 
";" << 
endmsg;
 
   48   info() << 
" Set property this.RInt = 1001;" << 
endmsg;
 
   49   if ( !this->
setProperty( 
"RInt", 1001 ) ) { warning() << 
"failed to set property RInt" << 
endmsg; }
 
   52   info() << 
" Got property this.RInt = " << value << 
";" << 
endmsg;
 
   53   if ( value != 
"1001" ) { error() << 
"RInt value not what expected" << 
endmsg; }
 
   57   if ( value == value1 ) {
 
   58     info() << 
" Got property this.String = " << value << 
";" << 
endmsg;
 
   60     error() << 
" Local property [" << value1 << 
"] not equal [" << value << 
"]" << 
endmsg;
 
   69   info() << 
"executing...." << 
endmsg;
 
   77   info() << 
"finalizing...." << 
endmsg;
 
  
 
StatusCode setProperty(const Gaudi::Details::PropertyBase &p)
Set the property from a property.
StatusCode initialize() override
the default (empty) implementation of IStateful::initialize() method
Alias for backward compatibility.
StatusCode getProperty(Gaudi::Details::PropertyBase *p) const override
get the property
virtual StatusCode getProperty(Gaudi::Details::PropertyBase *p) const =0
Get the property by property.
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
const StatusCode & ignore() const
Allow discarding a StatusCode without warning.
constexpr static const auto SUCCESS
StatusCode finalize() override
#define DECLARE_COMPONENT(type)
StatusCode initialize() override
Three mandatory member functions of any algorithm.
constexpr static const auto FAILURE
StatusCode execute() override