SctArchiving::GetCommand Class Reference

Command which retrieves an object from somewhere! After execute() getObject() should return the object. More...

#include <GetCommand.h>

Inheritance diagram for SctArchiving::GetCommand:

Inheritance graph
[legend]
Collaboration diagram for SctArchiving::GetCommand:

Collaboration graph
[legend]

Public Member Functions

 GetCommand (boost::shared_ptr< Sct::IOName > name)
 constructor with name of object to get
 ~GetCommand ()
 destructor
virtual shared_ptr< Sct::SerializablegetObject () const
 valid after execute()
const Sct::IONamegetIOName () const
 get the IOName
ArchivingCommandoperator= (const ArchivingCommand &copyme)
 copy
virtual void setName (boost::shared_ptr< Sct::IOName > name)
 setName

Protected Member Functions

 GetCommand ()

Protected Attributes

boost::shared_ptr< Sct::IONamem_name
 cache of name to execute
boost::shared_ptr< Sct::Serializablem_ob
 zero until after execute()

Detailed Description

Command which retrieves an object from somewhere! After execute() getObject() should return the object.

Definition at line 12 of file GetCommand.h.


Constructor & Destructor Documentation

SctArchiving::GetCommand::GetCommand boost::shared_ptr< Sct::IOName name  )  [inline]
 

constructor with name of object to get

Definition at line 32 of file GetCommand.h.

SctArchiving::GetCommand::~GetCommand  )  [inline]
 

destructor

Definition at line 17 of file GetCommand.h.


Member Function Documentation

const Sct::IOName & SctArchiving::GetCommand::getIOName  )  const [inline]
 

get the IOName

Definition at line 40 of file GetCommand.h.

References m_name.

boost::shared_ptr< Sct::Serializable > SctArchiving::GetCommand::getObject  )  const [inline, virtual]
 

valid after execute()

Definition at line 36 of file GetCommand.h.

References m_ob.

ArchivingCommand& SctArchiving::GetCommand::operator= const ArchivingCommand copyme  ) 
 

copy

void SctArchiving::GetCommand::setName boost::shared_ptr< Sct::IOName name  )  [inline, virtual]
 

setName

Definition at line 45 of file GetCommand.h.

References m_name.


Field Documentation

boost::shared_ptr<Sct::IOName> SctArchiving::GetCommand::m_name [protected]
 

cache of name to execute

Definition at line 27 of file GetCommand.h.

Referenced by SctArchiving::IsGetCommand::execute(), SctArchiving::ArchiveGetCommand::execute(), getIOName(), and setName().

boost::shared_ptr<Sct::Serializable> SctArchiving::GetCommand::m_ob [protected]
 

zero until after execute()

Definition at line 28 of file GetCommand.h.

Referenced by SctArchiving::IsGetCommand::execute(), SctArchiving::ArchiveGetCommand::execute(), and getObject().


The documentation for this class was generated from the following file:
Generated on Mon Feb 6 14:05:14 2006 for SCT DAQ/DCS Software - C++ by  doxygen 1.4.6