Caffa  0.12.1
C++ Application Framework for Embedded Systems with introspection
Classes | Functions
caffa Namespace Reference

Main Caffa namespace. More...

Classes

class  AbstractSignal
 
class  AppEnum
 
struct  AppInfo
 Basic Application Information. More...
 
class  Application
 
class  ChildArrayField< DataType * >
 FieldClass to handle a collection of Object derived pointers The ChildArrayField will take over ownership of any object assigned to it. More...
 
class  ChildArrayFieldAccessor
 
class  ChildArrayFieldDirectStorageAccessor
 
class  ChildArrayFieldHandle
 A non-templated base interface for ChildArrayField<DataType*> Used so we can have pointers to any ChildArrayField. More...
 
class  ChildField
 
class  ChildField< DataType * >
 
class  ChildFieldAccessor
 
class  ChildFieldDirectStorageAccessor
 
class  ChildFieldHandle
 
class  DataField
 
class  DataFieldAccessor
 Abstract but typed data field accessor. Inherit to create different storage mechanisms. More...
 
class  DataFieldAccessorInterface
 Basic non-typed interface which exists only to allow non-typed pointers. More...
 
class  DataFieldDirectStorageAccessor
 Direct storage accessor, which stores data values in local memory. More...
 
class  DefaultObjectFactory
 
class  Document
 
class  Factory
 
class  Field
 
class  FieldCapability
 
class  FieldHandle
 
class  FieldInitHelper
 
class  FieldJsonCap
 
class  FieldJsonCap< ChildArrayField< DataType * > >
 
class  FieldJsonCap< ChildField< DataType * > >
 
class  FieldJsonCapability
 
class  FieldProxyAccessor
 
class  FieldScriptingCapability
 
class  FieldValidator
 Used to validate the value of data fields Implementations need the the validate method as well as readFromJson and writeToJson. More...
 
class  FieldValidatorInterface
 An abstract field validator interface for validating field values. More...
 
class  GetterMethodCB
 
class  GetValueInterface
 
struct  is_vector
 
struct  is_vector< std::vector< T, A > >
 
class  JsonSerializer
 
class  Object
 
class  ObjectCapability
 
class  ObjectFactory
 
class  ObjectHandle
 
class  ObjectIoCapability
 
class  ObjectMethod
 
class  ObjectMethodFactory
 
class  ObjectMethodResult
 
class  ObservingPointer
 
class  ObservingPointerImpl
 
struct  PortableDataType
 
struct  PortableDataType< AppEnum< EnumType > >
 
struct  PortableDataType< std::vector< AppEnum< EnumType > > >
 
struct  PortableDataType< std::vector< std::vector< AppEnum< EnumType > > > >
 
class  RangeValidator
 Simple range validator. More...
 
class  Serializer
 
class  Session
 Abstract class representing an application session. More...
 
class  SetterMethodCB
 
class  SetValueInterface
 
class  Signal
 
class  SignalEmitter
 
class  SignalObserver
 
class  TypedField
 
class  UuidGenerator
 

Functions

template<typename T >
std::istream & operator>> (std::istream &str, caffa::AppEnum< T > &appEnum)
 
template<typename T >
std::ostream & operator<< (std::ostream &str, const caffa::AppEnum< T > &appEnum)
 
template<typename T >
void to_json (nlohmann::json &jsonValue, const AppEnum< T > &appEnum)
 
template<typename T >
void from_json (const nlohmann::json &jsonValue, AppEnum< T > &appEnum)
 
template<typename ToClass , typename FromClass >
bool dynamic_unique_cast_is_valid (const std::unique_ptr< FromClass > &fromPointer)
 
template<typename ToClass , typename FromClass >
std::unique_ptr< ToClass > dynamic_unique_cast (std::unique_ptr< FromClass > fromPointer)
 
template<typename FieldType >
void AddIoCapabilityToField (FieldType *field)
 

Detailed Description

Main Caffa namespace.

Function Documentation

◆ operator>>()

template<typename T >
std::istream& caffa::operator>> ( std::istream &  str,
caffa::AppEnum< T > &  appEnum 
)

Implementation of stream operators to make Field<AppEnum<> > work smoothly Assumes that the stream ends at the end of the enum label