mirror of
https://github.com/bulletphysics/bullet3
synced 2024-12-14 13:50:04 +00:00
ab8f16961e
Apply clang-format-all.sh using the _clang-format file through all the cpp/.h files. make sure not to apply it to certain serialization structures, since some parser expects the * as part of the name, instead of type. This commit contains no other changes aside from adding and applying clang-format-all.sh
21 lines
867 B
C++
21 lines
867 B
C++
|
|
#ifndef BT_CONVERT_GRPC_BULLET_H
|
|
#define BT_CONVERT_GRPC_BULLET_H
|
|
|
|
#include "../PhysicsClientC_API.h"
|
|
|
|
namespace pybullet_grpc
|
|
{
|
|
class PyBulletCommand;
|
|
class PyBulletStatus;
|
|
}; // namespace pybullet_grpc
|
|
|
|
struct SharedMemoryCommand* convertGRPCToBulletCommand(const pybullet_grpc::PyBulletCommand& grpcCommand, struct SharedMemoryCommand& cmd);
|
|
|
|
pybullet_grpc::PyBulletCommand* convertBulletToGRPCCommand(const struct SharedMemoryCommand& clientCmd, pybullet_grpc::PyBulletCommand& grpcCommand);
|
|
|
|
bool convertGRPCToStatus(const pybullet_grpc::PyBulletStatus& grpcReply, struct SharedMemoryStatus& serverStatus, char* bufferServerToClient, int bufferSizeInBytes);
|
|
|
|
bool convertStatusToGRPC(const struct SharedMemoryStatus& serverStatus, char* bufferServerToClient, int bufferSizeInBytes, pybullet_grpc::PyBulletStatus& grpcReply);
|
|
|
|
#endif //BT_CONVERT_GRPC_BULLET_H
|