TwiceAsNice  2019-02-18
Classes | Public Member Functions | Private Types | Private Attributes | List of all members
Basda::PropertyBridge1to1Ice< Type, TypeIf, IceType > Class Template Reference

#include <Bridge1to1Ice.h>

Inheritance diagram for Basda::PropertyBridge1to1Ice< Type, TypeIf, IceType >:
Inheritance graph
Collaboration diagram for Basda::PropertyBridge1to1Ice< Type, TypeIf, IceType >:
Collaboration graph

Classes

class  IceInterface
 

Public Member Functions

 PropertyBridge1to1Ice (const Ice::ObjectAdapterPtr &_adapter)
 Constructor. More...
 
virtual void set (Nice::CompletionState, const Nice::Any &_value, Nice::I64 _setterId, const Nice::DateVar &_date)
 This function is called by the connected property whenever the value of the property has changed and signals are emitted to the bridges. More...
 
 PropertyBridge1to1Ice (const Ice::ObjectAdapterPtr &_adapter)
 Constructor. More...
 
virtual void set (Nice::CompletionState, const Nice::Any &_value, Nice::I64 _setterId, const Nice::DateVar &_date)
 This function is called by the connected property whenever the value of the property has changed and signals are emitted to the bridges. More...
 
- Public Member Functions inherited from Nice::PropertyBridgeIceImpl< Type, TypeIf, IceType >
 PropertyBridgeIceImpl (const Ice::ObjectAdapterPtr &_adapter)
 Constructor. More...
 
 PropertyBridgeIceImpl (const Ice::ObjectAdapterPtr &_adapter, const IceInterfacePtr &_interface)
 
virtual ~PropertyBridgeIceImpl ()
 Destructor. More...
 
Nice::Propertyproperty ()
 
void setProperty (const Type &_value, Nice::I64 _setterId, const Nice::DateVar &_date)
 
virtual void connect (const Ice::ConnectionPtr &_con, const Ice::Identity &_remote, Nice::I64 _remoteId)
 Local interface to connect a local bridge to a remote bridge. More...
 
virtual void disconnect ()
 
Disconnect this bridge from all remote connected bridges. More...
 
 PropertyBridgeIceImpl (const Ice::ObjectAdapterPtr &_adapter)
 Constructor. More...
 
 PropertyBridgeIceImpl (const Ice::ObjectAdapterPtr &_adapter, const IceInterfacePtr &_interface)
 
virtual ~PropertyBridgeIceImpl ()
 Destructor. More...
 
Nice::Propertyproperty ()
 
void setProperty (const Type &_value, Nice::I64 _setterId, const Nice::DateVar &_date)
 
virtual void connect (const Ice::ConnectionPtr &_con, const Ice::Identity &_remote, Nice::I64 _remoteId)
 Local interface to connect a local bridge to a remote bridge. More...
 
virtual void disconnect ()
 
Disconnect this bridge from all remote connected bridges. More...
 
- Public Member Functions inherited from Nice::PropertyBridgeIce
virtual const std::string & identity ()
 
virtual const std::string & type ()
 
virtual std::string toString () const
 serialize to a string. More...
 
virtual const std::string & identity ()
 
virtual const std::string & type ()
 
virtual std::string toString () const
 serialize to a string. More...
 
- 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...
 
 PropertyBridge ()
 Constructor. More...
 
virtual ~PropertyBridge ()
 Destructor. More...
 
virtual void init (const PropertyPtr &_property)
 Initializer, called by the Property when it is applied. More...
 

Private Types

typedef Nice::Map< Nice::I64, Nice::I64PropertyBridge1to1IceCompletionMapType
 
typedef Nice::PropertyBridgeIceImpl< Type, TypeIf, IceType > PropertyBridgeIceImplType
 
typedef PropertyBridge1to1Ice< Type, TypeIf, IceType > PropertyBridge1to1IceType
 
typedef TypeIf::ProxyType TypeIfPrx
 
typedef Nice::Map< Nice::I64, TypeIfPrxPropertyBridgeIceRemoteBridgeMapType
 
