Public Member Functions | Private Member Functions | Private Attributes | List of all members
ClpeClientApi Class Reference

#include <ClpeClientApi.h>

Inheritance diagram for ClpeClientApi:
Inheritance graph
[legend]

Public Member Functions

int Clpe_CheckNetwork ()
 
int Clpe_CheckPci ()
 
int Clpe_CheckPing ()
 
int Clpe_CheckTimeSyncStatus ()
 
int Clpe_Connection ()
 
int Clpe_Connection (string password)
 
int Clpe_GetCamStatus (int *status)
 
int Clpe_GetFrameAllCam (int *p_camera_id, unsigned char **p_buffer, unsigned int *p_size, struct timeval *pt_camera_timeStamp)
 
int Clpe_GetFrameOneCam (int camera_id, unsigned char **p_buffer, unsigned int *p_size, struct timeval *pt_camera_timeStamp)
 
int Clpe_GetMicomVersion (unsigned char *version_master)
 
int Clpe_GetSDKVersion (unsigned char *version)
 
int Clpe_GetXavierVersion (unsigned char *version_master)
 
int Clpe_ReqResyncTime ()
 
int Clpe_SetXavierPowerOff ()
 
int Clpe_StartStream (T_CB_APP cb_app, int use_cam_0, int use_cam_1, int use_cam_2, int use_cam_3, int display_on)
 
int Clpe_StopStream ()
 
 ClpeClientApi ()
 
virtual ~ClpeClientApi ()
 

Private Member Functions

int Clpe_CheckConnect (string password, int settingValue)
 
bool Clpe_Recv (unsigned char *s, int mcu_id)
 
bool Clpe_Send (unsigned char *s, int mcu_id)
 
int Clpe_StartCam (char use_cam_0, char use_cam_1, char use_cam_2, char use_cam_3, int mcu_id)
 
int Clpe_StopCam ()
 
int Clpe_TimeSync ()
 
- Private Member Functions inherited from ClpeSocket
bool accept (ClpeSocket *new_socket, int mcu_id) const
 
bool bind (const char *host, const int port, int mcu_id)
 
void close (int mcu_id)
 
 ClpeSocket ()
 
bool connect (const string host, const int port, int mcu_id)
 
bool create (int mcu_id)
 
bool is_valid_master () const
 
bool is_valid_slave () const
 
bool listen (int mcu_id) const
 
bool recv (unsigned char *s, int mcu_id) const
 
bool send (unsigned char *s, int mcu_id) const
 
void set_non_blocking (const bool, int mcu_id)
 
virtual ~ClpeSocket ()
 

Private Attributes

int m_isAttachedSlave
 

Detailed Description

Definition at line 44 of file ClpeClientApi.h.

Constructor & Destructor Documentation

◆ ClpeClientApi()

ClpeClientApi::ClpeClientApi ( )

Definition at line 15 of file ClpeClientApi.cpp.

◆ ~ClpeClientApi()

ClpeClientApi::~ClpeClientApi ( )
virtual

Definition at line 23 of file ClpeClientApi.cpp.

Member Function Documentation

◆ Clpe_CheckConnect()

int ClpeClientApi::Clpe_CheckConnect ( string  password,
int  settingValue 
)
private

ethernet device disconnect

ethernet device connect

ethernet device set

ping

Definition at line 68 of file ClpeClientApi.cpp.

◆ Clpe_CheckNetwork()

int ClpeClientApi::Clpe_CheckNetwork ( )

Definition at line 738 of file ClpeClientApi.cpp.

◆ Clpe_CheckPci()

int ClpeClientApi::Clpe_CheckPci ( )

Definition at line 720 of file ClpeClientApi.cpp.

◆ Clpe_CheckPing()

int ClpeClientApi::Clpe_CheckPing ( )

Definition at line 764 of file ClpeClientApi.cpp.

◆ Clpe_CheckTimeSyncStatus()

int ClpeClientApi::Clpe_CheckTimeSyncStatus ( )

Definition at line 570 of file ClpeClientApi.cpp.

