adaptation for book and plug demo

Dependents:   BookAndPlug

Fork of BLE_API by Bluetooth Low Energy

Embed: (wiki syntax)

« Back to documentation index

base Class Reference

Base class for all intances of SafeBool. More...

#include <SafeBool.h>

Inherited by SafeBool< T >, 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< unsigned > >, SafeBool< FunctionPointerWithContext< const DiscoveredCharacteristic * > >, SafeBool< FunctionPointerWithContext< const DiscoveredService * > >, 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< ContextType > >, SafeBool< FunctionPointerWithContext< GattAttribute::Handle_t > >, SafeBool< FunctionPointerWithContext< GattReadAuthCallbackParams * > >, SafeBool< FunctionPointerWithContext< GattWriteAuthCallbackParams * > >, SafeBool< FunctionPointerWithContext< OnEventsToProcessCallbackContext * > >, and SafeBool< FunctionPointerWithContext< unsigned > >.

Protected Types

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

Protected Member Functions

void invalidTag () const
 Non implemented call, use to disallow conversion between unrelated types.
void trueTag () const
 Member function which indicate true value.

Friends

class SafeBool

Detailed Description

Base class for all intances of SafeBool.

This base class reduces instantiation of trueTag function.

Definition at line 27 of file SafeBool.h.


Member Typedef Documentation

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

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

Definition at line 35 of file SafeBool.h.


Member Function Documentation

void invalidTag (  ) const [protected]

Non implemented call, use to disallow conversion between unrelated types.

void trueTag (  ) const [protected]

Member function which indicate true value.

Definition at line 45 of file SafeBool.h.