24 #include "cafFieldInitHelper.h" 25 #include "cafFieldJsonCapabilitySpecializations.h" 26 #include "cafMethodInitHelper.h" 27 #include "cafObjectHandle.h" 28 #include "cafObjectMacros.h" 37 Object(
bool generateUuid =
true );
38 ~
Object() noexcept
override;
46 template <
typename FieldType>
49 AddIoCapabilityToField( &field );
60 template <
typename MethodType,
typename CallbackT>
63 method.setCallback( callback );
76 template <
typename MethodType,
typename CallbackT>
79 method.setCallbackWithSession( callback );
MethodInitHelper< MethodType > initMethod(MethodType &method, const std::string &keyword, CallbackT &&callback)
Definition: cafObject.h:61
MethodInitHelper< MethodType > initMethodWithSession(MethodType &method, const std::string &keyword, CallbackT &&callback)
Definition: cafObject.h:77
Definition: cafFieldInitHelper.h:41
Definition: cafObject.h:32
void addField(FieldHandle *field, const std::string &keyword)
Definition: cafObjectHandle.cpp:80
Definition: cafObjectHandle.h:47
void addMethod(MethodHandle *method, const std::string &keyword)
Definition: cafObjectHandle.cpp:95
FieldInitHelper< FieldType > initField(FieldType &field, const std::string &keyword)
Definition: cafObject.h:47
Definition: cafMethodInitHelper.h:37
Main Caffa namespace.
Definition: cafApplication.h:30