Skip to content

Commit

Permalink
update output structure interface in the decryptor class
Browse files Browse the repository at this point in the history
  • Loading branch information
sveseli committed Nov 3, 2022
1 parent 56355ae commit c17faa9
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions pvapy/hpc/adImageDataDecryptor.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,17 @@ def process(self, pvObject):
'''
return DataDecryptor.process(self, pva.NtNdArray(pvObject))

def getOutputPvObjectType(self):
def getOutputPvObjectType(self, pvObject):
'''
Method invoked at processing startup. It defines PVA structure of
the output (processed) PvObject.
:Returns: NtNdArray object
Method invoked at processing startup that defines PVA structure for
the output (processed) PvObject. This method is called immediately after
receiving the first input channel update.
There is no need to override this method if the structure of input and
output objects are the same, or if the application will not publish
processing output.
:Parameter: *pvObject* (PvObject) - input channel object
:Returns: PvObject with the same structure as generated by the process() method
'''
return pva.NtNdArray()

0 comments on commit c17faa9

Please sign in to comment.