![]() |
PIDUINO
|
Namespaces | |
| namespace | Piduino |
| Global namespace for Piduino. | |
Macros | |
| #define | PIMP_D(Class) |
| PIMP_D. | |
| #define | PIMP_Q(Class) |
| PIMP_Q. | |
| #define | PIMP_DECLARE_PRIVATE(Class) |
| PIMP_DECLARE_PRIVATE. | |
| #define | PIMP_DECLARE_PUBLIC(Class) |
| PIMP_DECLARE_PUBLIC. | |
| #define PIMP_D | ( | Class | ) |
PIMP_D.
Provides a d pointer to the private class, use d_func() to access it which is defined in PIMP_DECLARE_PRIVATE. If you want to access the private class from a const method, use const_cast as in the following example:
| Class | the API class name |
| #define PIMP_DECLARE_PRIVATE | ( | Class | ) |
PIMP_DECLARE_PRIVATE.
Provides d_func() to access the private class, must be added in the private section of the API class, as in the following example:
| Class | the API class name |
| #define PIMP_DECLARE_PUBLIC | ( | Class | ) |
PIMP_DECLARE_PUBLIC.
Provides q_func() to access the API class, must be added in the public section of the private class, as in the following example:
| Class | the API class name |
| #define PIMP_Q | ( | Class | ) |
PIMP_Q.
Provides a q pointer to the API class, use q_func() to access it which is defined in PIMP_DECLARE_PUBLIC. If you want to access the API class from a const method, use const_cast as in the following example:
| Class | the API class name |