|
30 | 30 | /**
|
31 | 31 | * Function like object hosting a list of FunctionPointerWithContext.
|
32 | 32 | *
|
33 |
| - * Upon call each FunctionPointerWithContext instance present in the object will |
| 33 | + * Upon call, each FunctionPointerWithContext instance present in the object will |
34 | 34 | * be called in sequence with the initial parameters.
|
35 | 35 | *
|
36 | 36 | * It can be seen as a variation of the observer pattern this object being the
|
@@ -83,7 +83,7 @@ class CallChainOfFunctionPointersWithContext :
|
83 | 83 | public SafeBool<CallChainOfFunctionPointersWithContext<ContextType> > {
|
84 | 84 | public:
|
85 | 85 | /**
|
86 |
| - * Alias of the FunctionPointerWithContext type this object can store |
| 86 | + * Alias of the FunctionPointerWithContext type this object can store. |
87 | 87 | */
|
88 | 88 | typedef FunctionPointerWithContext<ContextType> *pFunctionPointerWithContext_t;
|
89 | 89 |
|
@@ -148,8 +148,8 @@ class CallChainOfFunctionPointersWithContext :
|
148 | 148 | *
|
149 | 149 | * @return true if a function pointer has been detached and false otherwise.
|
150 | 150 | *
|
151 |
| - * @note It is safe to remove a function pointer while the chain is |
152 |
| - * being traversed by call(ContextType). |
| 151 | + * @note It is safe to remove a function pointer while |
| 152 | + * call(ContextType) is traversing the chain. |
153 | 153 | */
|
154 | 154 | bool detach(const FunctionPointerWithContext<ContextType> &toDetach)
|
155 | 155 | {
|
@@ -261,7 +261,7 @@ class CallChainOfFunctionPointersWithContext :
|
261 | 261 | }
|
262 | 262 |
|
263 | 263 | /**
|
264 |
| - * Test if the calchain is emtpy or not. |
| 264 | + * Test if the callchain is empty or not. |
265 | 265 | *
|
266 | 266 | * @return true if the callchain is not empty and false otherwise.
|
267 | 267 | *
|
@@ -317,7 +317,7 @@ class CallChainOfFunctionPointersWithContext :
|
317 | 317 | * removed during the call() operation.
|
318 | 318 | *
|
319 | 319 | * @note It has to be mutable to accomodate the const version of call(). The
|
320 |
| - * iterator doesn't leak outside the object therefore it remains seen as |
| 320 | + * iterator doesn't leak outside the object; therefore, it remains seen as |
321 | 321 | * const from an external standpoint.
|
322 | 322 | */
|
323 | 323 | mutable pFunctionPointerWithContext_t currentCalled;
|
|
0 commit comments