Rtos API example

Embed: (wiki syntax)

« Back to documentation index

base Class Reference

Base class of all SafeBool instances. More...

#include <SafeBool.h>

Inherited by SafeBool< T >, SafeBool< CallChainOfFunctionPointersWithContext< const ConnectionCallbackParams_t * > >, SafeBool< CallChainOfFunctionPointersWithContext< const DisconnectionCallbackParams_t * > >, SafeBool< CallChainOfFunctionPointersWithContext< const Gap * > >, SafeBool< CallChainOfFunctionPointersWithContext< const GattClient * > >, SafeBool< CallChainOfFunctionPointersWithContext< const GattHVXCallbackParams * > >, SafeBool< CallChainOfFunctionPointersWithContext< const GattReadCallbackParams * > >, SafeBool< CallChainOfFunctionPointersWithContext< const GattServer * > >, SafeBool< CallChainOfFunctionPointersWithContext< const GattWriteCallbackParams * > >, SafeBool< CallChainOfFunctionPointersWithContext< const SecurityManager * > >, SafeBool< CallChainOfFunctionPointersWithContext< ContextType > >, SafeBool< CallChainOfFunctionPointersWithContext< TimeoutSource_t > >, SafeBool< CallChainOfFunctionPointersWithContext< unsigned > >, SafeBool< FunctionPointerWithContext< bool > >, SafeBool< FunctionPointerWithContext< const AdvertisementCallbackParams_t * > >, SafeBool< FunctionPointerWithContext< const ConnectionCallbackParams_t * > >, SafeBool< FunctionPointerWithContext< const DisconnectionCallbackParams_t * > >, SafeBool< FunctionPointerWithContext< const DiscoveredCharacteristic * > >, SafeBool< FunctionPointerWithContext< const DiscoveredService * > >, SafeBool< FunctionPointerWithContext< const DiscoveryCallbackParams_t * > >, SafeBool< FunctionPointerWithContext< const Gap * > >, SafeBool< FunctionPointerWithContext< const GattClient * > >, SafeBool< FunctionPointerWithContext< const GattHVXCallbackParams * > >, SafeBool< FunctionPointerWithContext< const GattReadCallbackParams * > >, SafeBool< FunctionPointerWithContext< const GattServer * > >, SafeBool< FunctionPointerWithContext< const GattWriteCallbackParams * > >, SafeBool< FunctionPointerWithContext< const SecurityManager * > >, SafeBool< FunctionPointerWithContext< const TerminationCallbackParams_t * > >, SafeBool< FunctionPointerWithContext< ContextType > >, SafeBool< FunctionPointerWithContext< Gap::Handle_t > >, SafeBool< FunctionPointerWithContext< GattAttribute::Handle_t > >, SafeBool< FunctionPointerWithContext< GattReadAuthCallbackParams * > >, SafeBool< FunctionPointerWithContext< GattWriteAuthCallbackParams * > >, SafeBool< FunctionPointerWithContext< OnEventsToProcessCallbackContext * > >, SafeBool< FunctionPointerWithContext< TimeoutSource_t > >, and SafeBool< FunctionPointerWithContext< unsigned > >.

Protected Types

typedef void(base::* BoolType_t )() const
 The bool type is a pointer to method that can be used in boolean context.

Protected Member Functions

void invalidTag () const
 Nonimplemented call, use to disallow conversion between unrelated types.
void trueTag () const
 Special member function that indicates a true value.

Friends

class SafeBool

Detailed Description

Base class of all SafeBool instances.

This nontemplate base class exists to reduce the number of instantiation of the trueTag function.

Definition at line 40 of file SafeBool.h.


Member Typedef Documentation

typedef void(base::* BoolType_t)() const [protected]

The bool type is a pointer to method that can be used in boolean context.

Definition at line 48 of file SafeBool.h.


Member Function Documentation

void invalidTag (  ) const [protected]

Nonimplemented call, use to disallow conversion between unrelated types.

void trueTag (  ) const [protected]

Special member function that indicates a true value.

Definition at line 58 of file SafeBool.h.