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

#include <ds_monitoring.h>

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

Public Slots

void OnTimeOutMonitoringDevice ()
 
void OnTimeOutMonitoringOnboardComputer ()
 

Public Member Functions

 DS_Monitoring ()
 
virtual ~DS_Monitoring ()
 
virtual bool OnReceive (const EM::EComm::IDescriptor *descriptor, const EM::EComm::ECommandFrame *receivedCommand, EM::EComm::ECommandFrame *responseToSend)
 
virtual bool OnDisconnect (const EM::EComm::IDescriptor *descriptor)
 
virtual bool OnConnect (const EM::EComm::IDescriptor *descriptor)
 
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_Monitoring::DS_Monitoring ( )

Here is the call graph for this function:

DS_Monitoring::~DS_Monitoring ( )
virtual

Member Function Documentation

ds_string DS_Monitoring::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_Monitoring::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_Monitoring::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_Monitoring::OnConnect ( const EM::EComm::IDescriptor *  descriptor)
virtual
bool DS_Monitoring::OnDisconnect ( const EM::EComm::IDescriptor *  descriptor)
virtual
bool DS_Monitoring::OnReceive ( const EM::EComm::IDescriptor *  descriptor,
const EM::EComm::ECommandFrame *  receivedCommand,
EM::EComm::ECommandFrame *  responseToSend 
)
virtual
void DS_Monitoring::OnTimeOutMonitoringDevice ( )
slot

Here is the call graph for this function:

Here is the caller graph for this function:

void DS_Monitoring::OnTimeOutMonitoringOnboardComputer ( )
slot

Here is the call graph for this function:

Here is the caller graph for this function:

bool DS_Monitoring::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.

Here is the call graph for this function:

bool DS_Monitoring::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: