mswSTD_COMMANDS
Section: Devices and Network Interfaces (4)
Updated: 2012-04-23 10:09
Index
Return to man pages list
NAME
mswSTD_COMMANDS - Class to handle standard commands in the mswControl
process.
SYNOPSIS
#include "mswSTD_COMMANDS.h"
class mswSTD_COMMANDS : public evhSTD_COMMANDS
{
public:
mswSTD_COMMANDS();
mswSTD_COMMANDS(const dbSYMADDRESS dbPoint);
virtual evhCB_COMPL_STAT StatusCB(msgMESSAGE &msg, void *udata);
virtual evhCB_COMPL_STAT OffCB(msgMESSAGE &msg, void *udata);
virtual evhCB_COMPL_STAT StandByCB(msgMESSAGE &msg, void *udata);
virtual evhCB_COMPL_STAT OnlineCB(msgMESSAGE &msg, void *udata);
protected:
ccsCOMPL_STAT IllegalCommand(msgMESSAGE &msg);
}
PARENT CLASS
evhSTD_COMMANDS
DESCRIPTION
This class overloads the default behaviour for some standard commands
implemented by the base class evhSTD_COMMANDS, in order to meet
the specific requirements of the mswControl process
PUBLIC METHODS
mswSTD_COMMANDS();
mswSTD_COMMANDS(const dbSYMADDRESS dbPoint);
Class constructor. It initializes the state name table, to convert
numeric codes into strings.
Two constructors are provided.
The second one receives as parameter the symbolic address of
online database support point for the object, i.e. the point
where the object can find configuration and run time values.
The first one defines the online database support point calling
the standard tcsDbRoot(4) function and appenting the
default relative path from the TCS database root point,
assuming a complete default TCS database structure.
virtual evhCB_COMPL_STAT StatusCB(msgMESSAGE &msg, void *udata);
Overrides the parent's method. Returns the state and substate
to the sender of the command STATUS.
virtual evhCB_COMPL_STAT OffCB(msgMESSAGE &msg, void *udata);
Overrides the parent's method. Returns an "illegal command" warning
to the sender of the command OFF.
virtual evhCB_COMPL_STAT StandByCB(msgMESSAGE &msg, void *udata);
Overrides the parent's method. Returns an "illegal command" warning
to the sender of the command STANDBY.
virtual evhCB_COMPL_STAT OnlineCB(msgMESSAGE &msg, void *udata);
Overrides the parent's method. Returns an "illegal command" warning
to the sender of the command ONLINE.
PROTECTED METHODS
ccsCOMPL_STAT IllegalCommand(msgMESSAGE &msg);
Common code to send "illegal command" warning.
Index
- NAME
-
- SYNOPSIS
-
- PARENT CLASS
-
- DESCRIPTION
-
- PUBLIC METHODS
-
- PROTECTED METHODS
-
This document was created by
man2html,
using the manual pages.
Time: 10:09:27 GMT, April 23, 2012