Wallaroo  0.8
Public Member Functions | List of all members
wallaroo::detail::PartShell Class Reference

#include <partshell.h>

Public Member Functions

 PartShell (const cxx0x::shared_ptr< Part > &dev)
 
void Wire (const std::string &collaboratorName, const PartShell &destination) const
 
template<class T >
void SetAttribute (const std::string &attribute, const T &value) const
 
template<class T >
 operator cxx0x::shared_ptr< T > ()
 

Constructor & Destructor Documentation

wallaroo::detail::PartShell::PartShell ( const cxx0x::shared_ptr< Part > &  dev)
inline

Member Function Documentation

template<class T >
wallaroo::detail::PartShell::operator cxx0x::shared_ptr< T > ( )
inline

Convert the contained part to the type T

Returns
the converted part.
Exceptions
WrongTypeif the contained part is not a subclass of T
template<class T >
void wallaroo::detail::PartShell::SetAttribute ( const std::string &  attribute,
const T &  value 
) const
inline
void wallaroo::detail::PartShell::Wire ( const std::string &  collaboratorName,
const PartShell destination 
) const
inline

The documentation for this class was generated from the following file: