Proactive Safety Framework  1.0
SmartDoorCtrlAlgo.h File Reference
#include "NvPSD.h"
#include <string>

Go to the source code of this file.

Functions

int launchSmartDoorControlAlgo (std::string plcIP, unsigned int plcPort)
 
NvPSDErr onEventNotificationReceive (const DecisionRequest *request, DecisionResponse *response)
 
NvPSDErr onSmartDoorPSDStop ()
 
std::pair< std::string, uint64_t > getCurrentTimeForPacket ()
 
void sendDoorCommand (unsigned char command, bool trackAck)
 
void ackReceiverLoop ()
 
void ackTimeoutMonitor ()
 

Function Documentation

◆ ackReceiverLoop()

void ackReceiverLoop ( )

◆ ackTimeoutMonitor()

void ackTimeoutMonitor ( )

◆ getCurrentTimeForPacket()

std::pair<std::string, uint64_t> getCurrentTimeForPacket ( )

◆ launchSmartDoorControlAlgo()

int launchSmartDoorControlAlgo ( std::string  plcIP,
unsigned int  plcPort 
)

◆ onEventNotificationReceive()

NvPSDErr onEventNotificationReceive ( const DecisionRequest request,
DecisionResponse response 
)

◆ onSmartDoorPSDStop()

NvPSDErr onSmartDoorPSDStop ( )

◆ sendDoorCommand()

void sendDoorCommand ( unsigned char  command,
bool  trackAck 
)