typedef Nice::Map< Nice::I64, Nice::I64PropertyBridge1to1IceCompletionMapType
 
typedef Nice::PropertyBridgeIceImpl< Type, TypeIf, IceType > PropertyBridgeIceImplType
 
typedef PropertyBridge1to1Ice< Type, TypeIf, IceType > PropertyBridge1to1IceType
 
typedef TypeIf::ProxyType TypeIfPrx
 
typedef Nice::Map< Nice::I64, TypeIfPrxPropertyBridgeIceRemoteBridgeMapType
 

Private Attributes

PropertyBridge1to1IceCompletionMapType m_completionMap
 

Additional Inherited Members

- Static Public Attributes inherited from Nice::PropertyBridgeIce
static const std::string s_type = "ICE_CONBRIDGE"
 
static const std::string s_disttype = "ICE_DISTBRIDGE"
 
- Protected Types inherited from Nice::PropertyBridgeIceImpl< Type, TypeIf, IceType >
typedef IceUtil::Handle< IceInterfaceIceInterfacePtr
 
typedef IceUtil::Handle< IceInterfaceIceInterfacePtr
 
- Protected Member Functions inherited from Nice::PropertyBridgeIce
 PropertyBridgeIce (const Ice::ObjectAdapterPtr &_adapter)
 
virtual ~PropertyBridgeIce ()
 
 PropertyBridgeIce (const Ice::ObjectAdapterPtr &_adapter)
 
virtual ~PropertyBridgeIce ()
 
- Protected Attributes inherited from Nice::PropertyBridgeIceImpl< Type, TypeIf, IceType >
IceInterfacePtr m_if
 
RemoteBridgeMap m_remoteBridges
 
- Protected Attributes inherited from Nice::PropertyBridgeIce
Ice::ObjectAdapterPtr m_adapter
 
Ice::Identity m_identity
 
- Protected Attributes inherited from Nice::PropertyBridge
Nice::Propertym_property
 

Member Typedef Documentation

◆ PropertyBridge1to1IceCompletionMapType [1/2]

template<typename Type , typename TypeIf , typename IceType = Type>
typedef Nice::Map<Nice::I64, Nice::I64> Basda::PropertyBridge1to1Ice< Type, TypeIf, IceType >::PropertyBridge1to1IceCompletionMapType
private

◆ PropertyBridge1to1IceCompletionMapType [2/2]

template<typename Type , typename TypeIf , typename IceType = Type>
typedef Nice::Map<Nice::I64, Nice::I64> Basda::PropertyBridge1to1Ice< Type, TypeIf, IceType >::PropertyBridge1to1IceCompletionMapType
private

◆ PropertyBridge1to1IceType [1/2]

template<typename Type , typename TypeIf , typename IceType = Type>
typedef PropertyBridge1to1Ice<Type, TypeIf, IceType> Basda::PropertyBridge1to1Ice< Type, TypeIf, IceType >::PropertyBridge1to1IceType
private

◆ PropertyBridge1to1IceType [2/2]

template<typename Type , typename TypeIf , typename IceType = Type>
typedef PropertyBridge1to1Ice<Type, TypeIf, IceType> Basda::PropertyBridge1to1Ice< Type, TypeIf, IceType >::PropertyBridge1to1IceType
private

◆ PropertyBridgeIceImplType [1/2]

template<typename Type , typename TypeIf , typename IceType = Type>
typedef Nice::PropertyBridgeIceImpl<Type, TypeIf, IceType> Basda::PropertyBridge1to1Ice< Type, TypeIf, IceType >::PropertyBridgeIceImplType
private

◆ PropertyBridgeIceImplType [2/2]

template<typename Type , typename TypeIf , typename IceType = Type>
typedef Nice::PropertyBridgeIceImpl<Type, TypeIf, IceType> Basda::PropertyBridge1to1Ice< Type, TypeIf, IceType >::PropertyBridgeIceImplType
private

