TwiceAsNice  2019-02-18
Public Member Functions | Protected Attributes | List of all members
Nice::PropertyBridgeFn< Type, TypeFn > Class Template Reference

#include <BridgeFn.hh>

Inheritance diagram for Nice::PropertyBridgeFn< Type, TypeFn >:
Inheritance graph
Collaboration diagram for Nice::PropertyBridgeFn< Type, TypeFn >:
Collaboration graph

Public Member Functions

 PropertyBridgeFn ()
 
 PropertyBridgeFn (TypeFn _fun, const char *_identity="FN_BRIDGE")
 
 PropertyBridgeFn (TypeFn _fun, Nice::I64 _id, const char *_identity="FN_BRIDGE")
 
virtual ~PropertyBridgeFn ()
 
virtual const std::string & identity ()
 
virtual const std::string & type ()
 
virtual std::string toString () const
 serialize to a string. More...
 
virtual void set (Nice::CompletionState _cs, const Nice::Any &_val, Nice::I64 _setterId, const Nice::DateVar &_date)
 
 PropertyBridgeFn ()
 
 PropertyBridgeFn (TypeFn _fun, const char *_identity="FN_BRIDGE")
 
 PropertyBridgeFn (TypeFn _fun, Nice::I64 _id, const char *_identity="FN_BRIDGE")
 
virtual ~PropertyBridgeFn ()
 
virtual const std::string & identity ()
 
virtual const std::string & type ()
 
virtual std::string toString () const
 serialize to a string. More...
 
virtual void set (Nice::CompletionState _cs, const Nice::Any &_val, Nice::I64 _setterId, const Nice::DateVar &_date)
 
- Public Member Functions inherited from Nice::PropertyBridge
 PropertyBridge ()
 Constructor. More...
 
virtual ~PropertyBridge ()
 Destructor. More...
 
virtual void init (const PropertyPtr &_property)
 Initializer, called by the Property when it is applied. More...
 
virtual void disconnect ()
 Abstract function to connect an instance of THIS bridge to another bridge. More...
 
 PropertyBridge ()
 Constructor. More...
 
virtual ~PropertyBridge ()
 Destructor. More...
 
virtual void init (const PropertyPtr &_property)
 Initializer, called by the Property when it is applied. More...
 
virtual void disconnect ()
 Abstract function to connect an instance of THIS bridge to another bridge. More...
 

Protected Attributes

std::string m_identity
 
TypeFn m_fun
 
Nice::I64 m_id
 
- Protected Attributes inherited from Nice::PropertyBridge
Nice::Propertym_property
 

Constructor & Destructor Documentation

◆ PropertyBridgeFn() [1/6]

template<typename Type , typename TypeFn = void ( * ) ( const Type & )>
Nice::PropertyBridgeFn< Type, TypeFn >::PropertyBridgeFn ( )
inline

◆ PropertyBridgeFn() [2/6]

template<typename Type , typename TypeFn = void ( * ) ( const Type & )>
Nice::PropertyBridgeFn< Type, TypeFn >::PropertyBridgeFn ( TypeFn  _fun,
const char *  _identity = "FN_BRIDGE" 
)
inline
Parameters

◆ PropertyBridgeFn() [3/6]

template<typename Type , typename TypeFn = void ( * ) ( const Type & )>
Nice::PropertyBridgeFn< Type, TypeFn >::PropertyBridgeFn ( TypeFn  _fun,
Nice::I64  _id,
const char *  _identity = "FN_BRIDGE" 
)
inline
Parameters

◆ ~PropertyBridgeFn() [1/2]

template<typename Type , typename TypeFn = void ( * ) ( const Type & )>
virtual Nice::PropertyBridgeFn< Type, TypeFn >::~PropertyBridgeFn ( )
inlinevirtual
Parameters

◆ PropertyBridgeFn() [4/6]

template<typename Type , typename TypeFn = void ( * ) ( const Type & )>
Nice::PropertyBridgeFn< Type, TypeFn >::PropertyBridgeFn ( )
inline

◆ PropertyBridgeFn() [5/6]

