Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Related Pages

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::IOName & getIOName () const
 get the IOName

ArchivingCommandoperator= (const ArchivingCommand &copyme)
 copy

virtual void setName (boost::shared_ptr< Sct::IOName > name)
 setName


Protected Attributes

boost::shared_ptr< Sct::IOName > m_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 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 getObject().


The documentation for this class was generated from the following file:
Generated on Thu Jul 15 09:52:07 2004 for SCT DAQ/DCS Software - C++ by doxygen 1.3.5