ocpp 0.24.1
A C++ implementation of the Open Charge Point Protocol
Public Member Functions | Public Attributes | Friends | List of all members
ocpp::Call< T > Struct Template Reference

Contains a OCPP Call message. More...

#include <call_types.hpp>

Public Member Functions

 Call ()
 Creates a new Call message object.
 
 Call (T msg)
 Creates a new Call message object with the given OCPP message msg.
 
 Call (T msg, MessageId uniqueId)
 Creates a new Call message object with the given OCPP message msg and uniqueId.
 

Public Attributes

msg
 
MessageId uniqueId
 

Friends

void to_json (json &j, const Call &c)
 Conversion from a given Call message c to a given json object j.
 
void from_json (const json &j, Call &c)
 Conversion from a given json object j to a given Call message c.
 
std::ostream & operator<< (std::ostream &os, const Call &c)
 Writes the given case Call c to the given output stream os. More...
 

Detailed Description

template<class T>
struct ocpp::Call< T >

Contains a OCPP Call message.

Friends And Related Function Documentation

◆ operator<<

template<class T >
std::ostream & operator<< ( std::ostream &  os,
const Call< T > &  c 
)
friend

Writes the given case Call c to the given output stream os.

Returns
an output stream with the Call written to

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