template<typename Type , typename TypeFn = void ( * ) ( const Type & )>
Nice::PropertyBridgeFn< Type, TypeFn >::PropertyBridgeFn ( TypeFn  _fun,
const char *  _identity = "FN_BRIDGE" 
)
inline
Parameters

◆ PropertyBridgeFn() [6/6]

template<typename Type , typename TypeFn = void ( * ) ( const Type & )>
Nice::PropertyBridgeFn< Type, TypeFn >::PropertyBridgeFn ( TypeFn  _fun,
Nice::I64  _id,
const char *  _identity = "FN_BRIDGE" 
)
inline
Parameters

◆ ~PropertyBridgeFn() [2/2]

template<typename Type , typename TypeFn = void ( * ) ( const Type & )>
virtual Nice::PropertyBridgeFn< Type, TypeFn >::~PropertyBridgeFn ( )
inlinevirtual
Parameters

Member Function Documentation

◆ identity() [1/2]

template<typename Type , typename TypeFn = void ( * ) ( const Type & )>
virtual const std::string& Nice::PropertyBridgeFn< Type, TypeFn >::identity ( )
inlinevirtual
Parameters

Implements Nice::PropertyBridge.

◆ identity() [2/2]

template<typename Type , typename TypeFn = void ( * ) ( const Type & )>
virtual const std::string& Nice::PropertyBridgeFn< Type, TypeFn >::identity ( )
inlinevirtual
Parameters

Implements Nice::PropertyBridge.

◆ set() [1/2]

template<typename Type , typename TypeFn = void ( * ) ( const Type & )>
virtual void Nice::PropertyBridgeFn< Type, TypeFn >::set ( Nice::CompletionState  _cs,
const Nice::Any _val,
Nice::I64  _setterId,
const Nice::DateVar _date 
)
inlinevirtual
Parameters

Implements Nice::PropertyBridge.

◆ set() [2/2]

template<typename Type , typename TypeFn = void ( * ) ( const Type & )>
virtual void Nice::PropertyBridgeFn< Type, TypeFn >::set ( Nice::CompletionState  _cs,
const Nice::Any _val,
Nice::I64  _setterId,
const Nice::DateVar _date 
)
inlinevirtual
Parameters

Implements Nice::PropertyBridge.

◆ toString() [1/2]

template<typename Type , typename TypeFn = void ( * ) ( const Type & )>
virtual std::string Nice::PropertyBridgeFn< Type, TypeFn >::toString ( ) const
inlinevirtual

serialize to a string.

Parameters

Implements Nice::PropertyBridge.

◆ toString() [2/2]

template<typename Type , typename TypeFn = void ( * ) ( const Type & )>
virtual std::string Nice::PropertyBridgeFn< Type, TypeFn >::toString ( ) const
inlinevirtual

serialize to a string.

Parameters

Implements Nice::PropertyBridge.

◆ type() [1/2]

template<typename Type , typename TypeFn = void ( * ) ( const Type & )>
virtual const std::string& Nice::PropertyBridgeFn< Type, TypeFn >::type ( )
inlinevirtual
Parameters

Implements Nice::PropertyBridge.

◆ type() [2/2]

template<typename Type , typename TypeFn = void ( * ) ( const Type & )>
virtual const std::string& Nice::PropertyBridgeFn< Type, TypeFn >::type ( )
inlinevirtual
Parameters

Implements Nice::PropertyBridge.

Member Data Documentation

◆ m_fun

template<typename Type , typename TypeFn = void ( * ) ( const Type & )>
TypeFn Nice::PropertyBridgeFn< Type, TypeFn >::m_fun
protected

◆ m_id

template<typename Type , typename TypeFn = void ( * ) ( const Type & )>
Nice::I64 Nice::PropertyBridgeFn< Type, TypeFn >::m_id
protected

◆ m_identity

template<typename Type , typename TypeFn = void ( * ) ( const Type & )>
std::string Nice::PropertyBridgeFn< Type, TypeFn >::m_identity
protected

The documentation for this class was generated from the following file: