RobWorkProject  24.5.15-
Classes | Functions
rw::core Namespace Reference

Most basic types for RobWork. More...

Classes

class  Ptr
 Ptr stores a pointer and optionally takes ownership of the value. More...
 
class  AnyPtr
 Smart pointer that can point to any type, and optionally takes ownership of the object pointer. More...
 
class  BoostXMLParser
 a DOMParser implementation based on the Boost xml parser in propertytree More...
 
class  BoostDOMElem
 DOMElem based on Boost PropertyTree xml parser. More...
 
class  DOMCoreBasisTypes
 Utility class to help read in the content of a XML-files parsed with Xerces The Class is part of the core Library in a limited edition. Use DOMBasisTypes for a full implementation. More...
 
class  DOMCorePropertyMapLoader
 Class for loading rw::core::PropertyMap from XML. More...
 
class  DOMCorePropertyMapSaver
 Class for saving rw::core::PropertyMap to XML. More...
 
class  DOMElem
 an wrapper interface for easy access to XML DOM parser. This require an active back-end that does the actual parsing and validation. More...
 
class  DOMParser
 interface for parsing documents in a DOM fasion. More...
 
class  DOMPropertyMapFormat
 Class storing the identifiers used for properties. More...
 
class  _n1
 
class  _n2
 
class  _n3
 
class  _n4
 
class  _n5
 
class  _n6
 
class  _n7
 
class  _n8
 
struct  FireFunctor
 FireFunctor with 0 arguments. More...
 
struct  EventListener
 Structure for data associated to a listener. More...
 
class  Event
 Event is used for managing subscribtions and firing of events. More...
 
struct  FireFunctor< CallBackMethod, T1, _n1, _n1, _n1, _n1 >
 FireFunctor with 1 arguments. More...
 
struct  FireFunctor< CallBackMethod, T1, T2, _n1, _n1, _n1 >
 FireFunctor with 2 arguments. More...
 
struct  FireFunctor< CallBackMethod, T1, T2, T3, _n1, _n1 >
 FireFunctor with 3 arguments. More...
 
struct  FireFunctor< CallBackMethod, T1, T2, T3, T4, _n1 >
 FireFunctor with 4 arguments. More...
 
class  Exception
 Standard exception type of RobWork. More...
 
class  Extension
 The Extension class is used to provide additonal functionality from a Plugin to other extension points of either the system or other plugins. More...
 
class  ExtensionPoint
 an extension point is a class that defines a point where Extension can be added. This is typically used together with plugins, however any class may register extensions to an extension point. More...
 
class  ExtensionRegistry
 an extension point is a class that defines a point where Extension can be added. This is typically used together with plugins, however any class may register extensions to an extension point. More...
 
class  IOUtil
 Collection of IO related utilities. More...
 
class  Log
 Provides basic log functionality. More...
 
class  LogStreamWriter
 Writes log output to a std::ostream. More...
 
class  LogWriter
 Write interface for Logs. More...
 
class  Message
 Standard type for user messages of robwork. More...
 
class  iter_pair
 this is a conversion class to make for that c++ 11 ranged for loops can't iterate over a pair of iterators like BOOST_FOREACH could. use case: for (auto item&: getIter_par()) do_somthingg(); More...
 
class  Plugin
 an interface for defining dynamically loadable plugins that define extensions and extension points. More...
 
class  Property
 Property class The Property class is a template to support properties of any type. A Property is characterized by a string identifier, string description and a value of the template specified type. More...
 
class  PropertyBase
 Base class for Property handling. More...
 
class  PropertyMap
 Container for a collection of Property Objects. More...
 
class  PropertyType
 Represents type of a property. More...
 
class  PropertyValue
 PropertyValue class. More...
 
class  PropertyValueBase
 Base class for Property handling. More...
 
class  RobWork
 RobWork instance which holds objects to be shared among multiple plugins. More...
 
class  StringUtil
 Collection of string manipulation utilities. More...
 

Functions

std::ostream & operator<< (std::ostream &out, const Message &msg)
 Format to out the message msg. More...
 
template<typename T1 >
constexpr iter_pair< T1 > make_iterPair (T1 x, T1 y)
 
template<class T >
Property< T > * toProperty (PropertyBase::Ptr base)
 cast a property base to a specific property. Notice that the pointer returned is owned by the PropertyBase::Ptr. More...
 
template<class T , class R >
bool operator== (void *p, const Ptr< R > &g)
 Comparator for comparing an ordinary pointer with a smart pointer. More...
 

Detailed Description

Most basic types for RobWork.

Function Documentation

◆ operator<<()

std::ostream& rw::core::operator<< ( std::ostream &  out,
const Message msg 
)

Format to out the message msg.

The format for the exception is

<file>:<line> <message>
Returns
The stream out.

◆ operator==()

bool rw::core::operator== ( void *  p,
const Ptr< R > &  g 
)

Comparator for comparing an ordinary pointer with a smart pointer.

Note
If comparing two instances of a class without specifying the equal operator this method might be called.

◆ toProperty()

Property<T>* rw::core::toProperty ( PropertyBase::Ptr  base)

cast a property base to a specific property. Notice that the pointer returned is owned by the PropertyBase::Ptr.

Parameters
base[in] property base pointer
Returns
property of type T or null if property is of another type