Public Types | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes
rosmatlab::Object< Type > Class Template Reference

#include <object.h>

List of all members.

Public Types

typedef boost::shared_ptr< Type > Ptr

Public Member Functions

Type * get ()
const Type * get () const
mxArray * handle () const
const Ptrinstance () const
 Object ()
 Object (Type *instance)
 Object (const Ptr &instance)
 Object (const Object &other)
Type & operator* ()
const Type & operator* () const
Object< Type > & operator= (const Object &other)
Object< Type > & operator= (Type *instance)
Object< Type > & operator= (const Ptr &instance)
virtual ~Object ()

Static Public Member Functions

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

Private Member Functions

template<>
const char * class_name_
template<>
const char * class_name_
void construct ()

Private Attributes

mxArray * handle_
boost::shared_ptr< Type > instance_

Static Private Attributes

static const char * class_name_

Detailed Description

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

Definition at line 52 of file object.h.


Member Typedef Documentation

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

Definition at line 55 of file object.h.


Constructor & Destructor Documentation

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

Definition at line 57 of file object.h.

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

Definition at line 58 of file object.h.

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

Definition at line 59 of file object.h.

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

Definition at line 60 of file object.h.

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

Definition at line 61 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 84 of file object.h.

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

Definition at line 40 of file publisher.cpp.

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

Definition at line 40 of file subscriber.cpp.

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

Definition at line 111 of file object.h.

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

Definition at line 66 of file object.h.

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

Definition at line 67 of file object.h.

template<class Type>
static const char* rosmatlab::Object< Type >::getClassName ( ) [inline, static]

Definition at line 104 of file object.h.

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

Definition at line 64 of file object.h.

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

Definition at line 63 of file object.h.

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

Definition at line 68 of file object.h.

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

Definition at line 69 of file object.h.

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

Definition at line 71 of file object.h.

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

Definition at line 75 of file object.h.

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

Definition at line 79 of file object.h.


Member Data Documentation

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

Definition at line 109 of file object.h.

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

Definition at line 108 of file object.h.

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

Definition at line 107 of file object.h.


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


rosmatlab
Author(s): Johannes Meyer
autogenerated on Fri Jul 25 2014 06:08:36