◆ PropertyBridgeIceRemoteBridgeMapType [1/2]

template<typename Type , typename TypeIf , typename IceType = Type>
typedef Nice::Map<Nice::I64, TypeIfPrx> Basda::PropertyBridge1to1Ice< Type, TypeIf, IceType >::PropertyBridgeIceRemoteBridgeMapType
private

◆ PropertyBridgeIceRemoteBridgeMapType [2/2]

template<typename Type , typename TypeIf , typename IceType = Type>
typedef Nice::Map<Nice::I64, TypeIfPrx> Basda::PropertyBridge1to1Ice< Type, TypeIf, IceType >::PropertyBridgeIceRemoteBridgeMapType
private

◆ TypeIfPrx [1/2]

template<typename Type , typename TypeIf , typename IceType = Type>
typedef TypeIf::ProxyType Basda::PropertyBridge1to1Ice< Type, TypeIf, IceType >::TypeIfPrx
private

◆ TypeIfPrx [2/2]

template<typename Type , typename TypeIf , typename IceType = Type>
typedef TypeIf::ProxyType Basda::PropertyBridge1to1Ice< Type, TypeIf, IceType >::TypeIfPrx
private

Constructor & Destructor Documentation

◆ PropertyBridge1to1Ice() [1/2]

template<typename Type , typename TypeIf , typename IceType = Type>
Basda::PropertyBridge1to1Ice< Type, TypeIf, IceType >::PropertyBridge1to1Ice ( const Ice::ObjectAdapterPtr &  _adapter)
inline

Constructor.

Parameters
_propertyProperty to which this bridge is connected to. This is a local Property. At the remote bridge also a property is connected. Both are synchronized over the bright mechanism.
_adapterThe Ice adapter to connect this bridge to.

◆ PropertyBridge1to1Ice() [2/2]

template<typename Type , typename TypeIf , typename IceType = Type>
Basda::PropertyBridge1to1Ice< Type, TypeIf, IceType >::PropertyBridge1to1Ice ( const Ice::ObjectAdapterPtr &  _adapter)
inline

Constructor.

Parameters
_propertyProperty to which this bridge is connected to. This is a local Property. At the remote bridge also a property is connected. Both are synchronized over the bright mechanism.
_adapterThe Ice adapter to connect this bridge to.

Member Function Documentation

◆ set() [1/2]

template<typename Type , typename TypeIf , typename IceType = Type>
virtual void Basda::PropertyBridge1to1Ice< Type, TypeIf, IceType >::set ( Nice::CompletionState  ,
const Nice::Any _value,
Nice::I64  _setterId,
const Nice::DateVar _date 
)
inlinevirtual

This function is called by the connected property whenever the value of the property has changed and signals are emitted to the bridges.

This function takes care to distribute the property changes.

Parameters
_valueValue to be pushed.
_setterIdThe ID of the reporting setter (avoids reporting the value to itself....)
_dateTime stamp of validity of the value.

Reimplemented from Nice::PropertyBridgeIceImpl< Type, TypeIf, IceType >.

◆ set() [2/2]

template<typename Type , typename TypeIf , typename IceType = Type>
virtual void Basda::PropertyBridge1to1Ice< Type, TypeIf, IceType >::set ( Nice::CompletionState  ,
const Nice::Any _value,
Nice::I64  _setterId,
const Nice::DateVar _date 
)
inlinevirtual

This function is called by the connected property whenever the value of the property has changed and signals are emitted to the bridges.

This function takes care to distribute the property changes.

Parameters
_valueValue to be pushed.
_setterIdThe ID of the reporting setter (avoids reporting the value to itself....)
_dateTime stamp of validity of the value.

Reimplemented from Nice::PropertyBridgeIceImpl< Type, TypeIf, IceType >.

Member Data Documentation

◆ m_completionMap

template<typename Type , typename TypeIf , typename IceType = Type>
PropertyBridge1to1IceCompletionMapType Basda::PropertyBridge1to1Ice< Type, TypeIf, IceType >::m_completionMap
private

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