AppCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
DS_Delays Class Reference

#include <ds_delays.h>

Inheritance diagram for DS_Delays:
Inheritance graph
[legend]
Collaboration diagram for DS_Delays:
Collaboration graph
[legend]

Public Member Functions

 DS_Delays ()
 
virtual ~DS_Delays ()
 
virtual ds_string GetName ()
 
virtual ds_string GetVersion ()
 
virtual bool Init (DispatchingModuleManager *manager)
 
virtual bool SendString (DS_Event &event, ds_string &sendString, bool &forceImmediateSending)
 
virtual bool PostSendString (DS_Event &event, ds_string &sendString, ds_StringList &sendStringList, bool &forceImmediateSending)
 
- Public Member Functions inherited from DispatchingModuleInterface
 DispatchingModuleInterface ()
 
virtual ~DispatchingModuleInterface ()
 
void Enable ()
 
void Disable ()
 
bool IsEnabled () const
 
virtual void RestartTimer (DS_Event &event)
 
 DispatchingModuleInterface ()
 
virtual ~DispatchingModuleInterface ()
 
void Enable ()
 
void Disable ()
 
bool IsEnabled () const
 
virtual void RestartTimer (DS_Event &event)
 

Constructor & Destructor Documentation

DS_Delays::DS_Delays ( )
DS_Delays::~DS_Delays ( )
virtual

Member Function Documentation

ds_string DS_Delays::GetName ( )
virtual

Pure virtual method returns name of plugin. This method is implemented in ancestor.

Note
value is valid after Init function is called.
Returns
name of plugin

Implements DispatchingModuleInterface.

ds_string DS_Delays::GetVersion ( )
virtual

Pure virtual method returns version of plugin in form to be sent. This method is implemented in ancestor.

Note
value is valid after Init function is called.
Returns
version of plugin

Implements DispatchingModuleInterface.

bool DS_Delays::Init ( DispatchingModuleManager manager)
virtual

Pure virtual method reads configuration file and initializes plugin.

Returns
true when configuration has been successfully loaded, false otherwise

Implements DispatchingModuleInterface.

Here is the call graph for this function:

bool DS_Delays::PostSendString ( DS_Event event,
ds_string sendString,
ds_StringList sendStringList,
bool &  forceImmediateSending 
)
virtual

Pure virtual method allows to append some data to sendString which was prepared/modified by plugin in SendString method. This method is implemented in ancestor.

Parameters
eventoccurent event to be handled
sendStringmodified string by plugin
forceImmediateSendingplugin can set this to true to ensure immediate sending message to dispatching
Returns
true when all went OK, false otherwise.

Implements DispatchingModuleInterface.

bool DS_Delays::SendString ( DS_Event event,
ds_string sendString,
bool &  forceImmediateSending 
)
virtual

Pure virtual method handles sending request. String is prepared (modified) by plugin depending on occured event and it's configuration. This method is implemented in ancestor.

Parameters
eventoccurent event to be handled
sendStringmodified string by plugin
forceImmediateSendingplugin can set this to true to ensure immediate sending message to dispatching
Returns
true when all went OK, false otherwise.

Implements DispatchingModuleInterface.

Here is the call graph for this function:


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