Apollo  6.0
Open source self driving car software
Public Member Functions | List of all members
apollo::cyber::PyService Class Reference

#include <py_cyber.h>

Collaboration diagram for apollo::cyber::PyService:
Collaboration graph

Public Member Functions

 PyService (const std::string &service_name, const std::string &data_type, Node *node)
 
void register_func (int(*func)(const char *))
 
std::string read ()
 
int write (const std::string &data)
 

Constructor & Destructor Documentation

◆ PyService()

apollo::cyber::PyService::PyService ( const std::string &  service_name,
const std::string &  data_type,
Node node 
)
inline

Member Function Documentation

◆ read()

std::string apollo::cyber::PyService::read ( )
inline

◆ register_func()

void apollo::cyber::PyService::register_func ( int(*)(const char *)  func)
inline

◆ write()

int apollo::cyber::PyService::write ( const std::string &  data)
inline

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