uLib-0.2
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
uLib::Object Class Reference

Object class is the object base implementation for uLib Framework. More...

#include <Core/Object.h>

Inheritance diagram for uLib::Object:
uLib::ObjectPropable uLib::DetectorsScene uLib::Material uLib::Polydata uLib::Solid uLib::Vtk::Puppet uLib::TessellatedSolid uLib::Vtk::vtkContainerBox uLib::Vtk::vtkMuonScatter uLib::Vtk::vtkStructuredGrid uLib::Vtk::vtkVoxImage uLib::Vtk::vtkVoxRaytracerRepresentation

Public Member Functions

 Object ()
 
 Object (const Object &copy)
 
 ~Object ()
 
virtual void DeepCopy (const Object &copy)
 
template<class ArchiveT >
void serialize (ArchiveT &ar, const unsigned int version)
 
template<class ArchiveT >
void save_override (ArchiveT &ar, const unsigned int version)
 
void SaveConfig (std::ostream &os, int version=0)
 
void LoadConfig (std::istream &is, int version=0)
 
template<typename FuncT >
Signal< typename
FunctionPointer< FuncT >
::SignalSignature >::type * 
addSignal (FuncT fun, const char *name)
 
template<typename FuncT >
bool addSlot (FuncT fun, const char *name)
 
template<typename FuncT >
Signal< typename
FunctionPointer< FuncT >
::SignalSignature >::type * 
findSignal (FuncT fptr)
 
template<typename FuncT >
Signal< typename
FunctionPointer< FuncT >
::SignalSignature >::type * 
findOrAddSignal (FuncT fptr)
 
SignalBasefindSignal (const char *name) const
 
GenericMFPtrfindSlot (const char *name) const
 
void PrintSelf (std::ostream &o) const
 
const Objectoperator= (const Object &copy)
 
- Public Member Functions inherited from uLib::ObjectPropable
 ObjectPropable ()
 
 ObjectPropable (const ObjectPropable &c)
 
 ~ObjectPropable ()
 
template<class T >
T::ObjectProps & props_ref () const
 
template<class T >
T::ObjectProps * props (T *ptr=NULL) const
 
virtual void init_properties ()
 

Static Public Member Functions

static void SaveXml (std::ostream &os, Object &ob)
 
static void LoadXml (std::istream &is, Object &ob)
 
static bool connect (const Object *ob1, const char *signal_name, const Object *receiver, const char *slot_name)
 
template<typename Func1 , typename Func2 >
static bool connect (typename FunctionPointer< Func1 >::Object *sender, Func1 sigf, typename FunctionPointer< Func2 >::Object *receiver, Func2 slof)
 
template<typename FuncT >
static bool connect (SignalBase *sigb, FuncT slof, Object *receiver)
 

Friends

class boost::serialization::access
 
class ObjectPrivate
 

Additional Inherited Members

- Protected Member Functions inherited from uLib::ObjectPropable
ObjectPropsBaseprops () const
 
template<class T >
void props_new (T *ptr=NULL)
 
template<class T >
unsigned int props_offset (T *ptr) const
 
template<class ArchiveT >
void serialize (ArchiveT &ar, const unsigned int version)
 

Detailed Description

Object class is the object base implementation for uLib Framework.

Constructor & Destructor Documentation

uLib::Object::Object ( )
uLib::Object::Object ( const Object copy)
uLib::Object::~Object ( )

Member Function Documentation

template<typename FuncT >
Signal<typename FunctionPointer<FuncT>::SignalSignature>::type* uLib::Object::addSignal ( FuncT  fun,
const char *  name 
)
inline
template<typename FuncT >
bool uLib::Object::addSlot ( FuncT  fun,
const char *  name 
)
inline
static bool uLib::Object::connect ( const Object ob1,
const char *  signal_name,
const Object receiver,
const char *  slot_name 
)
inlinestatic
template<typename Func1 , typename Func2 >
static bool uLib::Object::connect ( typename FunctionPointer< Func1 >::Object sender,
Func1  sigf,
typename FunctionPointer< Func2 >::Object receiver,
Func2  slof 
)
inlinestatic
template<typename FuncT >
static bool uLib::Object::connect ( SignalBase sigb,
FuncT  slof,
Object receiver 
)
inlinestatic
virtual void uLib::Object::DeepCopy ( const Object copy)
virtual
template<typename FuncT >
Signal<typename FunctionPointer<FuncT>::SignalSignature>::type* uLib::Object::findOrAddSignal ( FuncT  fptr)
inline
template<typename FuncT >
Signal<typename FunctionPointer<FuncT>::SignalSignature>::type* uLib::Object::findSignal ( FuncT  fptr)
inline
SignalBase* uLib::Object::findSignal ( const char *  name) const
inline
GenericMFPtr* uLib::Object::findSlot ( const char *  name) const
inline
void uLib::Object::LoadConfig ( std::istream &  is,
int  version = 0 
)
static void uLib::Object::LoadXml ( std::istream &  is,
Object ob 
)
static
const Object& uLib::Object::operator= ( const Object copy)
inline
void uLib::Object::PrintSelf ( std::ostream &  o) const
template<class ArchiveT >
void uLib::Object::save_override ( ArchiveT &  ar,
const unsigned int  version 
)
inline
void uLib::Object::SaveConfig ( std::ostream &  os,
int  version = 0 
)
static void uLib::Object::SaveXml ( std::ostream &  os,
Object ob 
)
static
template<class ArchiveT >
void uLib::Object::serialize ( ArchiveT &  ar,
const unsigned int  version 
)
inline

Friends And Related Function Documentation

friend class boost::serialization::access
friend
friend class ObjectPrivate
friend

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