$search

rosmatlab::Object< Type > Class Template Reference

#include <object.h>

List of all members.

Public Types

typedef boost::shared_ptr< TypePtr

Public Member Functions

template<>
const char * class_name_
template<>
const char * class_name_
const Typeget () const
Typeget ()
mxArray * handle () const
const Ptrinstance () const
 Object (const Object &other)
 Object (const Ptr &instance)
 Object (Type *instance)
 Object ()
const Typeoperator* () const
Typeoperator* ()
Object< Type > & operator= (const Ptr &instance)
Object< Type > & operator= (Type *instance)
Object< Type > & operator= (const Object &other)
virtual ~Object ()

Static Public Member Functions

static Object< Type > * byHandle (const mxArray *handle)

Private Member Functions

void construct ()

Private Attributes

mxArray * handle_
boost::shared_ptr< Typeinstance_

Static Private Attributes

static const char * class_name_

Detailed Description

template<class Type>
class rosmatlab::Object< Type >

Definition at line 47 of file object.h.


Member Typedef Documentation

template<class Type>
typedef boost::shared_ptr<Type> rosmatlab::Object< Type >::Ptr

Definition at line 50 of file object.h.


Constructor & Destructor Documentation

template<class Type>
rosmatlab::Object< Type >::Object (  )  [inline]

Definition at line 52 of file object.h.

template<class Type>
rosmatlab::Object< Type >::Object ( Type instance  )  [inline]

Definition at line 53 of file object.h.

template<class Type>
rosmatlab::Object< Type >::Object ( const Ptr instance  )  [inline]

Definition at line 54 of file object.h.

template<class Type>
rosmatlab::Object< Type >::Object ( const Object< Type > &  other  )  [inline]

Definition at line 55 of file object.h.

template<class Type>
virtual rosmatlab::Object< Type >::~Object (  )  [inline, virtual]

Definition at line 56 of file object.h.


Member Function Documentation

template<class Type>
static Object<Type>* rosmatlab::Object< Type >::byHandle ( const mxArray *  handle  )  [inline, static]

Definition at line 79 of file object.h.

template<>
const char * rosmatlab::Object< Subscriber >::class_name_ (  )  [inline]

Definition at line 38 of file subscriber.cpp.

template<>
const char * rosmatlab::Object< Publisher >::class_name_ (  )  [inline]

Definition at line 40 of file publisher.cpp.

template<class Type>
void rosmatlab::Object< Type >::construct (  )  [inline, private]

Definition at line 101 of file object.h.

template<class Type>
const Type* rosmatlab::Object< Type >::get (  )  const [inline]

Definition at line 62 of file object.h.

template<class Type>
Type* rosmatlab::Object< Type >::get (  )  [inline]

Definition at line 61 of file object.h.

template<class Type>
mxArray* rosmatlab::Object< Type >::handle (  )  const [inline]

Definition at line 59 of file object.h.

template<class Type>
const Ptr& rosmatlab::Object< Type >::instance (  )  const [inline]

Definition at line 58 of file object.h.

template<class Type>
const Type& rosmatlab::Object< Type >::operator* (  )  const [inline]

Definition at line 64 of file object.h.

template<class Type>
Type& rosmatlab::Object< Type >::operator* (  )  [inline]

Definition at line 63 of file object.h.

template<class Type>
Object<Type>& rosmatlab::Object< Type >::operator= ( const Ptr instance  )  [inline]

Definition at line 74 of file object.h.

template<class Type>
Object<Type>& rosmatlab::Object< Type >::operator= ( Type instance  )  [inline]

Definition at line 70 of file object.h.

template<class Type>
Object<Type>& rosmatlab::Object< Type >::operator= ( const Object< Type > &  other  )  [inline]

Definition at line 66 of file object.h.


Member Data Documentation

template<class Type>
const char* rosmatlab::Object< Type >::class_name_ [static, private]

Definition at line 99 of file object.h.

template<class Type>
mxArray* rosmatlab::Object< Type >::handle_ [private]

Definition at line 98 of file object.h.

template<class Type>
boost::shared_ptr<Type> rosmatlab::Object< Type >::instance_ [private]

Definition at line 97 of file object.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends


rosmatlab
Author(s): Johannes Meyer
autogenerated on Mon Dec 17 14:48:18 2012