opendnp3  3.1.0
Reference implementation of DNP3 (IEEE-1815)
opendnp3::SuccessCommandHandler Class Reference

A singleton command handler that always returns success. More...

#include <opendnp3/outstation/SimpleCommandHandler.h>

Public Member Functions

 SuccessCommandHandler ()
 
- Public Member Functions inherited from opendnp3::SimpleCommandHandler
 SimpleCommandHandler (CommandStatus status)
 
virtual void Begin () override
 called when a command APDU begins processing More...
 
virtual void End () override
 called when a command APDU ends processing More...
 
CommandStatus Operate (const AnalogOutputDouble64 &command, uint16_t index, IUpdateHandler &handler, OperateType opType) override
 Operate a double precision, floating point analog output - group 41 variation 4. More...
 
CommandStatus Operate (const AnalogOutputFloat32 &command, uint16_t index, IUpdateHandler &handler, OperateType opType) override
 Operate a single precision, floating point analog output - group 41 variation 3. More...
 
CommandStatus Operate (const AnalogOutputInt16 &command, uint16_t index, IUpdateHandler &handler, OperateType opType) override
 Ask if the application supports a 16 bit analog output - group 41 variation 2. More...
 
CommandStatus Operate (const AnalogOutputInt32 &command, uint16_t index, IUpdateHandler &handler, OperateType opType) override
 Operate a 32 bit analog output - group 41 variation 1. More...
 
CommandStatus Operate (const ControlRelayOutputBlock &command, uint16_t index, IUpdateHandler &handler, OperateType opType) override
 Operate a ControlRelayOutputBlock - group 12 variation 1. More...
 
CommandStatus Select (const AnalogOutputDouble64 &command, uint16_t index) override
 Ask if the application supports a double precision, floating point analog output - group 41 variation 4. More...
 
CommandStatus Select (const AnalogOutputFloat32 &command, uint16_t index) override
 Ask if the application supports a single precision, floating point analog output - group 41 variation 3. More...
 
CommandStatus Select (const AnalogOutputInt16 &command, uint16_t index) override
 Ask if the application supports a 16 bit analog output - group 41 variation 2. More...
 
CommandStatus Select (const AnalogOutputInt32 &command, uint16_t index) override
 Ask if the application supports a 32 bit analog output - group 41 variation 1. More...
 
CommandStatus Select (const ControlRelayOutputBlock &command, uint16_t index) override
 Ask if the application supports a ControlRelayOutputBlock - group 12 variation 1. More...
 
- Public Member Functions inherited from opendnp3::ICommandHandler
virtual ~ICommandHandler ()=default
 

Static Public Member Functions

static std::shared_ptr< ICommandHandlerCreate ()
 

Additional Inherited Members

- Public Attributes inherited from opendnp3::SimpleCommandHandler
uint32_t numEnd
 
uint32_t numOperate
 
uint32_t numSelect
 
uint32_t numStart
 
- Protected Member Functions inherited from opendnp3::SimpleCommandHandler
virtual void DoOperate (const AnalogOutputDouble64 &command, uint16_t index, OperateType opType)
 
virtual void DoOperate (const AnalogOutputFloat32 &command, uint16_t index, OperateType opType)
 
virtual void DoOperate (const AnalogOutputInt16 &command, uint16_t index, OperateType opType)
 
virtual void DoOperate (const AnalogOutputInt32 &command, uint16_t index, OperateType opType)
 
virtual void DoOperate (const ControlRelayOutputBlock &command, uint16_t index, OperateType opType)
 
virtual void DoSelect (const AnalogOutputDouble64 &command, uint16_t index)
 
virtual void DoSelect (const AnalogOutputFloat32 &command, uint16_t index)
 
virtual void DoSelect (const AnalogOutputInt16 &command, uint16_t index)
 
virtual void DoSelect (const AnalogOutputInt32 &command, uint16_t index)
 
virtual void DoSelect (const ControlRelayOutputBlock &command, uint16_t index)
 
- Protected Attributes inherited from opendnp3::SimpleCommandHandler
CommandStatus status
 

Detailed Description

A singleton command handler that always returns success.

Definition at line 102 of file SimpleCommandHandler.h.

Constructor & Destructor Documentation

◆ SuccessCommandHandler()

opendnp3::SuccessCommandHandler::SuccessCommandHandler ( )
inline

Definition at line 110 of file SimpleCommandHandler.h.

Member Function Documentation

◆ Create()

static std::shared_ptr<ICommandHandler> opendnp3::SuccessCommandHandler::Create ( )
inlinestatic

Definition at line 105 of file SimpleCommandHandler.h.


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