client-cpp  0.6.3
kaa::AbstractProfileContainer< T > Class Template Referenceabstract

#include <AbstractProfileContainer.hpp>

+ Inheritance diagram for kaa::AbstractProfileContainer< T >:
+ Collaboration diagram for kaa::AbstractProfileContainer< T >:

Public Member Functions

 AbstractProfileContainer ()
virtual ~AbstractProfileContainer ()
virtual SharedDataBuffer getSerializedProfile ()
virtual void setProfileListener (ProfileListenerPtr listener)
virtual T getProfile ()=0
- Public Member Functions inherited from kaa::IProfileContainer
virtual ~IProfileContainer ()

Protected Member Functions

void updateProfile ()

Detailed Description

template<typename T>
class kaa::AbstractProfileContainer< T >

Container for the profile object which should be implemented by the user

<T>user-defined profile object.

Definition at line 32 of file AbstractProfileContainer.hpp.

Constructor & Destructor Documentation

template<typename T >
kaa::AbstractProfileContainer< T >::AbstractProfileContainer ( )

Definition at line 34 of file AbstractProfileContainer.hpp.

template<typename T >
virtual kaa::AbstractProfileContainer< T >::~AbstractProfileContainer ( )

Definition at line 35 of file AbstractProfileContainer.hpp.

Member Function Documentation

template<typename T >
virtual T kaa::AbstractProfileContainer< T >::getProfile ( )
pure virtual

Retrieves user-defined profile object. Should be implemented by the user.

profile object
template<typename T >
virtual SharedDataBuffer kaa::AbstractProfileContainer< T >::getSerializedProfile ( )

Retrieves serialized profile.

byte array with avro serialized profile.

Implements kaa::IProfileContainer.

Definition at line 43 of file AbstractProfileContainer.hpp.

template<typename T >
virtual void kaa::AbstractProfileContainer< T >::setProfileListener ( ProfileListenerPtr  listener)

Sets new profile listener. DO NOT use this API explicitly.

See also
listenerNew profile listener.

Implements kaa::IProfileContainer.

Definition at line 55 of file AbstractProfileContainer.hpp.

template<typename T >
void kaa::AbstractProfileContainer< T >::updateProfile ( )

Updates profile. Call this method when you finish to update your profile.

Definition at line 72 of file AbstractProfileContainer.hpp.

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