Safir SDK Core
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
RequestTimeoutProperty.h
Go to the documentation of this file.
1 #ifndef SAFIR_DOB_REQUESTTIMEOUTPROPERTY_H_INCLUDED
2 #define SAFIR_DOB_REQUESTTIMEOUTPROPERTY_H_INCLUDED
3 
4 #ifdef _MSC_VER
5 #ifdef DOTS_GENERATED_CPP_EXPORTS
6 #define GENERATED_API __declspec(dllexport)
7 #else
8 #define GENERATED_API __declspec(dllimport)
9 #ifdef _DEBUG
10 
11 #pragma comment( lib, "dots_generated-Safir-cppd.lib" )
12 #else
13 #pragma comment( lib, "dots_generated-Safir-cpp.lib" )
14 
15 #endif
16 #endif
17 #endif
18 #ifdef __GNUC__
19 #define GENERATED_API
20 #endif
21 
23 
25 
29 namespace Safir
30 {
34 namespace Dob
35 {
36 
40  class GENERATED_API RequestTimeoutProperty
41  {
42  public:
43  //HasProperty
44  static bool HasProperty(const Safir::Dob::Typesystem::ObjectPtr object);
45 
46  //Timeout
50  static void SetTimeout(Safir::Dob::Typesystem::ObjectPtr object, const Safir::Dob::Typesystem::Si32::Second value);
51  static void SetNullTimeout(Safir::Dob::Typesystem::ObjectPtr object);
52  static bool IsNullTimeout(const Safir::Dob::Typesystem::ObjectPtr object);
53  static bool IsChangedTimeout(const Safir::Dob::Typesystem::ObjectPtr object);
54  static bool IsReadOnlyTimeout(const Safir::Dob::Typesystem::ObjectPtr object);
59 
61  static const Safir::Dob::Typesystem::TypeId ClassTypeId = 6455549702447472248LL;
62 
63  };
64 } // Dob
65 } // Safir
66 
67 #endif
68 
Float32 Second
32 bit representation of Second.
Definition: Dob/Typesystem/Defs.h:133
DotsC_TypeId TypeId
A unique type identifier.
Definition: Dob/Typesystem/Defs.h:221
boost::shared_ptr< Object > ObjectPtr
A smart pointer to an Object.
Definition: Object.h:41
Defines the timeout time for requests.
Definition: RequestTimeoutProperty.h:40
DOTS_API bool HasProperty(const Dob::Typesystem::TypeId classType, const Dob::Typesystem::TypeId propertyType)
Checks if the a class has a property.