RobWorkProject  23.9.11-
Namespaces | Classes | Typedefs | Functions
rw::common Namespace Reference

Various utilities and definitions of general use. More...

Namespaces

 serialization
 provide generic handler interface for serialization purposes. To enable serialization of some class MyClass one could either inherit from Serializable or provide overloaded methods to
 

Classes

class  Archive
 archive interface for serializaion classes. More...
 
class  BINArchive
 archive for loading and saving serializable classes. More...
 
class  Cache
 This class is a template for caching. More...
 
class  CodeTimer
 This class can be used to test how much time is used when executing a part of the code. More...
 
class  ConstConcatVectorIterator
 Forward iterator for the concatenation of a pair of vectors of pointers to T. More...
 
class  ConcatVectorIterator
 Forward iterator for the concatenation of a pair of vectors of pointers to T. More...
 
class  FileCache
 a cache that use a timestamp in combination with a key to determine the uniqueness of an item in the cache. More...
 
class  INIArchive
 archive for loading and saving serializable classes to an ini-file format. More...
 
class  InputArchive
 an archive interface for reading from a serialized class. More...
 
class  LogBufferedChar
 Buffers characters before writing them to the output stream. More...
 
class  LogBufferedMsg
 Buffers messages before writing them to the output stream. More...
 
class  LogFileWriter
 Writes log output to a file. More...
 
class  LogMultiWriter
 Writes log output to multiple LogWriters. More...
 
class  OutputArchive
 serializable objects can be written to an output archive. More...
 
class  PairMap
 a specialized mapping implementation for pairs. It uses the internal structure of template T1 to provide fast O(1) lookup for mappings from a Pair to anything. The order of the Pairs does not matter. More...
 
class  ProgramOptions
 a class for parsing program command line into a PropertyMap More...
 
class  ScopedTimer
 Times what is executed in a scope. More...
 
class  Serializable
 interface for defining serialization of classes. If a class cannot inherit the Serializable because of non-access to code then one can instead provide overloaded read/write methods to perform the serialization. More...
 
class  ThreadSafeVariable
 A thread safe protected variable. More...
 
class  ThreadPool
 A thread pool that can be assigned work. More...
 
class  ThreadSafeQueue
 Queue class which is thread safe, eg. multiple threads may use it at the same time. More...
 
class  ThreadSafeStack
 Concurrent queue of WorkPiles. More...
 
class  ThreadTask
 A task that facilitates the use of a hierarchic tree of tasks and subtasks. More...
 
class  Timer
 The timer class provides an easy to use platform independent timer. More...
 
class  TimerUtil
 Access of the system clock so called wall time. More...
 
class  ConstVectorIterator
 Forward iterator for vectors of pointers to const T. More...
 
class  VectorIterator
 Forward iterator for vectors of pointers to T. More...
 

Typedefs

using AnyPtr = rw::core::AnyPtr
 
using BoostXMLParser = rw::core::BoostXMLParser
 
using BoostDOMElem = rw::core::BoostDOMElem
 
using DOMElem = rw::core::DOMElem
 
using DOMParser = rw::core::DOMParser
 
using Exception = rw::core::Exception
 
using Extension = rw::core::Extension
 
template<class ExtensionInterface >
using ExtensionPoint = rw::core::ExtensionPoint< ExtensionInterface >
 
using ExtensionRegistry = rw::core::ExtensionRegistry
 
using IOUtil = rw::core::IOUtil
 
using Log = rw::core::Log
 
using LogStreamWriter = rw::core::LogStreamWriter
 
using LogWriter = rw::core::LogWriter
 
using Message = rw::core::Message
 
using Plugin = rw::core::Plugin
 
template<class T >
using Property = rw::core::Property< T >
 
using PropertyBase = rw::core::PropertyBase
 
using PropertyMap = rw::core::PropertyMap
 
using PropertyType = rw::core::PropertyType
 
template<class T >
using Ptr = rw::core::Ptr< T >
 
using StringUtil = rw::core::StringUtil
 
using StringPair = rw::core::StringPair
 
using StringPairList = rw::core::StringPairList
 

Functions

template<class T >
Property< T > * toProperty (rw::core::PropertyBase::Ptr base)
 cast a property base to a specific property. Notice that the pointer returned is owned by the PropertyBase::Ptr. More...
 

Detailed Description

Various utilities and definitions of general use.

Function Documentation

◆ toProperty()

Property<T>* rw::common::toProperty ( rw::core::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