33 #ifndef WALLAROO_DETAIL_PARTSHELL_H_
34 #define WALLAROO_DETAIL_PARTSHELL_H_
55 PartShell(
const cxx0x::shared_ptr< Part >& dev ) : part( dev )
62 void Wire(
const std::string& collaboratorName,
const PartShell& destination )
const
64 part ->
Wire( collaboratorName, destination.part );
68 void SetAttribute(
const std::string& attribute,
const T& value )
const
78 operator cxx0x::shared_ptr< T >()
80 cxx0x::shared_ptr< T > result = cxx0x::dynamic_pointer_cast< T >( part );
86 cxx0x::shared_ptr< Part > part;
Definition: partshell.h:51
void SetAttribute(const std::string &attribute, const T &value) const
Definition: partshell.h:68
Definition: attribute.h:45
Definition: exceptions.h:110
PartShell(const cxx0x::shared_ptr< Part > &dev)
Definition: partshell.h:55
void Wire(const std::string &collaboratorName, const PartShell &destination) const
Definition: partshell.h:62