cross-platform-generator
Public Member Functions | Private Member Functions | Private Attributes
cpg.utils.Perforce Class Reference
Inheritance diagram for cpg.utils.Perforce:
cpg.utils.IScm

Public Member Functions

void RedirectOutput (Action< string, int > callback)
 Redirects the standard output to a custom callback. More...
 

Private Member Functions

void OnOutputDataRecieved (object sender, DataReceivedEventArgs e)
 calls the callback passed with the RedirectOutput function. More...
 

Private Attributes

Action< string, int > output_callback_
 Callback used to replace the standard output stream.
 

Member Function Documentation

◆ OnOutputDataRecieved()

void cpg.utils.Perforce.OnOutputDataRecieved ( object  sender,
DataReceivedEventArgs  e 
)
inlineprivate

calls the callback passed with the RedirectOutput function.

Parameters
[in]sender(object) The sender of the event.
[in]e(DataReceivedEventArgs) The parameters containing data of the event.
See also
CMake.RedirectOutput

◆ RedirectOutput()

void cpg.utils.Perforce.RedirectOutput ( Action< string, int >  callback)
inline

Redirects the standard output to a custom callback.

Parameters
[in]callback(Action<string>) Callback used to process the output.

Implements cpg.utils.IScm.


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