kanzi::MessageType< TArguments > Class Template Reference

#include <kanzi/core/message/message_type.hpp>

Public Types

typedef TArguments ArgumentsType
 
typedef function< void(ArgumentsType &)> FunctionType
 

Public Member Functions

 MessageType (FixedString name, PropertyTypeEditorInfo *editorInfo)
 
 MessageType (FixedString name, MessageRouting routing, PropertyTypeEditorInfo *editorInfo)
 
 MessageType (MetadataGeneratedName name, MessageRouting routing, PropertyTypeEditorInfo *editorInfo)
 
 ~MessageType ()
 
 operator AbstractMessageType () const
 
string getName () const
 
MessageRouting getRouting () const
 
const KzuMessageType * get () const
 
PropertyTypeEditorInfoSharedPtr getEditorInfo () const
 Gets editor info for the message type. More...
 
void attachArgumentsMetaclass () const
 

Static Public Member Functions

static const Metaclass * getArgumentsMetaclass ()
 

Protected Member Functions

 MessageType ()
 
 MessageType (const MessageType &) KZ_DELETED_FUNCTION
 
MessageType & operator= (const MessageType &) KZ_DELETED_FUNCTION
 

Protected Attributes

const AbstractMessageTypeDescriptor * m_descriptor
 

Friends

class AbstractMessageType
 
template<typename T >
class DynamicMessageType
 

Member Typedef Documentation

template<class TArguments>
typedef TArguments kanzi::MessageType< TArguments >::ArgumentsType
template<class TArguments>
typedef function<void (ArgumentsType&)> kanzi::MessageType< TArguments >::FunctionType

Constructor & Destructor Documentation

template<class TArguments>
kanzi::MessageType< TArguments >::MessageType ( FixedString  name,
PropertyTypeEditorInfo *  editorInfo 
)
inlineexplicit
template<class TArguments>
kanzi::MessageType< TArguments >::MessageType ( FixedString  name,
MessageRouting  routing,
PropertyTypeEditorInfo *  editorInfo 
)
inlineexplicit
template<class TArguments>
kanzi::MessageType< TArguments >::MessageType ( MetadataGeneratedName  name,
MessageRouting  routing,
PropertyTypeEditorInfo *  editorInfo 
)
inlineexplicit
template<class TArguments>
kanzi::MessageType< TArguments >::~MessageType ( )
inline
template<class TArguments>
kanzi::MessageType< TArguments >::MessageType ( )
inlineexplicitprotected
template<class TArguments>
kanzi::MessageType< TArguments >::MessageType ( const MessageType< TArguments > &  )
protected

Member Function Documentation

template<class TArguments>
kanzi::MessageType< TArguments >::operator AbstractMessageType ( ) const
inline
template<class TArguments>
string kanzi::MessageType< TArguments >::getName ( ) const
inline
template<class TArguments>
MessageRouting kanzi::MessageType< TArguments >::getRouting ( ) const
inline
template<class TArguments>
static const Metaclass* kanzi::MessageType< TArguments >::getArgumentsMetaclass ( )
inlinestatic
template<class TArguments>
const KzuMessageType* kanzi::MessageType< TArguments >::get ( ) const
inline
template<class TArguments>
PropertyTypeEditorInfoSharedPtr kanzi::MessageType< TArguments >::getEditorInfo ( ) const
inline

Gets editor info for the message type.

Returns
Shared pointer to editor info.
template<class TArguments>
void kanzi::MessageType< TArguments >::attachArgumentsMetaclass ( ) const
inline
template<class TArguments>
MessageType& kanzi::MessageType< TArguments >::operator= ( const MessageType< TArguments > &  )
protected

Friends And Related Function Documentation

template<class TArguments>
friend class AbstractMessageType
friend
template<class TArguments>
template<typename T >
friend class DynamicMessageType
friend

Member Data Documentation

template<class TArguments>
const AbstractMessageTypeDescriptor* kanzi::MessageType< TArguments >::m_descriptor
protected

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