◆ Clpe_Connection() [1/2]

int ClpeClientApi::Clpe_Connection ( )

tegra_vnet module probe

  • Check the connection for master *‍/

ping

socket connect

socket connect

‍** network memory setting **‍/

Definition at line 376 of file ClpeClientApi.cpp.

◆ Clpe_Connection() [2/2]

int ClpeClientApi::Clpe_Connection ( string  password)

tegra_vnet module probe

socket connect

socket connect

network memory setting

Definition at line 229 of file ClpeClientApi.cpp.

◆ Clpe_GetCamStatus()

int ClpeClientApi::Clpe_GetCamStatus ( int *  status)

Definition at line 1328 of file ClpeClientApi.cpp.

◆ Clpe_GetFrameAllCam()

int ClpeClientApi::Clpe_GetFrameAllCam ( int *  p_camera_id,
unsigned char **  p_buffer,
unsigned int *  p_size,
struct timeval *  pt_camera_timeStamp 
)

Definition at line 1589 of file ClpeClientApi.cpp.

◆ Clpe_GetFrameOneCam()

int ClpeClientApi::Clpe_GetFrameOneCam ( int  camera_id,
unsigned char **  p_buffer,
unsigned int *  p_size,
struct timeval *  pt_camera_timeStamp 
)

Definition at line 1616 of file ClpeClientApi.cpp.

◆ Clpe_GetMicomVersion()

int ClpeClientApi::Clpe_GetMicomVersion ( unsigned char *  version_master)

Definition at line 1097 of file ClpeClientApi.cpp.

◆ Clpe_GetSDKVersion()

int ClpeClientApi::Clpe_GetSDKVersion ( unsigned char *  version)

Definition at line 1315 of file ClpeClientApi.cpp.

◆ Clpe_GetXavierVersion()

int ClpeClientApi::Clpe_GetXavierVersion ( unsigned char *  version_master)

Definition at line 1206 of file ClpeClientApi.cpp.

◆ Clpe_Recv()

bool ClpeClientApi::Clpe_Recv ( unsigned char *  s,
int  mcu_id 
)
private

Definition at line 52 of file ClpeClientApi.cpp.

◆ Clpe_ReqResyncTime()

int ClpeClientApi::Clpe_ReqResyncTime ( )

Definition at line 613 of file ClpeClientApi.cpp.

◆ Clpe_Send()

bool ClpeClientApi::Clpe_Send ( unsigned char *  s,
int  mcu_id 
)
private

Definition at line 36 of file ClpeClientApi.cpp.

◆ Clpe_SetXavierPowerOff()

int ClpeClientApi::Clpe_SetXavierPowerOff ( )

Definition at line 1425 of file ClpeClientApi.cpp.

◆ Clpe_StartCam()

int ClpeClientApi::Clpe_StartCam ( char  use_cam_0,
char  use_cam_1,
char  use_cam_2,
char  use_cam_3,
int  mcu_id 
)
private

Definition at line 898 of file ClpeClientApi.cpp.

◆ Clpe_StartStream()

int ClpeClientApi::Clpe_StartStream ( T_CB_APP  cb_app,
int  use_cam_0,
int  use_cam_1,
int  use_cam_2,
int  use_cam_3,
int  display_on 
)

Definition at line 1518 of file ClpeClientApi.cpp.

◆ Clpe_StopCam()

int ClpeClientApi::Clpe_StopCam ( )
private

Definition at line 990 of file ClpeClientApi.cpp.

◆ Clpe_StopStream()

int ClpeClientApi::Clpe_StopStream ( )

Definition at line 1566 of file ClpeClientApi.cpp.

◆ Clpe_TimeSync()

int ClpeClientApi::Clpe_TimeSync ( )
private

Definition at line 791 of file ClpeClientApi.cpp.

Member Data Documentation

◆ m_isAttachedSlave

int ClpeClientApi::m_isAttachedSlave
private

Definition at line 80 of file ClpeClientApi.h.


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


clpe_sdk
Author(s): Can-lab Corporation
autogenerated on Wed Oct 12 2022 02:17:28