SOUND4 IMPACT.CL Library [1.0.2]
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
sound4::impact::CClient Class Reference

#include <sound4.impact.cl.hpp>

Public Member Functions

 ~CClient ()
 
std::string ProcessJson (const std::string &request, bool *NeedSave=NULL)
 Process a JSON request and returns the answer. More...
 

Protected Member Functions

 CClient (impact_CInstance *instance)
 
 CClient (const CInstance &)=delete
 
CClient & operator= (const CInstance &)=delete
 

Protected Attributes

friend CInstance
 

Detailed Description

Low-level JSON client.

see JSON syntax

Definition at line 129 of file sound4.impact.cl.hpp.

Constructor & Destructor Documentation

◆ CClient() [1/2]

sound4::impact::CClient::CClient ( impact_CInstance *  instance)
inlineprotected

Definition at line 132 of file sound4.impact.cl.hpp.

◆ CClient() [2/2]

sound4::impact::CClient::CClient ( const CInstance &  )
protecteddelete

◆ ~CClient()

sound4::impact::CClient::~CClient ( )
inline

Definition at line 140 of file sound4.impact.cl.hpp.

Member Function Documentation

◆ operator=()

CClient& sound4::impact::CClient::operator= ( const CInstance &  )
protecteddelete

◆ ProcessJson()

std::string sound4::impact::CClient::ProcessJson ( const std::string &  request,
bool *  NeedSave = NULL 
)
inline
Parameters
requestthe JSON request.
See also
JSON syntax
Parameters
NeedSaveif non null, returns if the saving is required (maybe delayed)
Returns
std::string the JSON answer

Definition at line 152 of file sound4.impact.cl.hpp.

Member Data Documentation

◆ CInstance

friend sound4::impact::CClient::CInstance
protected

Definition at line 131 of file sound4.impact.cl.hpp.


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