Monado OpenXR Runtime
ipcproto.common.Proto Class Reference

Public Member Functions

def parse (cls, data)
 
def load_and_parse (cls, file)
 
def dump (self)
 
def __init__ (self, data)
 

Data Fields

 calls
 

Detailed Description

An IPC protocol containing one or more calls.

Constructor & Destructor Documentation

◆ __init__()

def ipcproto.common.Proto.__init__ (   self,
  data 
)
Construct a protocol from a dictionary of calls.

References ipcproto.common.Proto.calls.

Member Function Documentation

◆ dump()

def ipcproto.common.Proto.dump (   self)
Dump human-readable output to standard out.

References ipcproto.common.Proto.calls.

◆ load_and_parse()

def ipcproto.common.Proto.load_and_parse (   cls,
  file 
)
Load a JSON file and parse it into Call objects.

References ipcproto.common.Proto.parse(), and bindings.Bindings.parse().

◆ parse()

def ipcproto.common.Proto.parse (   cls,
  data 
)
Parse a dictionary defining a protocol into Call objects.

Referenced by bindings.Bindings.load_and_parse(), and ipcproto.common.Proto.load_and_parse().


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